Skip to content
Merged
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
16 changes: 16 additions & 0 deletions spec/features/checkout_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,12 @@
fill_addresses_fields_with(address)
click_button 'Save and Continue'

expect(page).to have_content 'UPS Ground'

click_button 'Save and Continue'

expect(page).to have_content(/Payment Information/i)

click_button 'Save and Continue'
click_button 'Place Order'

Expand All @@ -89,7 +94,12 @@
fill_addresses_fields_with(address)
click_button 'Save and Continue'

expect(page).to have_content 'UPS Ground'

click_button 'Save and Continue'

expect(page).to have_content(/Payment Information/i)

click_button 'Save and Continue'
click_button 'Place Order'

Expand Down Expand Up @@ -145,9 +155,15 @@
expect(page).to have_text 'You have signed up successfully.'

fill_addresses_fields_with(address)

click_button 'Save and Continue'

expect(page).to have_content 'UPS Ground'

click_button 'Save and Continue'

expect(page).to have_content(/Payment Information/i)

click_button 'Save and Continue'
click_button 'Place Order'

Expand Down