Skip to content

Commit 278a2fe

Browse files
authored
Merge pull request #262 from veghdev/integrationtest_timeout
Integration test remove dynamic test case timeout
2 parents 8fed843 + fa4d5fb commit 278a2fe

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

test/integration/modules/browser/browsers-chrome.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class BrowsersChrome {
1313
#browsersLogFilePrefix;
1414
#browsersLogTimeStamp;
1515

16-
#timeout = 120000;
16+
#timeout = 30000;
1717

1818
constructor(
1919
browsersNum,
@@ -99,11 +99,6 @@ class BrowsersChrome {
9999
throw new Error("browsersNum is integer");
100100
}
101101
this.#browsersNum = browsersNum;
102-
103-
let rate = 0.1;
104-
this.#timeout = parseInt(
105-
this.#timeout * Math.pow(1 + rate, this.#browsersNum)
106-
);
107102
}
108103

109104
getTimeout() {

test/integration/modules/vizzu/vizzu-version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class VizzuVersion {
3535
vizzuUrl
3636
)
3737
.then(() => {
38-
browserChrome.waitUntilTitleIs("Finished", 1000000).then(() => {
38+
browserChrome.waitUntilTitleIs("Finished", 30000).then(() => {
3939
browserChrome
4040
.executeScript("return vizzuVersion")
4141
.then((VizzuVersion) => {

0 commit comments

Comments
 (0)