diff --git a/CHANGELOG.md b/CHANGELOG.md index 43af9eeb..10a345c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - SFR-1917: Fixed failing Playwright tests - Add APP_ENV build arg in yml file and Dockerfile - Update Github Action for release from create-release to action-gh-release +- SFR-1945: Fixed more failing Playwright tests ## [0.18.0] diff --git a/playwright/support/mappings.ts b/playwright/support/mappings.ts index 80146b5f..3b6b3664 100644 --- a/playwright/support/mappings.ts +++ b/playwright/support/mappings.ts @@ -159,7 +159,8 @@ export const elements = { "catalog header link": "span:text('Go To The Catalog')", "research catalog header link": "span:text('Go To The Research Catalog')", "close my account header link": "[aria-label='Close']", - "locations header link": "[href='https://www.nypl.org/locations']", + "locations header link": + "[href='https://www.nypl.org/locations']:text('Locations')", "library card header link": "[href='https://www.nypl.org/library-card/new']", "email updates header link": "[href='https://pub.email.nypl.org/subscriptioncenter']",