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

[@testing-library/cypress] Fix feedback from #37692 #38072

Closed

Conversation

simjes
Copy link
Contributor

@simjes simjes commented Sep 2, 2019

Fixing feedback from #37692

The linting will fail due to cypress-io/cypress#5065, any suggestions on how we can resolve this, or does it have to be resolved in the cypress package?

Select one of these and delete the others:

If changing an existing definition:

  • Provide a URL to documentation or source code which provides context for the suggested changes: [@testing-library/cypress] New type definition #37692
  • If you are making substantial changes, consider adding a tslint.json containing { "extends": "dtslint/dt.json" }. If for reason the any rule need to be disabled, disable it for that line using // tslint:disable-next-line [ruleName] and not for whole package so that the need for disabling can be reviewed.

@typescript-bot
Copy link
Contributor

👋 Hi there! I’ve run some quick performance metrics against master and your PR. This is still an experiment, so don’t panic if I say something crazy! I’m still learning how to interpret these metrics.

Let’s review the numbers, shall we?

master #38072 diff
Batch compilation
Memory usage (MiB) 97.0 134.1 +38.2%
Type count 16933 32884 +94.2%
Assignability cache size 38546 36986 -4.0%
Subtype cache size 0 0
Identity cache size 16 16 0.0%
Language service
Samples taken 76 89 +17.1%
Identifiers in tests 76 89 +17.1%
getCompletionsAtPosition
    Mean duration (ms) 642.4 439.5 -31.6% 🌟
    Median duration (ms) 635.8 438.0 -31.1% 🌟
    Mean CV 15.0% 14.6% -2.3%
    Worst duration (ms) 829.0 520.7 -37.2% 🌟
    Worst identifier Cypress getAllByPlaceholderText
getQuickInfoAtPosition
    Mean duration (ms) 654.2 421.5 -35.6% 🌟
    Median duration (ms) 645.9 420.2 -34.9% 🌟
    Mean CV 14.4% 13.7% -4.8%
    Worst duration (ms) 839.9 517.8 -38.4% 🌟
    Worst identifier Cypress cy

Wow, it looks like all the big movers moved in the right direction! Way to go! 🌟


If you have any questions or comments about me, you can ping @andrewbranch. Have a nice day!

@typescript-bot typescript-bot added Author is Owner The author of this PR is a listed owner of the package. The Travis CI build failed labels Sep 2, 2019
@typescript-bot
Copy link
Contributor

typescript-bot commented Sep 2, 2019

@simjes Thank you for submitting this PR!

🔔 @aaronmcadam @ppi-buck @NoriSte @wKovacs64 @existentialism @airato - please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

If no reviewer appears after a week, a DefinitelyTyped maintainer will review the PR instead.

@typescript-bot
Copy link
Contributor

typescript-bot commented Sep 2, 2019

@simjes The Travis CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Copy link

@aaronmcadam aaronmcadam left a comment

Choose a reason for hiding this comment

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

This is awesome! So much better ❤️

@typescript-bot typescript-bot added the Owner Approved A listed owner of this package signed off on the pull request. label Sep 2, 2019
Copy link
Contributor

@wKovacs64 wKovacs64 left a comment

Choose a reason for hiding this comment

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

This looks great, @simjes. Thank you!

The linting will fail due to cypress-io/cypress#5065, any suggestions on how we can resolve this, or does it have to be resolved in the cypress package?

Is it possible to get this merged without lint passing, given it's an upstream issue with Cypress and TS 3.6, @sheetalkamat?

@typescript-bot
Copy link
Contributor

@simjes I haven't seen anything from you in a while and this PR currently has problems that prevent it from being merged. The PR will be closed tomorrow if there aren't new commits to fix the issues.

@typescript-bot typescript-bot added the Abandoned This PR had no activity for a long time, and is considered abandoned label Sep 9, 2019
@typescript-bot
Copy link
Contributor

@simjes To keep things tidy, we have to close PRs that aren't mergeable but don't have activity from their author. No worries, though - please open a new PR if you'd like to continue with this change. Thank you!

@simjes
Copy link
Contributor Author

simjes commented Sep 9, 2019

I guess I'll keep an eye on cypress-io/cypress#5065 and reopen after it is solved @sheetalkamat

@wKovacs64
Copy link
Contributor

I spoke with Gleb on Gitter and it sounds like the plan is to wait until they finish migrating to jQuery v3. It wasn't clear how far off that will be, but it's being worked on in cypress-io/cypress#1229.

@wKovacs64
Copy link
Contributor

jQuery v3 was just merged, just waiting on a release now.

@simjes
Copy link
Contributor Author

simjes commented Sep 25, 2019

@wKovacs64 sounds good, got updated PR ready. Will check tomorrow.

@simjes
Copy link
Contributor Author

simjes commented Oct 24, 2019

New PR in #39394

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Abandoned This PR had no activity for a long time, and is considered abandoned Author is Owner The author of this PR is a listed owner of the package. Owner Approved A listed owner of this package signed off on the pull request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants