Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
qlu-cls committed May 22, 2024
1 parent ca3c51d commit 51e2fef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions end-to-end-test/local/specs/hide-download-controls.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
var assert = require('assert');
const { timeout } = require('d3');
var goToUrlAndSetLocalStorage = require('../../shared/specUtils')
.goToUrlAndSetLocalStorage;
var waitForStudyQueryPage = require('../../shared/specUtils')
Expand Down Expand Up @@ -602,9 +603,9 @@ describe('hide download controls feature', function() {
describe('survival tab', () => {
it('global check for icon and occurrence of "Download" as a word', () => {
$('.tabAnchor_survival').click();
$(
'[data-test=ComparisonPageSurvivalTabDiv]'
).waitForExist();
$('[data-test=SurvivalChart]').waitForExist({
timeout: 50000,
});
globalCheck();
});
});
Expand Down
3 changes: 2 additions & 1 deletion end-to-end-test/shared/wdio/wdio.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ exports.config = {
//
//

specs: [SPEC_FILE_PATTERN],
// specs: [SPEC_FILE_PATTERN],
specs: ['./local/specs/hide-download-controls.spec.js'],

exclude: ['./local/specs/web-tour.spec.js'],

Expand Down

0 comments on commit 51e2fef

Please sign in to comment.