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.

E2E test coverage

See original GitHub issue

Our Cypress test coverage needs expanding. The spec files should go in /cypress/integration which roughly mirrors the routing in /client/src/pages. e.g. cypress/integration/events/[eventId].js contains the tests for client/src/pages/events/[eventId].tsx

Routes needing coverage:

/chapters Does the page exist? Are there links to chapters?

/chapters/[chapterId] Is there an event list?

/dashboard/events/ Can you add sponsors to an event? Once they’ve been submitted, can you see them on the event page? We can use the same approach as for @venueTitle https://github.com/freeCodeCamp/chapter/blob/c608045b8265c7fd51a9b496d03a1a942babd019/cypress/integration/dashboard/events.js#L48-L51

/dashboard/events/[id] Can you kick users? Can you confirm them?

/events/[id] When someone RSVPs for the first time, do they become a chapter member? Do they get signed up for notifications?

If an existing user who has opted out of notifications RSVPs are their notification settings maintained?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ojeytonwilliamscommented, Apr 11, 2022

@Ismailtlem you can go ahead with this if you wish. There’s never going to be an excess of test coverage.

0reactions
ojeytonwilliamscommented, Jun 13, 2022

@Ismailtlem I think we’ll want to be working on this periodically, but I don’t think this needs to stay open.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I measure the coverage of my E2E tests?
I'm looking for a way to measure the coverage of my end-to-end tests. I have some existing E2E tests already and I'm adding...
Read more >
Measuring E2E Test Coverage and Preventing Human Burnout
If you want to measure end-to-end test coverage successfully, you must first identify metrics that are truly meaningful to your individual ...
Read more >
E2E Testing Part 4: Code-Coverage - SAP Blogs
Goal of code-coverage for E2E should be to easily identify major areas of functionality (by code) which your test are not covering. Do...
Read more >
Test Coverage Demystified: A Complete Introductory Guide
What About Test Coverage? · Unit tests won't help you verify that the application integrates correctly with external systems. · E2E tests don't ......
Read more >
There is no “100% coverage” in Automated E2E Software ...
100% Test Coverage is simply Not Possible. First of all, people saying 100% test coverage don't understand test automation or software testing.
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