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

Commit

Permalink
[JENKINS-42515] tweak for new empty states on run details "changes" a…
Browse files Browse the repository at this point in the history
…nd "tests" tab
  • Loading branch information
Cliff Meyers committed Mar 31, 2017
1 parent 9f96ea6 commit 1eda0ba
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/main/js/page_objects/blueocean/bluePipelineRunDetail.js
Expand Up @@ -22,7 +22,7 @@ module.exports = {
fullLog: 'div.fullLog a',
followAlongOn: '.step-scroll-area.follow-along-on',
followAlongOff: '.step-scroll-area.follow-along-off',
emptystate: 'div.empty-state',
runDetailsEmpty: '.RunDetailsEmpty',
emptystateQueued: 'div.empty-state span.waiting',
detailTitle: '.ResultPageHeader-main',
closeButton: '.ResultPageHeader-close',
Expand Down Expand Up @@ -249,7 +249,7 @@ module.exports.commands = [{
*/
validateEmpty: function () {
const self = this;
self.waitForElementVisible('@emptystate');
self.waitForElementVisible('@runDetailsEmpty');
return self;
},
/**
Expand Down
2 changes: 1 addition & 1 deletion src/test/js/log-karaoke/stages-block.js
Expand Up @@ -77,6 +77,6 @@ module.exports = {
.validateNotEmptyArtifacts(1)
.waitForElementVisible('@artifactTable');
blueRunDetailPage.clickTab('changes');
blueRunDetailPage.waitForElementVisible('@emptystate');
blueRunDetailPage.validateEmpty();
}
};
2 changes: 1 addition & 1 deletion src/test/js/log-karaoke/stages-new.js
Expand Up @@ -77,6 +77,6 @@ module.exports = {
.validateNotEmptyArtifacts(1)
.waitForElementVisible('@artifactTable');
blueRunDetailPage.clickTab('changes');
blueRunDetailPage.waitForElementVisible('@emptystate');
blueRunDetailPage.validateEmpty();
}
};
2 changes: 1 addition & 1 deletion src/test/js/log-karaoke/stages-old.js
Expand Up @@ -82,6 +82,6 @@ module.exports = {
.validateNotEmptyArtifacts(1)
.waitForElementVisible('@artifactTable');
blueRunDetailPage.clickTab('changes');
blueRunDetailPage.waitForElementVisible('@emptystate');
blueRunDetailPage.validateEmpty();
}
};

0 comments on commit 1eda0ba

Please sign in to comment.