-
Notifications
You must be signed in to change notification settings - Fork 77
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
fix(table): fix style regression #8991
Conversation
* move theming-related tests to stories * drop unnecessary tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to revert the removal of theme tests from e2e. The added VRT tests do not fully cover the token values and it is very easy for a human to miss subtle color changes (especially random colors like we are using) resulting in several accepted faulty VRT tests due to human error. Unit tests are better in this case. Since they represent a data application change not an alteration to our underlaying style assignments.
packages/calcite-components/src/components/action/action.stories.ts
Outdated
Show resolved
Hide resolved
packages/calcite-components/src/components/action-menu/action-menu.stories.ts
Outdated
Show resolved
Hide resolved
packages/calcite-components/src/components/modal/modal.stories.ts
Outdated
Show resolved
Hide resolved
expect(scrimStyles.trim()).toEqual("rgba(0, 0, 0, 0.85)"); | ||
}); | ||
|
||
it("when modal css override set, scrim should adhere to requested color", async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no replacement for these tests ATM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per our conversation, will roll back theme-specific test changes, which will be addressed by #8993.
packages/calcite-components/src/components/modal/modal.stories.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🏅
Related Issue: #7180
Summary
✨🏓🔨✨