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

test(shell): add token theming tests #9458

Merged
merged 7 commits into from
Jun 19, 2024

Conversation

Elijbet
Copy link
Contributor

@Elijbet Elijbet commented May 29, 2024

Related Issue:#7180

Summary

Add token theming tests for shell.

Copy link
Contributor

This PR has been automatically marked as stale because it has not had recent activity. Please close your PR if it is no longer relevant. Thank you for your contributions.

@github-actions github-actions bot added the Stale Issues or pull requests that have not had recent activity. label Jun 15, 2024
@Elijbet Elijbet marked this pull request as ready for review June 18, 2024 20:38
@Elijbet Elijbet requested a review from a team as a code owner June 18, 2024 20:38
Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

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

💎💎💎💎💎💎💎💎💎💎💎💎💎💎💎💎💎💎💎💎💎💎💎💎
💎🐚💎💎💎🐚🐚🐚🐚💎🐚🐚🐚🐚🐚💎🐚💎💎💎🐚💎🐚💎
💎🐚💎💎💎🐚💎💎💎💎💎💎🐚💎💎💎🐚🐚💎🐚🐚💎🐚💎
💎🐚💎💎💎🐚💎🐚🐚💎💎💎🐚💎💎💎🐚💎🐚💎🐚💎🐚💎
💎🐚💎💎💎🐚💎💎🐚💎💎💎🐚💎💎💎🐚💎💎💎🐚💎💎💎
💎🐚🐚🐚💎🐚🐚🐚🐚💎💎💎🐚💎💎💎🐚💎💎💎🐚💎🐚💎
💎💎💎💎💎💎💎💎💎💎💎💎💎💎💎💎💎💎💎💎💎💎💎💎

describe("theme", () => {
const shellHTML = html`
<calcite-shell>
${tipManagerHTML}
Copy link
Member

Choose a reason for hiding this comment

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

Nitpick: tipManagerHTML is only used once, so it could be inlined here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll inline it, although I feel like separating chunks makes it visually easier to parse through html.

@Elijbet Elijbet merged commit f2e3346 into epic/7180-component-tokens Jun 19, 2024
4 checks passed
@Elijbet Elijbet deleted the elijbet/token-test-shell branch June 19, 2024 00:16
benelan added a commit that referenced this pull request Jul 9, 2024
… benelan/reset-chromatic-tokens-epic

* origin/epic/7180-component-tokens: (222 commits)
  test(text-area): add component token E2E tests (#9729)
  test(themed): improve pseudoElement pattern
  test(rating): add theme token tests (#9700)
  test(block, block-section): add component token E2E tests (#9685)
  test(button, fab): add component token E2E tests (#9602)
  test(inline-editable): add token theme tests (#9648)
  fix(list, list-item, list-item-group): add e2e themed tests (#9616)
  test(shell-center-row): add token theming tests (#9462)
  test(shell): add token theming tests (#9458)
  fix build issues
  test(combobox, combobox-item-group, combobox-item): add component token E2E tests (#9599)
  test(radio-button): add component token E2E tests (#9591)
  test(card, card-group): add component token E2E tests (#9600)
  test(select): add component token E2E tests (#9593)
  test(icon): add component token E2E tests (#9595)
  test(label): add component token E2E tests (#9594)
  test(switch): add component token E2E tests (#9596)
  test(graph): add component token E2E tests (#9597)
  test(dropdown, dropdown-group): add component token E2E tests (#9598)
  test(tip, tip-group, tip-manager): add component token E2E tests (#9589)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale Issues or pull requests that have not had recent activity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants