src: Update remaining v5 version slugs

This commit is contained in:
regexowl 2025-05-19 13:56:53 +02:00 committed by Lucas Garfield
parent 4312cca4dd
commit 2080425753
9 changed files with 20 additions and 21 deletions

View file

@ -21,7 +21,7 @@ export const isHosted = (): boolean => {
export const closePopupsIfExist = async (page: Page) => {
const locatorsToCheck = [
page.locator('.pf-v5-c-alert.notification-item button'), // This closes all toast pop-ups
page.locator('.pf-v6-c-alert.notification-item button'), // This closes all toast pop-ups
page.locator(`button[id^="pendo-close-guide-"]`), // This closes the pendo guide pop-up
page.locator(`button[id="truste-consent-button"]`), // This closes the trusted consent pop-up
page.getByLabel('close-notification'), // This closes a one off info notification (May be covered by the toast above, needs recheck.)