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

chore: #140 - fix color flaky tests #148

Merged
merged 6 commits into from
Nov 30, 2023
Merged

chore: #140 - fix color flaky tests #148

merged 6 commits into from
Nov 30, 2023

Conversation

danstarns
Copy link
Member

localStorage.setItem("theme", theme);
},
// TODO - test dark mode https://github.com/rocket-connect/graphql-debugger/issues/151
JSON.stringify({ state: { theme: "light" }, version: 0 }),
Copy link
Member Author

Choose a reason for hiding this comment

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

@kreshnnikgashi here we hardcode local storage to always run the e2e in light mode, this way all the color assertions will not be flaky on each machine.

I made an issue here to track the work of adding dark mode into the e2e testing suite: #151

@danstarns danstarns merged commit d75e4d7 into main Nov 30, 2023
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