From c50efad73b1490e99b8531ce8dfc8dac95895a42 Mon Sep 17 00:00:00 2001 From: ayan <100955969+ayan1229@users.noreply.github.com> Date: Tue, 30 Jul 2024 22:40:06 -0400 Subject: [PATCH] SFR-2076/pw_test_fix --- CHANGELOG.md | 2 +- playwright/support/mappings.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 77ff3ced..ab7ab3ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ - Add error page for /read links with invalid source - Implement "Read Online" for UP items - SFR-2032: Update local API url - +- SFR-2076: Fix DRB PW Regression Tests ## [0.18.1] diff --git a/playwright/support/mappings.ts b/playwright/support/mappings.ts index 305aee54..7862c647 100644 --- a/playwright/support/mappings.ts +++ b/playwright/support/mappings.ts @@ -189,8 +189,7 @@ export const elements = { /** footer locators */ "accessibility footer link": "//a[@href='http://www.nypl.org/accessibility']", - "press footer link": - "//a[@href='http://www.nypl.org/help/about-nypl/media-center']", + "press footer link": "//a[@href='http://www.nypl.org/press']", "careers footer link": "//a[@href='http://www.nypl.org/careers']", "space rental footer link": "//a[@href='http://www.nypl.org/spacerental']", "privacy policy footer link":