Skip to content

Commit

Permalink
fix(SLB-304): pick specific form in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pmelab committed Apr 16, 2024
1 parent cb28136 commit f87f954
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/e2e/specs/drupal/webforms.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ test('Webforms work', async ({ page }) => {
// Webform can be submitted.
await page
.frameLocator('.silverback-iframe iframe')
.last()
.getByRole('button', { name: 'Send message' })
.click();

Expand All @@ -29,6 +30,7 @@ test('Webforms work', async ({ page }) => {
await page.goto(websiteUrl('/de/blocks-complete'));
await page
.frameLocator('.silverback-iframe iframe')
.last()
.getByRole('button', { name: 'Send message' })
.click();
// TODO: Find out why it does not work.
Expand Down

0 comments on commit f87f954

Please sign in to comment.