Skip to content

Commit d200043

Browse files
author
Bryan Lai
committed
fix flaky test when inputting geneset
1 parent 1ffc36f commit d200043

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

end-to-end-test/remote/specs/core/oncoprint.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -609,9 +609,9 @@ describe('oncoprint', function() {
609609
});
610610
await setInputText('textarea[data-test="geneSet"]', 'TP53');
611611
await browser.pause(100); // let things trigger
612-
await waitForElementDisplayed('button[data-test="queryButton"]', {
613-
timeout: 10000,
614-
});
612+
await (
613+
await getElement('[data-test="queryButton"]')
614+
).waitForEnabled({ timeout: 30000 });
615615
await clickElement('button[data-test="queryButton"]');
616616
await browser.pause(100); // wait for query to submit
617617
// go to oncoprint tab

0 commit comments

Comments
 (0)