2
0

fix(docker): 🐛 Runtime public environment

This commit is contained in:
Baptiste Arnaud
2022-06-22 07:36:11 +02:00
parent 3e47b37c2e
commit f801a29539
55 changed files with 358 additions and 167 deletions

View File

@ -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')