-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
[Feature] ColorsColor managementColor management[Package] E2E Tests/packages/e2e-tests/packages/e2e-tests[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
After #68799 it would be nice to add at least one e2e test to make sure the ContrastChecker detects and checks colors reliably for the most simple case:
- Add a paragraph with some content.
- Set both background and text colors to black.
- Test that the
ContrastCheckernotice appears in the block settings panel immediately as soon as the low-contrast color pair is applied.
For the future, it would be nice to expand the ContrastChecker tests when other pending issues will ne solved, they are tracked at #60824
Step-by-step reproduction instructions
N/A
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
Metadata
Metadata
Assignees
Labels
[Feature] ColorsColor managementColor management[Package] E2E Tests/packages/e2e-tests/packages/e2e-tests[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended