2
0

chore(e2e): 👷 Fix e2e pipeline

This commit is contained in:
Baptiste Arnaud
2022-01-28 17:57:14 +01:00
parent 65209c2638
commit 02bd2b94ba
20 changed files with 967 additions and 911 deletions

View File

@ -16,7 +16,10 @@ test.describe('Condition step', () => {
await page.goto(`/typebots/${typebotId}/edit`)
await page.click('text=Configure...')
await page.fill('input[placeholder="Search for a variable"]', 'Age')
await page.fill(
'input[placeholder="Search for a variable"] >> nth=-1',
'Age'
)
await page.click('button:has-text("Age")')
await page.click('button:has-text("Select an operator")')
await page.click('button:has-text("Greater than")', { force: true })
@ -37,7 +40,10 @@ test.describe('Condition step', () => {
)
await page.click('text=Configure...')
await page.fill('input[placeholder="Search for a variable"]', 'Age')
await page.fill(
'input[placeholder="Search for a variable"] >> nth=-1',
'Age'
)
await page.click('button:has-text("Age")')
await page.click('button:has-text("Select an operator")')
await page.click('button:has-text("Greater than")', { force: true })