2
0

🐛 (limits) Fix storage limit trigger and e2e tests

This commit is contained in:
Baptiste Arnaud
2022-09-24 08:58:23 +02:00
committed by Baptiste Arnaud
parent 1e26703ad4
commit 30dff2d5d7
52 changed files with 1024 additions and 2205 deletions

View File

@ -1,8 +1,8 @@
import test, { expect } from '@playwright/test'
import {
createResults,
freeWorkspaceId,
importTypebotInDatabase,
limitTestWorkspaceId,
} from '../services/database'
import cuid from 'cuid'
import path from 'path'
@ -14,7 +14,7 @@ test('should not start if chat limit is reached', async ({ page }) => {
{
id: typebotId,
publicId: `${typebotId}-public`,
workspaceId: freeWorkspaceId,
workspaceId: limitTestWorkspaceId,
}
)
await createResults({ typebotId, count: 320 })