Skip to content

Commit 5e2dd53

Browse files
Merge pull request #1323 from Codeinwp/copilot/fix-playwright-e2e-tests
Stabilize flaky Playwright filter submission in Visualizer library list view
2 parents 7442013 + 6e661b6 commit 5e2dd53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/e2e/specs/library-view.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ test.describe( 'Library View Toggle', () => {
137137
await waitForLibraryToLoad( page );
138138

139139
// Submit the filter form — the hidden view input should carry list view through.
140-
await page.getByRole( 'button', { name: 'Apply Filters' } ).click();
140+
await page.getByRole( 'button', { name: 'Apply Filters' } ).click( { force: true } );
141141
await waitForLibraryToLoad( page );
142142

143143
await expect( page.locator( '#visualizer-library.view-list' ) ).toBeVisible();

0 commit comments

Comments
 (0)