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

Improve polling station form tests #182

Merged
merged 4 commits into from
Jul 29, 2024

Conversation

cikzh
Copy link
Contributor

@cikzh cikzh commented Jul 25, 2024

Closes #163

Using overrideOnce at the start of every test to make clear what data is used for the test. Also making it more explicit when testing edge cases.

This PR leaves out the 404 test as discussed in the issue, as it is dependent on the decision made in #179

@cikzh cikzh linked an issue Jul 25, 2024 that may be closed by this pull request
@praseodym praseodym changed the title Now using overrideOnce instead of a custom context provider Improve polling station form tests Jul 25, 2024
praseodym
praseodym previously approved these changes Jul 25, 2024
Copy link
Contributor

@jschuurk-kr jschuurk-kr left a comment

Choose a reason for hiding this comment

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

This PR leaves out the 404 test as discussed in the issue, as it is dependent on the decision made in #179

We can cover the current behavior with a test. To me, that too, is part of the zero bug policy.

Lionqueen94
Lionqueen94 previously approved these changes Jul 29, 2024
@praseodym praseodym added the frontend Issues or pull requests that relate to the frontend label Jul 29, 2024
praseodym
praseodym previously approved these changes Jul 29, 2024
@cikzh cikzh added this pull request to the merge queue Jul 29, 2024
Merged via the queue into main with commit cc243c5 Jul 29, 2024
4 checks passed
@cikzh cikzh deleted the 163-improve-polling-station-form-tests branch July 29, 2024 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Issues or pull requests that relate to the frontend
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Improve polling station form tests
4 participants