Skip to content

Commit

Permalink
fixes to make it work again it he box
Browse files Browse the repository at this point in the history
  • Loading branch information
jorge-romero committed Aug 6, 2020
1 parent fdb7bb9 commit 62e039f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/test/groovy/org/ods/e2e/ODSSpec.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -865,9 +865,12 @@ class ODSSpec extends BaseSpec {
baseUrl = getJenkinsBaseUrl(project.key)

and: 'Login again in jenkins as it has been rebooted'
waitFor('extremelySlow') {
doJenkinsLoginProcess()
if ($("body > div >h1").text()?.toLowerCase()?.contains('application is not available') != null) {
waitFor('extremelySlow') {
doJenkinsLoginProcess()
}
}

def parameters = [environment: 'dev', version: 'WIP',]
to JenkinsConsoleParametrizedBuildPage, project.key, releaseManagerPipelineJob
fillData(parameters)
Expand Down

0 comments on commit 62e039f

Please sign in to comment.