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

Test reliability: styleOptions.js #2776

Closed
compulim opened this issue Dec 27, 2019 · 0 comments · Fixed by #2777
Closed

Test reliability: styleOptions.js #2776

compulim opened this issue Dec 27, 2019 · 0 comments · Fixed by #2777
Assignees

Comments

@compulim
Copy link
Contributor

Feature Request

FAIL __tests__/styleOptions.js (19.191s)
  ● style options › hide scroll to bottom button

    Expected image to match or be a close match to snapshot but was 1.4891493055555556% different from snapshot (3431 differing pixels).
    �[1m�[31mSee diff for details:�[39m�[22m �[31m/home/vsts/work/1/s/__tests__/__image_snapshots__/chrome-docker/__diff_output__/style-options-js-style-options-hide-scroll-to-bottom-button-1-diff.png�[39m

      49 |     await pageObjects.scrollToTop();
      50 | 
    > 51 |     expect(await driver.takeScreenshot()).toMatchImageSnapshot(imageSnapshotOptions);
         |                                           ^
      52 | 
      53 |     await pageObjects.updateProps({ styleOptions: { hideScrollToEndButton: true } });
      54 | 

      at _callee2$ (__tests__/styleOptions.js:51:43)
      at tryCatch (node_modules/regenerator-runtime/runtime.js:45:40)
      at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:271:22)
      at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:97:21)
      at tryCatch (node_modules/regenerator-runtime/runtime.js:45:40)
      at invoke (node_modules/regenerator-runtime/runtime.js:135:20)
      at node_modules/regenerator-runtime/runtime.js:145:13

 › 1 snapshot failed.

image

[Enhancement]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant