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: focus.js should not focus send box after clicking on send button #2737

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

Test reliability: focus.js should not focus send box after clicking on send button #2737

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

Comments

@compulim
Copy link
Contributor

Feature Request

FAIL __tests__/focus.js (70.604s)
  ● should not focus send box after clicking on send button

    expect(received).resolves.toBeFalsy()

    Received: true

      23 |   await pageObjects.clickSendButton();
      24 | 
    > 25 |   await expect(sendBoxTextBoxFocused().fn(driver)).resolves.toBeFalsy();
         |                                                             ^
      26 | });
      27 | 
      28 | // Verification of fix of #1971, https://github.com/microsoft/BotFramework-WebChat/issues/1971

      at Object.toBeFalsy (node_modules/expect/build/index.js:202:20)
      at _callee$ (__tests__/focus.js:25:61)
      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)

[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.

2 participants