2
0

feat(settings): Add create result on page refresh option

This commit is contained in:
Baptiste Arnaud
2022-03-07 18:21:01 +01:00
parent e3e07ddd4d
commit 260819f124
5 changed files with 91 additions and 2 deletions

View File

@ -23,6 +23,10 @@ test.describe.parallel('Settings page', () => {
await expect(
typebotViewer(page).locator('a:has-text("Made with Typebot")')
).toBeHidden()
await page.click('text=Create new session on page refresh')
await expect(
page.locator('input[type="checkbox"] >> nth=-1')
).toHaveAttribute('checked', '')
})
})