question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[πŸš€] Cypress Improvements

See original GitHub issue

πŸš€ Cypress Test Suite enhancements

A Tracker issue to keep a log of all the improvements and enhancements to be made:

  • Reduce test time for the bullyChatbot spec: check for the coupon to be out and then break when the source has the text: β€œOooookay, if you promise to stop nagging me here’s a 10% coupon code for you”

  • Remove cy.wait() in the login command: check for products to be loaded rather than 500 ms wait time

  • Skip the delay due to the β€œtranslation info” modal: try to set the language via cookie storage not to show the modal by setting the following cookie before the tests:

    "language : en"
    
  • Add Linting Add the directory to our listing rules and lint the entire directory (make manual changes if any errors are received when automated)

  • Move cypress directory Move the current cypress directory from root to under test/

  • Remove the old e2e CI/CD pipelining Remove the old tests running in the CI via GitHub actions and only run Cypress e2e tests and not the old e2e ones

  • Add documentation for running Cypress tests

  • Remove upload artifacts for Cypress in GitHub Actions since we can now use the Cypress dashboard for the same [Added on 2nd October]

Feel free to add any more enhancements/bugs regarding our Cypress testing!

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
github-actions[bot]commented, Oct 18, 2022

This issue has been automatically marked as stale because it has not had recent activity. πŸ“† It will be closed automatically in one week if no further activity occurs.

2reactions
bkimminichcommented, Sep 6, 2022

Damn, this is my first issue, WOAHHH! Thanks for the heads-up lmao

Luckily it wasn’t a support request… πŸ˜‡

Read more comments on GitHub >

github_iconTop Results From Across the Web

What's New with Cypress Web Testing?
Fast, easy and reliable testing for anything that runs in a browser. Install Cypress in seconds and take the pain out of front-end...
Read more >
CT Performance Improvements: v10 slower than v9 #22353
After upgrading to the latest version, we have an issue with slowness when we run cypress run --component . The tests themselves are...
Read more >
Cypress vs. Selenium: Why Cypress is the better option
Editor's note: This post was updated on 19 January 2021 to reflect the changes and improvements introduced with Cypress 6.1.0.
Read more >
Migrate to Cypress v10 | understand updated project structure
cypresse2e_qavboxThis video will explain how to migrate old cypress project to version 10 and understand the updated project structure andΒ ...
Read more >
Testing a Reaction Application updating to Cypress Version 10
Cypress is a featureful framework that has only improved with its new ... and news alongside personal advice, observations, and insight. πŸš€
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found