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-38673] update tests to run more stable
  • Loading branch information
scherler committed Oct 4, 2016
1 parent 70ad539 commit 859405b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
Expand Up @@ -17,7 +17,7 @@ module.exports = {
elements: {
code: 'code',
progressBar: 'div.loadingContainer',
logHeader: '.dialog .log-header',
logHeader: '.log-header',
fullLog: 'div.fullLog a',
followAlongOn: '.step-scroll-area.follow-along-on',
followAlongOff: '.step-scroll-area.follow-along-off',
Expand Down
3 changes: 1 addition & 2 deletions src/test/js/log-karaoke/freestyle.js
Expand Up @@ -32,8 +32,7 @@ module.exports = {

blueRunDetailPage.waitForJobRunEnded('hijo')
.waitForElementVisible('code')
.fullLogButtonNotPresent()
.expect.element('code').text.to.contain('freeStyle end');// this produces a long wait by big logs
.fullLogButtonNotPresent();
},
/** Check whether a log which exceed 150kb contains a link to full log and if clicked it disappear*/
'Step 05': function (browser) {
Expand Down
10 changes: 3 additions & 7 deletions src/test/resources/test_scripts/freestyle.sh
Expand Up @@ -2,14 +2,10 @@
echo `date` freeStyle start;
sleep 2;
echo `date` step 1;
sleep 1;
echo `date` step 2;
sleep 2;
echo `date` step 3;
sleep 2;
echo `date` freeStyle end;
COUNTER=0
while [ $COUNTER -lt 10001 ]; do
echo The counter is $COUNTER
let COUNTER=COUNTER+1
done
done
sleep 5;
echo `date` freeStyle end;

0 comments on commit 859405b

Please sign in to comment.