Skip to content

Test reliability: textbox.js #2691

@compulim

Description

@compulim

Feature Request

On every test reliability problems, please copy-and-paste the log here.

useTextBox.js

Log

FAIL __tests__/hooks/useTextBox.js (11.629s)
  ● calling submit should scroll to end

> [email protected] test /home/vsts/work/1/s
    Expected image to match or be a close match to snapshot but was 1.4874131944444444% different from snapshot (3427 differing pixels).
    �[1m�[31mSee diff for details:�[39m�[22m �[31m/home/vsts/work/1/s/__tests__/__image_snapshots__/chrome-docker/__diff_output__/use-text-box-js-calling-submit-should-scroll-to-end-2-diff.png�[39m

      36 |   await driver.wait(scrollToBottomCompleted(), timeouts.scrollToBottom);
      37 | 
    > 38 |   expect(await driver.takeScreenshot()).toMatchImageSnapshot(imageSnapshotOptions);
         |                                         ^
      39 | });
      40 | 

      at _callee$ (__tests__/hooks/useTextBox.js:38:41)
      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 asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
      at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)

 › 1 snapshot failed.

Screenshot

image

[Enhancement]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions