diff --git a/package-lock.json b/package-lock.json index 187d04e9f8a..496cdff9353 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19211,9 +19211,9 @@ } }, "node_modules/jose": { - "version": "4.15.4", - "resolved": "https://registry.npmjs.org/jose/-/jose-4.15.4.tgz", - "integrity": "sha512-W+oqK4H+r5sITxfxpSU+MMdr/YSWGvgZMQDIsNoBDGGy4i7GBPTtvFKibQzW06n3U3TqHjhvBJsirShsEJ6eeQ==", + "version": "4.15.5", + "resolved": "https://registry.npmjs.org/jose/-/jose-4.15.5.tgz", + "integrity": "sha512-jc7BFxgKPKi94uOvEmzlSWFFe2+vASyXaKUpdQKatWAESU2MWjDfFf0fdfc83CDKcA5QecabZeNLyfhe3yKNkg==", "funding": { "url": "https://github.com/sponsors/panva" } diff --git a/src/e2e/pages/landingPage.ts b/src/e2e/pages/landingPage.ts index 0ba2badc64e..0117b6e99b6 100644 --- a/src/e2e/pages/landingPage.ts +++ b/src/e2e/pages/landingPage.ts @@ -154,7 +154,8 @@ export class LandingPage { // scan your email to get started section this.getStartedScanSection = page .locator("div") - .filter({ has: page.getByText("Scan your email to get started") }); + .filter({ has: page.getByText("Scan your email to get started") }) + .last(); this.getStartedScanTitle = this.getStartedScanSection.filter({ has: page.getByText("Scan your email to get started"), }); @@ -168,17 +169,20 @@ export class LandingPage { // choose your level of protection section this.chooseLevelSection = page .locator("div") - .filter({ has: page.getByText("Choose your level of protection") }); + .filter({ has: page.getByText("Choose your level of protection") }) + .last(); // FAQ section this.faqSection = page .locator("div") - .filter({ has: page.getByText("Frequently asked questions") }); + .filter({ has: page.getByText("Frequently asked questions") }) + .last(); // take back control of your data section this.takeBackControlSection = page .locator("div") - .filter({ has: page.getByText("Take back control of your data") }); + .filter({ has: page.getByText("Take back control of your data") }) + .last(); this.takeBackControlTitle = this.takeBackControlSection.filter({ has: page.getByText("Take back control of your data"), });