fix(docker): 🐛 Runtime public environment
This commit is contained in:
@ -8,6 +8,7 @@ import path from 'path'
|
||||
import {
|
||||
createResults,
|
||||
createTypebots,
|
||||
freeWorkspaceId,
|
||||
importTypebotInDatabase,
|
||||
parseDefaultGroupWithBlock,
|
||||
} from '../services/database'
|
||||
@ -123,7 +124,7 @@ test.describe('Results page', () => {
|
||||
test("Incomplete results shouldn't be displayed", async ({ page }) => {
|
||||
await prisma.typebot.update({
|
||||
where: { id: typebotId },
|
||||
data: { workspaceId: 'free' },
|
||||
data: { workspaceId: freeWorkspaceId },
|
||||
})
|
||||
await page.goto(`/typebots/${typebotId}/results`)
|
||||
await page.click('text=Unlock')
|
||||
|
@ -2,7 +2,7 @@ import test, { expect } from '@playwright/test'
|
||||
import cuid from 'cuid'
|
||||
import { defaultTextInputOptions } from 'models'
|
||||
import path from 'path'
|
||||
import { importTypebotInDatabase } from '../services/database'
|
||||
import { freeWorkspaceId, importTypebotInDatabase } from '../services/database'
|
||||
import { typebotViewer } from '../services/selectorUtils'
|
||||
|
||||
test.describe.parallel('Settings page', () => {
|
||||
@ -127,7 +127,7 @@ test.describe.parallel('Settings page', () => {
|
||||
path.join(__dirname, '../fixtures/typebots/settings.json'),
|
||||
{
|
||||
id: typebotId,
|
||||
workspaceId: 'free',
|
||||
workspaceId: freeWorkspaceId,
|
||||
}
|
||||
)
|
||||
await page.goto(`/typebots/${typebotId}/settings`)
|
||||
|
Reference in New Issue
Block a user