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 most system specs #11645

Merged
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
500b9ed
Enables admin_style_v3 toggle by default
filipefurtad0 Oct 10, 2023
308c559
Fixes case on assertions, on failing specs
filipefurtad0 Oct 12, 2023
9aecf9f
Brings the tests back to green, after rebasing
filipefurtad0 Oct 25, 2023
5e4381c
Fixes case on failing test
filipefurtad0 Nov 21, 2023
1c580c4
Adds assertions on products page, when no products are found
filipefurtad0 Nov 22, 2023
b9bb4a4
displays a list of products
filipefurtad0 Nov 28, 2023
8a19870
Fixes case on reports_spec.rb
filipefurtad0 Dec 13, 2023
5271361
Fixes case on products_spec.rb
filipefurtad0 Dec 13, 2023
8897e99
Clicks OC warning modal away so other buttons are reachable
filipefurtad0 Dec 13, 2023
4871e00
Deals with overlapping elements
filipefurtad0 Dec 13, 2023
50c7392
Deals with overlapping elements
filipefurtad0 Dec 13, 2023
7303c40
Introduces helper to deal with overlapping elements
filipefurtad0 Dec 13, 2023
c789489
Deals with overlapping elements
filipefurtad0 Dec 13, 2023
2937bdc
Deals with overlapping elements
filipefurtad0 Dec 13, 2023
e09fa3e
Updates v3 products page
filipefurtad0 Dec 13, 2023
3af5330
Updates product category test
filipefurtad0 Jan 3, 2024
d88db13
Updates specs to accomodate changes on warnings/banners
filipefurtad0 Jan 16, 2024
289414a
Adds tests around product creation
filipefurtad0 Jan 16, 2024
5af5eb7
Replaces all with find, within tom_select helper method
filipefurtad0 Jan 17, 2024
c4b2748
Adds pending test case on creating variants
filipefurtad0 Jan 18, 2024
8b036e5
Removes search block - covered already a few lines below
filipefurtad0 Jan 18, 2024
2c37783
Updates selector
filipefurtad0 Jan 26, 2024
0fa272a
Changes helper for dropdown selection
filipefurtad0 Feb 8, 2024
0a4c2a1
Updates tom_select_helper.rb with the recent changes from master
filipefurtad0 Feb 12, 2024
4e24af2
Applies helper changes
filipefurtad0 Feb 12, 2024
03a9f68
Fixes rubocop inconsistency
filipefurtad0 Apr 1, 2024
bcbc7c7
Fixes rubocop inconsistency
filipefurtad0 Apr 1, 2024
5824516
Fixes case
filipefurtad0 Apr 1, 2024
9f98dc2
Adds assertions on table header
filipefurtad0 Apr 1, 2024
80e8177
Mouse hovering displays the text
filipefurtad0 Apr 1, 2024
c226b10
Updates case on orders_spec.rb
filipefurtad0 Apr 16, 2024
ba355fd
Removes mouse clicks to display variants
filipefurtad0 Apr 16, 2024
8028610
Updates spec to create a variant within BUU design
filipefurtad0 Apr 17, 2024
9e25893
Sets variant creation scenarios on_hand/on_demand as shared examples
filipefurtad0 Apr 18, 2024
6dfef81
Fixes rebase
filipefurtad0 May 20, 2024
3a8c44d
fixup: Updates spec to create a variant within BUU design
dacook Jul 1, 2024
39cae44
Fix more uppercase tests after rebase
dacook Jul 1, 2024
5f01bb4
Remove unecessary message
dacook Jul 1, 2024
109432d
fixup: feature toggle old screen
dacook Jul 1, 2024
b1721d6
todo: make specs work with admin_style_v3
dacook Jul 1, 2024
c80199e
Use normal capitalisation for translation
dacook Jul 1, 2024
b1aafbf
Remove old migration spec
dacook Jul 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
click_link 'Orders'
end

# Click dismiss on distributor warning
click_button 'Dismiss'
Comment on lines +38 to +39
Copy link
Member

Choose a reason for hiding this comment

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

Or we could setup the enterprise properly to avoid the warning?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done in #12652 🙏


# Click cancel with unsaved changes
dismiss_confirm "" do
click_button 'Cancel'
Expand Down Expand Up @@ -85,6 +88,9 @@
login_as_admin
visit edit_admin_order_cycle_path(oc)

# Click dismiss on distributor warning
click_button 'Dismiss'

# Go to incoming step
click_button 'Next'

Expand All @@ -106,6 +112,9 @@
click_link 'Orders'
end

# Click dismiss on distributor warning
click_button 'Dismiss'

# Click cancel with unsaved changes
dismiss_confirm "" do
click_button 'Cancel'
Expand Down Expand Up @@ -154,9 +163,15 @@
login_as_admin
visit edit_admin_order_cycle_path(oc)

# Click dismiss on distributor warning
click_button 'Dismiss'

# Go to incoming step
click_button 'Next'

# Click dismiss on distributor warning
click_button 'Dismiss'

# Go to outgoing step
click_button 'Next'

Expand All @@ -178,6 +193,9 @@
click_link 'Orders'
end

# Click dismiss on distributor warning
click_button 'Dismiss'

# Click cancel with unsaved changes
dismiss_confirm "" do
click_button 'Cancel'
Expand Down