Skip to content

Commit d943288

Browse files
committed
e2e: expect De2do title and header (rebrand)
Update Playwright assertions from Simple TODO/Simple Todo to De2do. Made-with: Cursor
1 parent 88fea45 commit d943288

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

e2e/simple-todo.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ test.describe('Simple Todo P2P Application', () => {
3333

3434
// Verify the page loads
3535
await page.goto('/');
36-
await expect(page).toHaveTitle(/Simple TODO/i);
36+
await expect(page).toHaveTitle(/De2do/i);
3737

3838
// Verify main content is present
3939
await expect(page.locator('main')).toBeVisible({ timeout: 10000 });

e2e/webauthn.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test.describe('WebAuthn Authentication', () => {
2020

2121
// For now, just verify the app loads correctly
2222
const heading = page.locator('h1');
23-
await expect(heading).toContainText(/Simple Todo/i);
23+
await expect(heading).toContainText(/De2do/i);
2424
});
2525

2626
test('should handle WebAuthn not available gracefully', async ({ page, context }) => {
@@ -41,7 +41,7 @@ test.describe('WebAuthn Authentication', () => {
4141

4242
// App should work with software identity
4343
const heading = page.locator('h1');
44-
await expect(heading).toContainText(/Simple Todo/i);
44+
await expect(heading).toContainText(/De2do/i);
4545
});
4646

4747
test('should detect platform authenticator availability', async ({ page }) => {
@@ -134,7 +134,7 @@ test.describe('WebAuthn Authentication', () => {
134134

135135
// Verify app still works
136136
const heading = page.locator('h1');
137-
await expect(heading).toContainText(/Simple Todo/i);
137+
await expect(heading).toContainText(/De2do/i);
138138
});
139139
});
140140

0 commit comments

Comments
 (0)