2
0

feat(engine): ️ Smarter website input

This commit is contained in:
Baptiste Arnaud
2022-02-28 11:04:30 +01:00
parent 8552cc237b
commit c5b378dfad
5 changed files with 21 additions and 19 deletions

View File

@ -71,8 +71,6 @@ test.describe.parallel('Editor', () => {
await expect(page.locator('[data-testid="step"] >> nth=2')).toHaveText(
'Hello!'
)
await page.dragAndDrop('text=Hello', '[data-testid="step"] >> text=Start')
await expect(page.locator('text=Block #4')).toBeVisible()
await page.dragAndDrop('text=Hello', 'text=Block #2')
await expect(page.locator('[data-testid="step"] >> nth=3')).toHaveText(
'Hello!'

View File

@ -42,7 +42,7 @@ test.describe('Url input step', () => {
await page.click('text=Restart')
await typebotViewer(page)
.locator(`input[placeholder="Your URL..."]`)
.fill('gg://test.com')
.fill('https://https://test')
await typebotViewer(page).locator('button >> text="Go"').click()
await expect(
typebotViewer(page).locator('text=Try again bro')