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

validate the case when both jobs are trying to upload the artifact with same name #12758

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions spec/system/admin/adjustments_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@
shared_examples "when the enable_localized_number preference" \
do |adjustment_label, adjustment_amount, tax_category, tax, tax_total|
it "creates the adjustment and calculates taxes" do
raise 'TESTING ARTIFACT UPLOAD'
# When I go to the adjustments page for the order
page.find('td.actions a.icon-edit').click

Check warning on line 46 in spec/system/admin/adjustments_spec.rb

View workflow job for this annotation

GitHub Actions / runner / rubocop

[rubocop] reported by reviewdog 🐶 Unreachable code detected. Raw Output: spec/system/admin/adjustments_spec.rb:46:7: W: Lint/UnreachableCode: Unreachable code detected.
click_link 'Adjustments'

# And I create a new adjustment with tax
Expand Down
1 change: 1 addition & 0 deletions spec/system/consumer/account_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@
end

it "shows all hubs that have been ordered from with balance or credit" do
raise 'TESTING ARTIFACT UPLOAD'
# Single test to avoid re-rendering page
visit "/account"

Check warning on line 46 in spec/system/consumer/account_spec.rb

View workflow job for this annotation

GitHub Actions / runner / rubocop

[rubocop] reported by reviewdog 🐶 Unreachable code detected. Raw Output: spec/system/consumer/account_spec.rb:46:9: W: Lint/UnreachableCode: Unreachable code detected.

# No distributors allow changes to orders
expect(page).not_to have_content 'Open Orders'
Expand Down
Loading