Skip to content

Playwright(demos e2e): check the dark themes for accessibility only when a pull request changes the styles - #36828

Open
EugeniyKiyashko wants to merge 1 commit into
DevExpress:mainfrom
EugeniyKiyashko:demos_dark_a11y_on_style_changes
Open

EugeniyKiyashko wants to merge 1 commit into
DevExpress:mainfrom
EugeniyKiyashko:demos_dark_a11y_on_style_changes

Conversation

@EugeniyKiyashko

Copy link
Copy Markdown
Contributor

No description provided.

@EugeniyKiyashko
EugeniyKiyashko requested a review from a team as a code owner December 4, 2026 19:18
Copilot AI balanced review requested due to automatic review settings December 4, 2026 19:18
@EugeniyKiyashko EugeniyKiyashko self-assigned this Dec 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The workflow path filter omits the shared accessibility stylesheet, so changes to it skip dark accessibility checks and can hide contrast regressions.

1 open issue
What changed in this PR

Reduces demo accessibility testing on pull requests by running dark-theme checks only when relevant files change, while retaining them for the merge queue.

Changes:

  • Adds path-based filtering for dark-theme accessibility checks.
  • Documents the conditional testing behavior.
File Description
apps/​demos/​README.md Documents when dark-theme checks run.
.github/​workflows/​visual-tests-demos.yml Detects relevant changes and conditionally runs dark-theme accessibility tests.

Review effort: Balanced

- 'packages/devextreme-scss/images/**'
- 'packages/devextreme-scss/fonts/**'
- 'packages/devextreme/js/**/themes/**'
- 'apps/demos/Demos/**/*.css'

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants