Skip to content

Commit 817c110

Browse files
fix: update home landing page title (#400)
Co-authored-by: tumms2021389 <[email protected]>
1 parent 729b97f commit 817c110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/angular-test-app/tests/e2e/DigV2/LandingPages/LandingPages.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ test.describe('E2E test', () => {
4747
await common.createCase('View Templates', page);
4848

4949
/** Click on the `Home` landing page */
50-
const homeLandingPage = page.locator('mat-list-item > span:has-text("Home")');
50+
const homeLandingPage = page.locator('mat-list-item > span').filter({ hasText: /^DigV2$/ });
5151
await homeLandingPage.click();
5252

5353
/** Test whether Home has loaded as expected */

0 commit comments

Comments
 (0)