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

Update @testing-library/cypress from 7.0.7 to 8.0.2 #17400

Merged
merged 1 commit into from Apr 22, 2022

Conversation

tnir
Copy link
Contributor

@tnir tnir commented Apr 22, 2022

Signed-off-by: Takuya Noguchi takninnovationresearch@gmail.com

What type of PR is this? (check all applicable)

  • Refactor
  • Optimization

Description

Revisits upgrading @testing-library/cypress npm package from 7.x to 8.x, @rhymes stopped in #14403 (comment) .

The PR #14324 contained a version bump to pretty-format@27.0.6 which required a later version of node than our buildkite builds can currently use. As a result, all of our latest buildkite builds are failing with the error:

error pretty-format@27.0.6: The engine "node" is incompatible with this module. Expected version "^10.13.0 \|\| ^12.13.0 \|\| ^14.15.0 \|\| >=15.0.0". Got "14.14.0"
--
  | error Found incompatible module.

This PR reverts the change until we are able to upgrade the node version in buildkite (this is a work in progress with systems team)

Cited from #14353

This update avoids to use @testing-library/dom 7.x, which depends on pretty-format 26.x. After this patch, only @testing-library/preact depends on @testing-library/dom 7.x, which will be resolved in testing-library/preact-testing-library#49.

Related Tickets & Documents

QA Instructions, Screenshots, Recordings

n/a

UI accessibility concerns?

n/a

Added/updated tests?

  • No, and this is why: dep (npm) updated

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
@tnir tnir requested review from a team, aitchiss and msarit and removed request for a team April 22, 2022 06:58
@pr-triage pr-triage bot added the PR: unreviewed bot applied label for PR's with no review label Apr 22, 2022
@github-actions
Copy link
Contributor

Thank you for opening this PR! We appreciate you!

For all pull requests coming from third-party forks we will need to
review the PR before we can process it through our CI pipelines.

A Forem Team member will review this contribution and get back to
you as soon as possible!

@tnir
Copy link
Contributor Author

tnir commented Apr 22, 2022

Looping in @rhymes and @aitchiss

Copy link
Contributor

@aitchiss aitchiss left a comment

Choose a reason for hiding this comment

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

Nicely spotted!

Given the build has passed with no issues, I think that's all we need to know here 😄

@pr-triage pr-triage bot added PR: partially-approved bot applied label for PR's where a single reviewer approves changes and removed PR: unreviewed bot applied label for PR's with no review labels Apr 22, 2022
@tnir
Copy link
Contributor Author

tnir commented Apr 22, 2022

@aitchiss Thanks. Are you still using buildkite? It looks like no more check in GitHub Checks to me.

@aitchiss
Copy link
Contributor

@aitchiss Thanks. Are you still using buildkite? It looks like no more check in GitHub Checks to me.

It doesn't run on all builds 🤔 I think we are OK though - the original problem was our Node version in buildkite was too low, but it's since been bumped to 16.x so we should be alright 🙌

@tnir
Copy link
Contributor Author

tnir commented Apr 22, 2022

memo: Only when a team member triggers, we would see the check:

issue_comment:
types: [created]
jobs:
add_ci_label:
name: "Add CI label to pull request"
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/ci') && (github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'CONTRIBUTOR')

@jeremyf jeremyf merged commit d3dca99 into forem:main Apr 22, 2022
@pr-triage pr-triage bot added PR: merged bot applied label for PR's that are merged and removed PR: partially-approved bot applied label for PR's where a single reviewer approves changes labels Apr 22, 2022
@tnir tnir deleted the tnir/@testing-library/cypress-v8 branch April 22, 2022 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: merged bot applied label for PR's that are merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants