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

[BUU] Activate admin_style_v3 for all system specs #12631

Conversation

dacook
Copy link
Member

@dacook dacook commented Jul 1, 2024

What? Why?

WIP: opened separate PR for temporary review

  • Closes #

What should we test?

  • Visit ... page.

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

Selects white_label tab with trigger(click)

Scrolling down did no fix it, it still fails https://github.com/openfoodfoundation/openfoodnetwork/actions/runs/6526149195/job/17719815533?pr=11645, selecting the element with trigger(click) should work

Updates invoice tests
This is a WIP branch, and each time we rebase we'll have some specs breaking. The changes in this commit mostly relate to the change in /admin/products URL, which points to the new BUU prodcts page; disabling the feature around related tests brings the branch back to green.
Removes migrated test from legacy product spec file
...adapted from ./spec/system/admin/bulk_product_update_spec.rb:23

Sets test as pending from issue openfoodfoundation#11060
Another option would have been to use page.find(:button, Save).trigger(click)
Deals with elements outside page range
Comments assertion due to overlapping elements
Introduces a tom-select helper file
Moves existing tom select helper methods into separate file
@dacook dacook self-assigned this Jul 1, 2024
filipefurtad0 and others added 7 commits July 1, 2024 12:24
on the New variant button

This test needs to be improved as, for Capybara, the text seems to be always visible, although it only does become visible by hovering.
This feature does not exist in BUU

Replaces previous add variant button click with correct version
@dacook dacook force-pushed the activate_buu_toggle_by_default_to_run_the_test_suite branch 3 times, most recently from 67d701b to 37900ba Compare July 1, 2024 04:49
dacook added 6 commits July 1, 2024 14:58
These seem to have been changed since the previous rebase.
I'm not sure why it's not appearing on my computer, but it was an unnecessary duplicate message, so I'm happy to remove it.
It breaks due to a change of the spec environment. There's no point fixing it, it's no longer required.
@dacook dacook force-pushed the activate_buu_toggle_by_default_to_run_the_test_suite branch from 37900ba to 916b503 Compare July 1, 2024 05:15
@dacook dacook closed this Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants