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

Remove apiap from file names #2507

Merged
merged 1 commit into from
Jul 15, 2021
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ ol.explain.fa-ul
button type="submit" class="button button--next"
= 'Add this Backend'

= javascript_pack_tag 'apiap_wizard_backend_api'
= javascript_pack_tag 'wizard_backend_api'
hallelujah marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,30 @@
page.should have_content 'Good. Next, make a test GET request'
end

When(/^user starts the onboarding wizard$/) do
click_on 'OK, how does 3scale work?'
end

And(/^sends the test request$/) do
stub_request(:get, %r{//test.proxy/deploy/}).to_return(status: 200)
stub_request(:get, /staging.apicast.dev/).to_return(status: 200, body: 'Hey! successful request')

click_on 'Send request'

page.should have_content 'Congratulations, you are running on 3scale :-)'
end

And(/^goes to what's next$/) do
click_on "Cool, what's next?"
page.should have_content "What's next?"
end

Then(/^goes to API page$/) do
click_on 'Got it! Take me to my API on 3scale'
page.should have_content 'Overview'
page.should have_content api_name
end

def product_form
find('#product_form')
end
Expand All @@ -60,3 +84,7 @@ def backend_form
def connect_form
find('#connect_form')
end

def api_name
'Echo API'
end
43 changes: 0 additions & 43 deletions features/step_definitions/onboarding/wizard_steps.rb.rb

This file was deleted.