Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update testcafe version to 3.6.2 #28075

Draft
wants to merge 17 commits into
base: 24_2
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion apps/demos/.testcaferc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
],
"screenshots": {
"path": "./",
"pathPattern": "${TEST}.png"
"pathPattern": "${TEST}.png",
"textDiffTreshold": 0.1
},
"pageLoadTimeout": 10000
}
2 changes: 1 addition & 1 deletion apps/demos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
"stylelint-config-recommended-vue": "1.5.0",
"stylelint-config-standard": "35.0.0",
"systemjs-builder": "0.16.15",
"testcafe": "2.6.2",
"testcafe": "3.6.2",
"ts-node": "10.9.2"
},
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions apps/demos/utils/visual-tests/testcafe-runner.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ async function main() {
.concurrency(concurrency || 1)
.run({
quarantineMode: process.env.TCQUARANTINE ? { successThreshold: 1, attemptLimit: 5 } : false,
disableNativeAutomation: true,
});

await tester.close();
Expand Down
3 changes: 2 additions & 1 deletion e2e/testcafe-devextreme/.testcaferc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"pathPattern": "/artifacts/failedtests/${TEST}"
},
"screenshots-comparer": {
"path": "./"
"path": "./",
"textDiffTreshold": 0.1
}
}
2 changes: 1 addition & 1 deletion e2e/testcafe-devextreme/helpers/restoreBrowserSize.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// eslint-disable-next-line @typescript-eslint/no-type-alias
type BrowserSizeType = [width: number, height: number];
const DEFAULT_BROWSER_SIZE: BrowserSizeType = [1200, 800];
const DEFAULT_BROWSER_SIZE: BrowserSizeType = [1200, 1000];

const restoreBrowserSize = async (t: TestController):
Promise<any> => {
Expand Down
2 changes: 1 addition & 1 deletion e2e/testcafe-devextreme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"devextreme-testcafe-models": "workspace:*",
"minimist": "1.2.8",
"nconf": "0.12.1",
"testcafe": "2.5.0"
"testcafe": "3.6.2"
}
}
5 changes: 3 additions & 2 deletions e2e/testcafe-devextreme/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ createTestCafe({

const runOptions = {
quarantineMode: { successThreshold: 1, attemptLimit: 5 },
disableNativeAutomation: true,
};

if(args.componentFolder.trim() !== 'renovation') {
Expand Down Expand Up @@ -158,9 +159,9 @@ function setShadowDom(args) {
function expandBrowserAlias(browser) {
switch(browser) {
case 'chrome:devextreme-shr2':
return 'chrome:headless --disable-gpu --window-size=1200,800';
return 'chrome:headless --disable-gpu --window-size=1200,1000';
case 'chrome:docker':
return 'chromium:headless --no-sandbox --disable-gpu --window-size=1200,800';
return 'chromium:headless --no-sandbox --disable-gpu --window-size=1200,1000';
}

return browser;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading