From 31e06af9265d90a9302b55e0571480f64463343f Mon Sep 17 00:00:00 2001 From: Garrett Rabian Date: Tue, 19 Nov 2024 11:52:10 -0500 Subject: [PATCH] change to use button name instead of aria label --- tests/playwright/utils/pageObjects/base.page.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright/utils/pageObjects/base.page.ts b/tests/playwright/utils/pageObjects/base.page.ts index 883f400fd..46ac386f6 100644 --- a/tests/playwright/utils/pageObjects/base.page.ts +++ b/tests/playwright/utils/pageObjects/base.page.ts @@ -20,7 +20,7 @@ export default class BasePage { }); this.continueButton = page.getByRole("button", { name: "Continue" }); this.previousButton = page.getByRole("button", { name: "Previous" }); - this.myAccountButton = page.getByRole("button", { name: "my account" }); + this.myAccountButton = page.getByRole("button", { name: "My Account" }); this.accountMenu = page.getByRole("menu"); this.manageAccountButton = page.getByRole("menuitem", { name: "Manage Account",