Skip to content

Commit d13f6c6

Browse files
committed
Updated app.spec.js to look for the correct title
1 parent 0a8dd21 commit d13f6c6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en
5353
- Refactored `FossItemContent.svelte` to better support and display Obtainium download links and metadata
5454
- Updated `README.md` to reflect the correct location of the `static/pgp/` directory
5555
- Revised the `hooks.server.js` section in `README.md` to improve accuracy and reflect current CSP behavior
56+
- Updated `tests/e2e/app.spec.js` to assert the correct title for the root route
5657
- Upgraded dependencies:
5758
- `posthog-js` `^1.250.2``^1.252.0`
5859
- `eslint-plugin-jsdoc` `^50.8.0``^51.0.1`

tests/e2e/app.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ test.describe('Desktop Tests', () => {
3333
await setDesktopView(page);
3434
await page.goto('/');
3535
await page.waitForLoadState('load', { timeout: 60000 });
36-
await expect(page).toHaveTitle(/Locking Down Networks/);
36+
await expect(page).toHaveTitle(/Security, Networking, Privacy/);
3737
});
3838

3939
// Root route should display nav bar and about link
@@ -97,7 +97,7 @@ test.describe('Mobile Tests', () => {
9797
await setMobileView(page);
9898
await page.goto('/');
9999
await page.waitForLoadState('load', { timeout: 60000 });
100-
await expect(page).toHaveTitle(/Locking Down Networks/);
100+
await expect(page).toHaveTitle(/Security, Networking, Privacy/);
101101
});
102102

103103
// Root route should display headings properly on mobile

0 commit comments

Comments
 (0)