diff --git a/test/func/common.hermione.conf.js b/test/func/common.hermione.conf.js index e40b867f1..ee3e07390 100644 --- a/test/func/common.hermione.conf.js +++ b/test/func/common.hermione.conf.js @@ -13,7 +13,7 @@ module.exports.getCommonConfig = (projectDir) => ({ desiredCapabilities: { browserName: 'chrome', 'goog:chromeOptions': { - args: ['headless', 'no-sandbox'], + args: ['headless', 'no-sandbox', 'hide-scrollbars'], binary: CHROME_BINARY_PATH } }, diff --git a/test/func/tests/common-gui/index.hermione.js b/test/func/tests/common-gui/index.hermione.js index 6f3d126f4..56ec87127 100644 --- a/test/func/tests/common-gui/index.hermione.js +++ b/test/func/tests/common-gui/index.hermione.js @@ -155,6 +155,7 @@ describe('GUI mode', () => { ); await retryButton.click(); + await retryButton.waitForClickable({reverse: true, timeout: 10000}); await retryButton.waitForClickable({timeout: 10000}); // Verify green retry button diff --git a/test/func/tests/common/test-results-appearance.hermione.js b/test/func/tests/common/test-results-appearance.hermione.js index ce5824d4c..a8fa33d3f 100644 --- a/test/func/tests/common/test-results-appearance.hermione.js +++ b/test/func/tests/common/test-results-appearance.hermione.js @@ -1,4 +1,10 @@ -const {getTestSectionByNameSelector, getImageSectionSelector, getTestStateByNameSelector, getElementWithTextSelector, hideHeader} = require('../utils'); +const { + getTestSectionByNameSelector, + getImageSectionSelector, + getTestStateByNameSelector, + getElementWithTextSelector, + hideHeader +} = require('../utils'); describe('Test results appearance', () => { beforeEach(async ({browser}) => { @@ -66,7 +72,7 @@ describe('Test results appearance', () => { ); await hideHeader(browser); - await browser.execute(() =>{ + await browser.execute(() => { window.scrollTo(0, 10000); }); @@ -122,7 +128,7 @@ describe('Test results appearance', () => { }); }); - describe('Test with successful describe and error', () => { + describe('Test with successful assertView and error', () => { it('should display error message, name and stack', async ({browser}) => { for (const field of ['message', 'name', 'stack']) { const errorMessage = browser.$( diff --git a/test/func/tests/screens/07c99c0/chrome/retry-switcher.png b/test/func/tests/screens/07c99c0/chrome/retry-switcher.png index d788a5e78..f1f7c2644 100644 Binary files a/test/func/tests/screens/07c99c0/chrome/retry-switcher.png and b/test/func/tests/screens/07c99c0/chrome/retry-switcher.png differ diff --git a/test/func/tests/screens/3144090/chrome/menu bar plugins clicked.png b/test/func/tests/screens/3144090/chrome/menu bar plugins clicked.png index eca819a17..ad0c56e02 100644 Binary files a/test/func/tests/screens/3144090/chrome/menu bar plugins clicked.png and b/test/func/tests/screens/3144090/chrome/menu bar plugins clicked.png differ diff --git a/test/func/tests/screens/5c90021/chrome/basic plugins.png b/test/func/tests/screens/5c90021/chrome/basic plugins.png index 7e9ab48f2..30d9c1180 100644 Binary files a/test/func/tests/screens/5c90021/chrome/basic plugins.png and b/test/func/tests/screens/5c90021/chrome/basic plugins.png differ diff --git a/test/func/tests/screens/67cd8d8/chrome/retry-switcher.png b/test/func/tests/screens/67cd8d8/chrome/retry-switcher.png index 3864eb304..ce7ee262e 100644 Binary files a/test/func/tests/screens/67cd8d8/chrome/retry-switcher.png and b/test/func/tests/screens/67cd8d8/chrome/retry-switcher.png differ diff --git a/test/func/tests/screens/be4ff5b/chrome/basic plugins clicked.png b/test/func/tests/screens/be4ff5b/chrome/basic plugins clicked.png index e60537dc7..94a27e30c 100644 Binary files a/test/func/tests/screens/be4ff5b/chrome/basic plugins clicked.png and b/test/func/tests/screens/be4ff5b/chrome/basic plugins clicked.png differ diff --git a/test/func/tests/screens/c0db305/chrome-pwt/details summary.png b/test/func/tests/screens/c0db305/chrome-pwt/details summary.png index 3f884f8ef..965a05ff8 100644 Binary files a/test/func/tests/screens/c0db305/chrome-pwt/details summary.png and b/test/func/tests/screens/c0db305/chrome-pwt/details summary.png differ diff --git a/test/func/tests/screens/c0db305/chrome/details summary.png b/test/func/tests/screens/c0db305/chrome/details summary.png index 82a84485a..bf0195573 100644 Binary files a/test/func/tests/screens/c0db305/chrome/details summary.png and b/test/func/tests/screens/c0db305/chrome/details summary.png differ diff --git a/test/func/tests/screens/d8c5b8a/chrome/redux plugin clicked.png b/test/func/tests/screens/d8c5b8a/chrome/redux plugin clicked.png index a2c802fe5..e964cdbb1 100644 Binary files a/test/func/tests/screens/d8c5b8a/chrome/redux plugin clicked.png and b/test/func/tests/screens/d8c5b8a/chrome/redux plugin clicked.png differ diff --git a/test/func/tests/screens/d90f7de/chrome-pwt/retry-selector.png b/test/func/tests/screens/d90f7de/chrome-pwt/retry-selector.png index 0ea2a4b54..052cdd571 100644 Binary files a/test/func/tests/screens/d90f7de/chrome-pwt/retry-selector.png and b/test/func/tests/screens/d90f7de/chrome-pwt/retry-selector.png differ diff --git a/test/func/tests/screens/d90f7de/chrome/retry-selector.png b/test/func/tests/screens/d90f7de/chrome/retry-selector.png index 052cdd571..0ea2a4b54 100644 Binary files a/test/func/tests/screens/d90f7de/chrome/retry-selector.png and b/test/func/tests/screens/d90f7de/chrome/retry-selector.png differ