Skip to content

Commit

Permalink
🥒 fixes failing cucumber
Browse files Browse the repository at this point in the history
  • Loading branch information
josemigallas committed Jan 18, 2023
1 parent 0ffb198 commit bfbc176
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
12 changes: 2 additions & 10 deletions features/old/providers/wizard_upgrade_plan.feature
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Feature: Wizard Billing information
| zip | | ZIP Code | false | false | false |
| vat | | VAT Code | false | false | false |

@javascript
Scenario: Steps of the wizard
When I go to the billing information wizard page
And I fill in the following:
Expand All @@ -31,16 +32,7 @@ Feature: Wizard Billing information
And I select "Spain" from "Country"
And I press "Save and continue with payment details"
And I should be on the provider braintree edit credit card details page
When I fill in the following:
| First name | Pepe |
| Last name | Ventura |
| Company | comp |
| Street address | Calle Simpecado |
| City | Sevilla |
| ZIP / Postal Code | 4242 |
| Phone | +2342342342 |
And I fill in the braintree credit card iframe
And I select "Spain" from "Country"
And I fill in the braintree credit card form
And I press "Save credit card"
Then the current domain should be admin.foo.3scale.localhost
And I should be on the provider account page
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
fill_in_braintree_form
end

When "I fill in the braintree credit card iframe" do
find(:css, '#braintree_nonce', visible: :hidden).set('some_braintree_nonce')
end

When "(an admin is )reviewing the provider's payment details" do
visit edit_provider_admin_account_path
select_vertical_nav_section 'Payment Details'
Expand Down

0 comments on commit bfbc176

Please sign in to comment.