Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Prevent cmd/ctrl+r from updating highlight #949

Merged
merged 31 commits into from
Aug 7, 2022

Conversation

jinh0
Copy link
Collaborator

@jinh0 jinh0 commented Aug 1, 2022

No description provided.

jinh0 added 30 commits July 27, 2022 15:43
This is due to the new index page and reorganization of routes.
We have been using Jest and Selenium for e2e testing, but they have been broken since summer day 1! Since then, we've made so many breaking changes that the tests will just not work anymore.

Now we have Cypress tests being used, so it makes sense that `yarn test` is replaced with the Cypress command.
The glyph opacity toggle button tests are skipped, as there is a bug that has not been fixed. @cadagong has fixed it on a different branch!
- Rename sliders.cy.ts --> opacity.cy.ts
- Refactor main test code to simple function calls
I don't think we need cypress/downloads, since it just gives extra information when running Cypress tests.
Test checks whether pressing cmd/ctrl + r to refresh the page has the unexpected consequence of setting layerElement as the highlight option.
Pressing q/w/e/r/t/y should change highlight options correctly
@yinanazhou yinanazhou merged commit ca0753d into develop Aug 7, 2022
@jinh0 jinh0 deleted the refresh-highlight-fix branch August 8, 2022 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants