Skip to content

chore: update cSpell, fix isNotificationTextPrefixed, and refactor e2e tests #4076

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

Merged
merged 5 commits into from
Sep 15, 2022

Conversation

jsjoeio
Copy link
Contributor

@jsjoeio jsjoeio commented Sep 15, 2022

This PR makes a few minor changes to cSpell settings for VS Code and a couple minor improvements for isNotificationTextPrefixed.

Changes

  • chore: update cSpell words
  • chore: add ignorePaths for cSpell
  • fix: update isNotificationTextPrefixed

Important

I also removed the util.ts which had some things like waitForClientSideNavigation. I don't think this is needed anymore after reading the Playwright docs (maybe a new thing):

Navigating to a URL auto-waits for the page to fire the load event. If the page does a client-side redirect before load, page.goto(url[, options]) will auto-wait for the redirected page to fire the load event.

Source

This should speed up the e2e tests too.

@jsjoeio jsjoeio self-assigned this Sep 15, 2022
@jsjoeio jsjoeio requested a review from a team as a code owner September 15, 2022 16:57
@jsjoeio jsjoeio requested review from presleyp and removed request for a team September 15, 2022 16:57
This removes an eslint-disable rule and adds two new tests to ensure
isNotificationTextPrefixed is working as expected.
@jsjoeio jsjoeio force-pushed the jsjoeio/minor-chore branch from f5b13fc to e6a5499 Compare September 15, 2022 17:36
presleyp
presleyp previously approved these changes Sep 15, 2022
@jsjoeio jsjoeio enabled auto-merge (squash) September 15, 2022 19:20
@jsjoeio jsjoeio requested a review from presleyp September 15, 2022 19:50
@jsjoeio jsjoeio changed the title chore: update cSpell and fix isNotificationTextPrefixed chore: update cSpell, fix isNotificationTextPrefixed, and refactor e2e tests Sep 15, 2022
Copy link
Collaborator

@BrunoQuaresma BrunoQuaresma left a comment

Choose a reason for hiding this comment

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

Lgtm

@jsjoeio jsjoeio merged commit b8bd320 into main Sep 15, 2022
@jsjoeio jsjoeio deleted the jsjoeio/minor-chore branch September 15, 2022 19:59
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