-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
bugIndicates an unexpected problem or an unintended behavior.Indicates an unexpected problem or an unintended behavior.
Description
Is it an issue related to Adaptive Cards?
No
Is this an accessibility issue?
No
What version of Web Chat are you using?
Unrelated
Which distribution are you using Web Chat from?
Unrelated
Which hosting environment does this issue primarily affect?
Others or unrelated
Which browsers and platforms do the issue happened?
No response
Which area does this issue affect?
Others or unrelated
What is the public URL for the website?
No response
Please describe the bug
When tests are run after accessibility.liveRegion.activityStatus.sendFailed.contrast.html, their snapshot test will fail because the mentioned test enabled forced-colors.
We should unset forced-colors before every test run.
Do you see any errors in console log?
No response
How to reproduce the issue?
Tests are run in parallel with 4 workers, to increase the likelihood of the issue, we tune it down to 1 worker.
- Modify
package.json/scripts/dockerand change--scale chrome=4to--scale chrome=1 - Run
npm test -- --maxWorkers=1 --testPath sendfailed
What do you expect?
All tests should pass.
What actually happened?
Some tests fail because the snapshot is taken in high contrast mode.
Do you have any screenshots or recordings to repro the issue?
No response
Adaptive Card JSON
No response
Additional context
This is related to #4537.
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or an unintended behavior.Indicates an unexpected problem or an unintended behavior.