Skip to content

fix(cypress): exclude screenshot spec from regular PR CI runs#2552

Merged
miaulalala merged 1 commit intomasterfrom
fix/exclude-screenshots-from-pr-ci
May 4, 2026
Merged

fix(cypress): exclude screenshot spec from regular PR CI runs#2552
miaulalala merged 1 commit intomasterfrom
fix/exclude-screenshots-from-pr-ci

Conversation

@miaulalala
Copy link
Copy Markdown
Collaborator

The screenshots.cy.ts spec is intended for the manual screenshots.yml workflow only. Including it in the default e2e spec pattern caused it to run on every PR, where the reduced app setup (viewer only) triggered a JS crash before any test could start.

excludeSpecPattern is ignored when a spec is passed explicitly, so the screenshots.yml workflow is unaffected.

AI-Assisted-By: Claude Sonnet 4.6 noreply@anthropic.com

The screenshots.cy.ts spec is intended for the manual screenshots.yml
workflow only. Including it in the default e2e spec pattern caused it to
run on every PR, where the reduced app setup (viewer only) triggered a
JS crash before any test could start.

excludeSpecPattern is ignored when a spec is passed explicitly, so the
screenshots.yml workflow is unaffected.

AI-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala miaulalala added this to the Nextcloud 34 milestone May 4, 2026
@miaulalala miaulalala self-assigned this May 4, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@cypress
Copy link
Copy Markdown

cypress Bot commented May 4, 2026

Activity    Run #3650

Run Properties:  status check failed Failed #3650  •  git commit a62b11d1a2: fix(cypress): exclude screenshot spec from regular PR CI runs
Project Activity
Branch Review fix/exclude-screenshots-from-pr-ci
Run status status check failed Failed #3650
Run duration 01m 14s
Commit git commit a62b11d1a2: fix(cypress): exclude screenshot spec from regular PR CI runs
Committer Anna
View all properties for this run ↗︎

Test results
Tests that failed  Failures 2
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 8
Tests that passed  Passing 0
View all changes introduced in this branch ↗︎

Tests for review

Failed  sidebar.cy.ts • 1 failed test • Run E2E

View Output

Test Artifacts
Check activity listing in the sidebar > Has creation activity Test Replay Screenshots
Failed  settings.cy.ts • 1 failed test • Run E2E

View Output

Test Artifacts
Check that user's settings survive a reload > Form survive a reload Test Replay Screenshots

@miaulalala miaulalala merged commit de906c3 into master May 4, 2026
51 of 53 checks passed
@miaulalala miaulalala deleted the fix/exclude-screenshots-from-pr-ci branch May 4, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants