Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-38088] Check for replay buttons
  • Loading branch information
imeredith committed Feb 1, 2017
1 parent 4cffef0 commit e51f13e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/test/js/notMultibranch/pipelineRunning.js
Expand Up @@ -43,7 +43,12 @@ module.exports = {
blueActivityPage.waitForElementVisible('@toastOpenButton')

//check it spins and then is done
blueActivityPage.waitForElementVisible('#pipeRun-2');
blueActivityPage.waitForElementVisible('#pipeRun-2');
blueActivityPage.waitForRunSuccessVisible('pipeRun-2');

browser.elements('css selector', '.replay-button', function(res) {
browser.assert.equal(2, res.value.length, 'Correct number of replay buttons started');
})
},

};

0 comments on commit e51f13e

Please sign in to comment.