Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/releasetest_sep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

# Run Playwright with PR-vs-Main comparison
- name: GUI Test – Playwright only
uses: DigitalProductInnovationAndDevelopment/Code-Reviews-of-GUI-Tests@v1.2.2
uses: DigitalProductInnovationAndDevelopment/Code-Reviews-of-GUI-Tests@v1.3.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
mode: test-only
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
- run: npm install

- name: GUI Test – Lint only
uses: DigitalProductInnovationAndDevelopment/Code-Reviews-of-GUI-Tests@v1.2.2
uses: DigitalProductInnovationAndDevelopment/Code-Reviews-of-GUI-Tests@v1.3.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
mode: lint-only
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
# Build dashboard, post comment, deploy Pages
- id: review
name: Dashboard / PR comment / Pages
uses: DigitalProductInnovationAndDevelopment/Code-Reviews-of-GUI-Tests@v1.2.2
uses: DigitalProductInnovationAndDevelopment/Code-Reviews-of-GUI-Tests@v1.3.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
mode: dashboard-only
Expand Down
2 changes: 1 addition & 1 deletion playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ module.exports = defineConfig({
}
}
}
});
});
12 changes: 10 additions & 2 deletions tests/demo-todo-app.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,17 @@ test.describe('New Todo', () => {
await newTodo.fill(TODO_ITEMS[0]);
await newTodo.press('Enter');

// Make sure the list only has one todo item.
// Add visual difference
await page.evaluate(() => {
document.body.style.borderTop = '12px solid hotpink';
});

// Take screenshot before failure
await page.screenshot({ path: 'test-results/before-failure.png' });

// DELIBERATE FAILURE: This will fail and should show in the metrics
await expect(page.getByTestId('todo-title')).toHaveText([
TODO_ITEMS[0]
'WRONG EXPECTED TEXT - This will fail and generate screenshots!'
]);

// Create 2nd todo.
Expand Down