acceptance/common/steps/applications_steps.rb
def addService(name, pool, id)
    CC.UI.ApplicationsPage.addApp_button.click()
    selectOption(name)
    click_link_or_button("Next")
    selectOption(pool)
    click_link_or_button("Next")
    fillInDeploymentID(id)
    click_link_or_button("Deploy")
    expect(page).to have_content("App deployed successfully", wait: 120)
end
# This method adds a service using the UI, but is called from
# a Given step.. so we'll use the CLI for that.
This method adds a service using the UI, but is called from
a Given step.. so we'll use the CLI for that.
This method adds a service using the UI but is called from a Given step .. so we ' ll use the CLI for that .
def addService(name, pool, id)
    CC.UI.ApplicationsPage.addApp_button.click()
    selectOption(name)
    click_link_or_button("Next")
    selectOption(pool)
    click_link_or_button("Next")
    fillInDeploymentID(id)
    click_link_or_button("Deploy")
    expect(page).to have_content("App deployed successfully", wait: 120)
end
def addService ( name , pool , id ) CC . UI . ApplicationsPage . addApp_button . click ( ) selectOption ( name ) click_link_or_button ( "Next" ) selectOption ( pool ) click_link_or_button ( "Next" ) fillInDeploymentID ( id ) click_link_or_button ( "Deploy" ) expect ( page ) . to have_content ( "App deployed successfully" , wait : 120 ) end
This method adds a service using the UI, but is called from
a Given step.. so we'll use the CLI for that.
This method adds a service using the UI but is called from a Given step .. so we ' ll use the CLI for that .
name
pool
id