Skip to content

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

@compulim

Description

@compulim

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]

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