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(core): add test for storing color scheme preference and search #5820

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

cngonzalez
Copy link
Member

Description

As we start to re-organize how we think about storing our settings, it's important to write tests first to ensure we're not losing any old functionality, especially during a transition period.

What to review

The new test files and the small change to add a data-testid to a component that would have been brittle to reach without it.

Testing

Feel free to run the tests locally as needed.

@cngonzalez cngonzalez requested a review from a team February 22, 2024 18:56
@cngonzalez cngonzalez requested a review from a team as a code owner February 22, 2024 18:56
@cngonzalez cngonzalez requested review from hermanwikner and binoy14 and removed request for a team February 22, 2024 18:56
Copy link

vercel bot commented Feb 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
performance-studio ✅ Ready (Inspect) Visit Preview Feb 23, 2024 5:28pm
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 23, 2024 5:28pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview Feb 23, 2024 5:28pm

Copy link
Contributor

No changes to documentation

Copy link
Contributor

github-actions bot commented Feb 22, 2024

Component Testing Report Updated Feb 23, 2024 5:33 PM (UTC)

File Status Duration Passed Skipped Failed
comments/CommentInput.spec.tsx ✅ Passed (Inspect) 32s 15 0 0
formBuilder/ArrayInput.spec.tsx ✅ Passed (Inspect) 6s 3 0 0
formBuilder/inputs/PortableText/Annotations.spec.tsx ❌ Failed (Inspect) 23s 0 0 3
formBuilder/inputs/PortableText/copyPaste/CopyPaste.spec.tsx ✅ Passed (Inspect) 12s 4 2 0
formBuilder/inputs/PortableText/Decorators.spec.tsx ✅ Passed (Inspect) 12s 6 0 0
formBuilder/inputs/PortableText/FocusTracking.spec.tsx ✅ Passed (Inspect) 34s 15 0 0
formBuilder/inputs/PortableText/Input.spec.tsx ✅ Passed (Inspect) 1m 0s 15 0 0
formBuilder/inputs/PortableText/ObjectBlock.spec.tsx ✅ Passed (Inspect) 1m 1s 18 0 0
formBuilder/inputs/PortableText/Styles.spec.tsx ✅ Passed (Inspect) 13s 6 0 0
formBuilder/inputs/PortableText/Toolbar.spec.tsx ✅ Passed (Inspect) 20s 9 0 0

Copy link
Contributor

@binoy14 binoy14 left a comment

Choose a reason for hiding this comment

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

LGTM besides small changes, thanks!

test/e2e/tests/navbar/appearanceMenu.spec.ts Show resolved Hide resolved
test/e2e/tests/navbar/appearanceMenu.spec.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@binoy14 binoy14 left a comment

Choose a reason for hiding this comment

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

Very nice! thank you!

@cngonzalez cngonzalez added this pull request to the merge queue Feb 23, 2024
Merged via the queue into next with commit 1c1c87c Feb 23, 2024
39 of 40 checks passed
@cngonzalez cngonzalez deleted the sdx-1121 branch February 23, 2024 17:36
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.

3 participants