Skip to content

Commit

Permalink
Fix Gravity Forms e2e test
Browse files Browse the repository at this point in the history
Sometimes there are label conflicts for the update button
  • Loading branch information
mleray committed Jan 28, 2025
1 parent e84c632 commit 2240e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/tools/lib/gravity-forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const toggleRestAPI = async ({page}, enabled) => {
} else {
await expect(authSettings).toBeHidden();
}
await page.getByRole('button', {name: 'Update'}).click();
await page.getByRole('button', {name: 'Update', exact: true}).click();
await expect(page.locator('.gforms_note_success')).toBeVisible();
};

Expand Down

0 comments on commit 2240e9c

Please sign in to comment.