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,7 +1,7 @@
import test, { expect } from '@playwright/test'
import cuid from 'cuid'
import { defaultTextInputOptions, InputBlockType } from 'models'
import { connectedAsOtherUser } from 'playwright/services/browser'
import { mockSessionResponsesToOtherUser } from 'playwright/services/browser'
import {
createTypebots,
parseDefaultGroupWithBlock,
@ -129,7 +129,7 @@ test('can manage members', async ({ page }) => {
await page.click('button >> text="Remove"')
await expect(page.locator('text="guest@email.com"')).toBeHidden()
await connectedAsOtherUser(page)
await mockSessionResponsesToOtherUser(page)
await page.goto('/typebots')
await page.click('text=Settings & Members')
await expect(page.locator('text="Settings"')).toBeHidden()