-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: refactor a menu test case to have it pass on CI env
For some unknown reason, scroll events were triggered upon mouse wheel, even though scroll was prevented. It didn't happen when running locally headless with `cypress run`, so it seems like the only differentiating factor is the OS being linux in the CI env. The test is changed to compare actual scrollY of the window, instead of checking if scroll event handlers are called.
- Loading branch information
1 parent
c30fdd5
commit b3123b7
Showing
1 changed file
with
22 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters