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: use RTL in the welcome tour tests #1440

Merged
merged 5 commits into from
Nov 3, 2023
Merged

test: use RTL in the welcome tour tests #1440

merged 5 commits into from
Nov 3, 2023

Conversation

erikian
Copy link
Member

@erikian erikian commented Aug 11, 2023

Adresses #1408. This should be easier to review one commit at a time, as Github doesn't seem to be picking up the move across folders.

I removed the window resizing tests from tour.spec.tsx as it's not possible to access the component state in RTL (it's an implementation detail) and I didn't figure out a way to test that using something a user could see and interact with.

@erikian erikian requested review from codebytere and a team as code owners August 11, 2023 04:43
@erikian erikian changed the title test: use RTL in the wellcome tour tests test: use RTL in the welcome tour tests Aug 11, 2023
@coveralls
Copy link

coveralls commented Aug 24, 2023

Coverage Status

coverage: 87.257% (-0.1%) from 87.37%
when pulling 7b663a7 on test/tour-rtl
into b13655d on main.

rtl-spec/components/tour.spec.tsx Outdated Show resolved Hide resolved
@dsanders11
Copy link
Member

Merging as the Coveralls failure on the Linux build is fixed on main.

@dsanders11 dsanders11 merged commit 2b3a40b into main Nov 3, 2023
7 of 9 checks passed
@dsanders11 dsanders11 deleted the test/tour-rtl branch November 3, 2023 04:25
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.

5 participants