Skip to content

test(shell): add token theming tests#9458

Merged
Elijbet merged 7 commits intoepic/7180-component-tokensfrom
elijbet/token-test-shell
Jun 19, 2024
Merged

test(shell): add token theming tests#9458
Elijbet merged 7 commits intoepic/7180-component-tokensfrom
elijbet/token-test-shell

Conversation

@Elijbet
Copy link
Copy Markdown
Contributor

@Elijbet Elijbet commented May 29, 2024

Related Issue:#7180

Summary

Add token theming tests for shell.

@github-actions
Copy link
Copy Markdown
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
Comment thread packages/calcite-components/src/components/shell/shell.e2e.ts Outdated
Comment thread packages/calcite-components/src/components/shell/shell.e2e.ts Outdated
Comment thread packages/calcite-components/src/components/shell/shell.e2e.ts Outdated
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@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.

2 participants