diff --git a/.github/workflows/testcafe_tests.yml b/.github/workflows/testcafe_tests.yml index e091afad0283..36348b4d698f 100644 --- a/.github/workflows/testcafe_tests.yml +++ b/.github/workflows/testcafe_tests.yml @@ -81,25 +81,25 @@ jobs: fail-fast: false matrix: ARGS: [ - # { componentFolder: "accessibility", name: "accessibility (1/5)", indices: "1/5" }, - # { componentFolder: "accessibility", name: "accessibility (2/5)", indices: "2/5" }, - # { componentFolder: "accessibility", name: "accessibility (3/5)", indices: "3/5" }, - # { componentFolder: "accessibility", name: "accessibility (4/5)", indices: "4/5" }, - # { componentFolder: "accessibility", name: "accessibility (5/5)", indices: "5/5" }, - # { componentFolder: "accessibility", name: "accessibility - material (1/7)", theme: "material.blue.light", indices: "1/7" }, - # { componentFolder: "accessibility", name: "accessibility - material (2/7)", theme: "material.blue.light", indices: "2/7" }, - # { componentFolder: "accessibility", name: "accessibility - material (3/7)", theme: "material.blue.light", indices: "3/7" }, - # { componentFolder: "accessibility", name: "accessibility - material (4/7)", theme: "material.blue.light", indices: "4/7" }, - # { componentFolder: "accessibility", name: "accessibility - material (5/7)", theme: "material.blue.light", indices: "5/7" }, - # { componentFolder: "accessibility", name: "accessibility - material (6/7)", theme: "material.blue.light", indices: "6/7" }, - # { componentFolder: "accessibility", name: "accessibility - material (7/7)", theme: "material.blue.light", indices: "7/7" }, - # { componentFolder: "accessibility", name: "accessibility - fluent (1/7)", theme: "fluent.blue.light", indices: "1/7" }, - # { componentFolder: "accessibility", name: "accessibility - fluent (2/7)", theme: "fluent.blue.light", indices: "2/7" }, - # { componentFolder: "accessibility", name: "accessibility - fluent (3/7)", theme: "fluent.blue.light", indices: "3/7" }, - # { componentFolder: "accessibility", name: "accessibility - fluent (4/7)", theme: "fluent.blue.light", indices: "4/7" }, - # { componentFolder: "accessibility", name: "accessibility - fluent (5/7)", theme: "fluent.blue.light", indices: "5/7" }, - # { componentFolder: "accessibility", name: "accessibility - fluent (6/7)", theme: "fluent.blue.light", indices: "6/7" }, - # { componentFolder: "accessibility", name: "accessibility - fluent (7/7)", theme: "fluent.blue.light", indices: "7/7" }, + { componentFolder: "accessibility", name: "accessibility (1/5)", indices: "1/5" }, + { componentFolder: "accessibility", name: "accessibility (2/5)", indices: "2/5" }, + { componentFolder: "accessibility", name: "accessibility (3/5)", indices: "3/5" }, + { componentFolder: "accessibility", name: "accessibility (4/5)", indices: "4/5" }, + { componentFolder: "accessibility", name: "accessibility (5/5)", indices: "5/5" }, + { componentFolder: "accessibility", name: "accessibility - material (1/7)", theme: "material.blue.light", indices: "1/7" }, + { componentFolder: "accessibility", name: "accessibility - material (2/7)", theme: "material.blue.light", indices: "2/7" }, + { componentFolder: "accessibility", name: "accessibility - material (3/7)", theme: "material.blue.light", indices: "3/7" }, + { componentFolder: "accessibility", name: "accessibility - material (4/7)", theme: "material.blue.light", indices: "4/7" }, + { componentFolder: "accessibility", name: "accessibility - material (5/7)", theme: "material.blue.light", indices: "5/7" }, + { componentFolder: "accessibility", name: "accessibility - material (6/7)", theme: "material.blue.light", indices: "6/7" }, + { componentFolder: "accessibility", name: "accessibility - material (7/7)", theme: "material.blue.light", indices: "7/7" }, + { componentFolder: "accessibility", name: "accessibility - fluent (1/7)", theme: "fluent.blue.light", indices: "1/7" }, + { componentFolder: "accessibility", name: "accessibility - fluent (2/7)", theme: "fluent.blue.light", indices: "2/7" }, + { componentFolder: "accessibility", name: "accessibility - fluent (3/7)", theme: "fluent.blue.light", indices: "3/7" }, + { componentFolder: "accessibility", name: "accessibility - fluent (4/7)", theme: "fluent.blue.light", indices: "4/7" }, + { componentFolder: "accessibility", name: "accessibility - fluent (5/7)", theme: "fluent.blue.light", indices: "5/7" }, + { componentFolder: "accessibility", name: "accessibility - fluent (6/7)", theme: "fluent.blue.light", indices: "6/7" }, + { componentFolder: "accessibility", name: "accessibility - fluent (7/7)", theme: "fluent.blue.light", indices: "7/7" }, { componentFolder: "common", name: "common" }, { componentFolder: "common", name: "common - material", theme: 'material.blue.light' }, { componentFolder: "common", name: "common - fluent", theme: 'fluent.blue.light' }, diff --git a/e2e/testcafe-devextreme/helpers/clearPage.js b/e2e/testcafe-devextreme/helpers/clearPage.js index 161494a4af8f..fd84f3fd28ef 100644 --- a/e2e/testcafe-devextreme/helpers/clearPage.js +++ b/e2e/testcafe-devextreme/helpers/clearPage.js @@ -2,7 +2,7 @@ const testCafe = require('testcafe'); module.exports = { - clearTestPage: async function() { + clearTestPage: async function(t) { const shadowDom = process.env.shadowDom === 'true'; await testCafe.ClientFunction(() => { @@ -46,6 +46,6 @@ module.exports = { dependencies: { shadowDom, } - })(); + }).with({ boundTestRun: t })(); } }; diff --git a/e2e/testcafe-devextreme/runner.js b/e2e/testcafe-devextreme/runner.js index a3b8eddaff93..812106b568a6 100644 --- a/e2e/testcafe-devextreme/runner.js +++ b/e2e/testcafe-devextreme/runner.js @@ -113,24 +113,29 @@ createTestCafe({ quarantineMode: { successThreshold: 1, attemptLimit: 5 }, }; - if(args.componentFolder.trim() !== 'renovation') { - runOptions.hooks = { - test: { - before: async() => { - if(args.shadowDom) { - await addShadowRootTree(); - } - - if(args.theme) { - await changeTheme(args.theme); - } - }, - after: async() => { - await testPageUtils.clearTestPage(); + runOptions.hooks = { + test: { + before: async() => { + if(args.shadowDom) { + await addShadowRootTree(); + } + + if(args.theme) { + await changeTheme(args.theme); } }, - }; - } + after: async(t) => { + await testPageUtils.clearTestPage(t); + + await createTestCafe.ClientFunction(() => { + document.body.style.minHeight = '100px'; + }).with({ boundTestRun: t })(); + + await t.click(createTestCafe.Selector('body'), { offsetX: -1, offsetY: -1 }) + + } + }, + }; if(args.browsers === 'chrome:docker') { runOptions.disableScreenshots = true; diff --git a/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when input contains long text (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when input contains long text (fluent-blue-light).png index e7523fff434a..b10bc787059e 100644 Binary files a/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when input contains long text (fluent-blue-light).png and b/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when input contains long text (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when input contains long text (generic-light).png b/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when input contains long text (generic-light).png index 2618cee98c3c..3656dbcbad70 100644 Binary files a/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when input contains long text (generic-light).png and b/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when input contains long text (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when input contains long text (material-blue-light).png b/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when input contains long text (material-blue-light).png index d6d279323c30..ffb13e144320 100644 Binary files a/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when input contains long text (material-blue-light).png and b/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when input contains long text (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when send button has focus (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when send button has focus (fluent-blue-light).png index 342999363251..5f203d56158e 100644 Binary files a/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when send button has focus (fluent-blue-light).png and b/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when send button has focus (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when send button has focus (generic-light).png b/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when send button has focus (generic-light).png index 0414c71a2bc3..6bd3f1899323 100644 Binary files a/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when send button has focus (generic-light).png and b/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when send button has focus (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when send button has focus (material-blue-light).png b/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when send button has focus (material-blue-light).png index 82837614493c..214173ecfc66 100644 Binary files a/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when send button has focus (material-blue-light).png and b/e2e/testcafe-devextreme/tests/chat/etalons/Messagebox when send button has focus (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar middle position after typing in textarea (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar middle position after typing in textarea (fluent-blue-light).png index 96470d89fca5..380073a78a96 100644 Binary files a/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar middle position after typing in textarea (fluent-blue-light).png and b/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar middle position after typing in textarea (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar middle position after typing in textarea (generic-light).png b/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar middle position after typing in textarea (generic-light).png index ebecbc148930..ce61b5819f49 100644 Binary files a/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar middle position after typing in textarea (generic-light).png and b/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar middle position after typing in textarea (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar middle position after typing in textarea (material-blue-light).png b/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar middle position after typing in textarea (material-blue-light).png index 437ee2bdd46f..de979f919b3c 100644 Binary files a/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar middle position after typing in textarea (material-blue-light).png and b/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar middle position after typing in textarea (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar position after typing in textarea (fluent-blue-light).png b/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar position after typing in textarea (fluent-blue-light).png index a6590b3bf184..3ed84f484d1a 100644 Binary files a/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar position after typing in textarea (fluent-blue-light).png and b/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar position after typing in textarea (fluent-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar position after typing in textarea (generic-light).png b/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar position after typing in textarea (generic-light).png index eb8821f55c26..46eef8d278d5 100644 Binary files a/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar position after typing in textarea (generic-light).png and b/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar position after typing in textarea (generic-light).png differ diff --git a/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar position after typing in textarea (material-blue-light).png b/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar position after typing in textarea (material-blue-light).png index 20bbdbd6fe35..f4d5a2f9a955 100644 Binary files a/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar position after typing in textarea (material-blue-light).png and b/e2e/testcafe-devextreme/tests/chat/etalons/Messagelist scrollbar position after typing in textarea (material-blue-light).png differ diff --git a/e2e/testcafe-devextreme/tests/editors/radioGroup/etalons/RadioGroup in scaled container (fluent-blue-light-compact).png b/e2e/testcafe-devextreme/tests/editors/radioGroup/etalons/RadioGroup in scaled container (fluent-blue-light-compact).png index efeed0683f95..ea8795c6ff30 100644 Binary files a/e2e/testcafe-devextreme/tests/editors/radioGroup/etalons/RadioGroup in scaled container (fluent-blue-light-compact).png and b/e2e/testcafe-devextreme/tests/editors/radioGroup/etalons/RadioGroup in scaled container (fluent-blue-light-compact).png differ diff --git a/e2e/testcafe-devextreme/tests/navigation/splitter/resize.ts b/e2e/testcafe-devextreme/tests/navigation/splitter/resize.ts index 5a8a7a95f724..838bf986474f 100644 --- a/e2e/testcafe-devextreme/tests/navigation/splitter/resize.ts +++ b/e2e/testcafe-devextreme/tests/navigation/splitter/resize.ts @@ -1,12 +1,10 @@ import Splitter from 'devextreme-testcafe-models/splitter'; import url from '../../../helpers/getPageUrl'; import { createWidget } from '../../../helpers/createWidget'; -import { clearTestPage } from '../../../helpers/clearPage'; import { safeSizeTest } from '../../../helpers/safeSizeTest'; fixture.disablePageReloads`Splitter_integration` - .page(url(__dirname, '../../container.html')) - .afterEach(async () => clearTestPage()); + .page(url(__dirname, '../../container.html')); safeSizeTest('non resizable pane should not change its size during resize', async (t) => { const splitter = new Splitter('#container');