Skip to content

Commit

Permalink
Fix selector for purge cache link
Browse files Browse the repository at this point in the history
  • Loading branch information
pavanpatil1 authored Apr 16, 2024
1 parent 80c589d commit 1463620
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e-playwright/specs/03_purge-backendcache-test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

await page.waitForTimeout(1000);

await page.click('role=link[name="Purge Cache"i]');
await page.click("a[title='Purge Cache']");

await page.waitForTimeout(2000);

expect( page.locator( "div[class='updated'] p" )).toHaveText( 'Purge initiated' );
});
});


0 comments on commit 1463620

Please sign in to comment.