Skip to content
Merged
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
13 changes: 13 additions & 0 deletions e2e/screenshots-quality-hardening.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,16 @@
}
await shot('integrations-byo-google-setup')
})

test('capture Replay — enable/disable capture control', async () => {

Check failure on line 105 in e2e/screenshots-quality-hardening.spec.ts

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=off-grid-ai_off-grid-ai-desktop&issues=AZ-S2G2l5qd430mZIqsi&open=AZ-S2G2l5qd430mZIqsi&pullRequest=65
// Task 4: the Replay screen carries a compact enable/disable capture control in its header,
// sharing the same seam as the Settings Capture section (useCaptureControl).
const reached = await nav('Replay')
if (!reached) {
await shot('replay-not-reached')
return
}
const toggle = page.getByRole('button', { name: /capture/i }).first()
await toggle.scrollIntoViewIfNeeded().catch(() => {})
await shot('replay-capture-toggle')
})
Binary file added e2e/screenshots/qh-replay-capture-toggle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading