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

chore: consolidate legend tests #2897

Merged
merged 12 commits into from
Nov 6, 2023
Merged

Conversation

jenniferarnesen
Copy link
Collaborator

@jenniferarnesen jenniferarnesen commented Nov 1, 2023

Note: no assertions were harmed during the making of this PR.

What has changed: Every describe under the top level describe has been changed to an it. All the its within the former describe have been removed (their title converted to a comment or a cy.log). Comments were converted to cy.log to make it easier to locate eventual errors in the cypress dashboard output.

Worth discussing whether each test is now doing too much, but I would argue that a test should always do its own set up. In that case, each test does encapsulate a logical set of user actions that belong together.

Number of tests reduced from: ~570 to ~450 (the numbers vary)

@dhis2-bot
Copy link
Contributor

dhis2-bot commented Nov 1, 2023

@dhis2-bot dhis2-bot temporarily deployed to netlify November 1, 2023 12:52 Inactive
Copy link

cypress bot commented Nov 1, 2023

Passing run #2521 ↗︎

0 454 1 0 Flakiness 0

Details:

Merge 98a8394 into cadf291...
Project: Data Visualizer App Commit: bc7b3895af ℹ️
Status: Passed Duration: 31:06 💡
Started: Nov 6, 2023 10:02 AM Ended: Nov 6, 2023 10:33 AM

Review all test suite changes for PR #2897 ↗︎

@dhis2-bot dhis2-bot temporarily deployed to netlify November 1, 2023 13:08 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 2, 2023 07:58 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 2, 2023 08:28 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 2, 2023 08:32 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 2, 2023 09:02 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 2, 2023 10:02 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 2, 2023 11:18 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 2, 2023 13:58 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 3, 2023 07:12 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 3, 2023 07:20 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 6, 2023 09:24 Inactive
@jenniferarnesen jenniferarnesen merged commit 49ce447 into dev Nov 6, 2023
14 checks passed
@jenniferarnesen jenniferarnesen deleted the chore/consolidate-cypress-tests-2 branch November 6, 2023 10:43
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 100.3.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants