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

Moves test introduced by #11799 to avoid non-explicit modal acceptance #11972

Conversation

filipefurtad0
Copy link
Contributor

What? Why?

On #11799 a fix was introduced to account for "memory" of the selected sections, within the enterprise dashboard. A test was added which was triggering a modal (due to unsaved changes in the forms), without explicitly accepting it.

While default acceptance of the modal is the usual behavior, it often timed out, while running in the CI.

The PR moves the test to a section in the spec where there are no unsaved changes: doing so prevents having to accept the modal.

The PR also adds some minor changes (scrolling down the page to find the Users section - somehow failing locally) and adds a test to account for forward navigation as well.

What should we test?

  • green build

Release notes

Changelog Category (reviewers may add a label for the release notes):

  • User facing changes
  • API changes (V0, V1, DFC or Webhook)
  • Technical changes only
  • Feature toggled

The title of the pull request will be included in the release notes.

Dependencies

Documentation updates

… spec where a modal does not need acceptance

Tests forward navigation
@filipefurtad0 filipefurtad0 added the technical changes only These pull requests do not contain user facing changes and are grouped in release notes label Dec 22, 2023
@filipefurtad0 filipefurtad0 self-assigned this Dec 22, 2023
@mkllnk mkllnk merged commit 1746ba5 into openfoodfoundation:master Jan 3, 2024
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technical changes only These pull requests do not contain user facing changes and are grouped in release notes
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Flaky] ./spec/system/admin/enterprises_spec.rb
2 participants