Skip to content
This repository was archived by the owner on Nov 24, 2021. It is now read-only.
This repository was archived by the owner on Nov 24, 2021. It is now read-only.

SauceLabs error: The test with session id null has already finished, and can't receive further commands. #32

@webteckie

Description

@webteckie

The keystone e2e tests sometimes failed with the following error. Need to figure out why NightwatchJS is not getting notified and/or it is not notifying KNE of any errors.

Running:  Date field should show correctly in the edit form
 ✔ Expected element <.EditForm-container .field-type-text[for="name"] input[name="name"]> to be visible - condition was met in 305ms
 ✔ Expected element <.EditForm-container .field-type-date[for="fieldA"] label[for="fieldA"]> to be visible - condition was met in 299ms
 ✔ Expected element <.EditForm-container .field-type-date[for="fieldA"] label[for="fieldA"]> text to equal: "Field A" - condition was met in 292ms
 ✔ Expected element <.EditForm-container .field-type-date[for="fieldA"] input[name="fieldA"]> to be visible - condition was met in 297ms
13:49:21:641 Sauce Connect: Closing Sauce Connect Tunnel
 ✔ Expected element <.EditForm-container .field-type-date[for="fieldA"] button> to be visible - condition was met in 296ms
 ✔ Expected element <.EditForm-container .field-type-date[for="fieldB"] label[for="fieldB"]> to be visible - condition was met in 295ms
 ✔ Expected element <.EditForm-container .field-type-date[for="fieldB"] label[for="fieldB"]> text to equal: "Field B" - condition was met in 295ms
 ✔ Expected element <.EditForm-container .field-type-date[for="fieldB"] input[name="fieldB"]> to be visible - condition was met in 317ms
 ✔ Expected element <.EditForm-container .field-type-date[for="fieldB"] button> to be visible - condition was met in 309ms
OK. 9 assertions passed. (2.714s)
Running:  Date field can be filled via the edit form
 ✔ Element <div[data-screen-id="item"]> was visible after 287 milliseconds.
 ✖ Expected element <div[data-alert-type="success"]> text to equal: "Your changes have been saved successfully" - element was not found  - expected "present" but got: "not present"
    at Object.Date field can be filled via the edit form (/home/travis/build/keystonejs/keystone/test/e2e/adminUI/tests/group006Fields/testDateField.js:84:29)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
FAILED:  1 assertions failed and 1 passed (1m 4s / 64966ms)
Error processing the server response: 
 ERROR The test with session id null has already finished, and can't receive further commands.
You can learn more at https://saucelabs.com/jobs/null
For help, please check https://wiki.saucelabs.com/display/DOCS/Common+Error+Messages
Error processing the server response: 
 ERROR The test with session id null has already finished, and can't receive further commands.
You can learn more at https://saucelabs.com/jobs/null
For help, please check https://wiki.saucelabs.com/display/DOCS/Common+Error+Messages
Error processing the server response: 
 ERROR The test with session id null has already finished, and can't receive further commands.
You can learn more at https://saucelabs.com/jobs/null
For help, please check https://wiki.saucelabs.com/display/DOCS/Common+Error+Messages
Error processing the server response: 
 ERROR The test with session id null has already finished, and can't receive further commands.
You can learn more at https://saucelabs.com/jobs/null
For help, please check https://wiki.saucelabs.com/display/DOCS/Common+Error+Messages
Error processing the server response: 
 ERROR The test with session id null has already finished, and can't receive further commands.
You can learn more at https://saucelabs.com/jobs/null
For help, please check https://wiki.saucelabs.com/display/DOCS/Common+Error+Messages
Error processing the server response: 
 ERROR The test with session id null has already finished, and can't receive further commands.
You can learn more at https://saucelabs.com/jobs/null
For help, please check https://wiki.saucelabs.com/display/DOCS/Common+Error+Messages
Error processing the server response: 
 ERROR The test with session id null has already finished, and can't receive further commands.
You can learn more at https://saucelabs.com/jobs/null
For help, please check https://wiki.saucelabs.com/display/DOCS/Common+Error+Messages
Error processing the server response: 
 ERROR The test with session id null has already finished, and can't receive further commands.
You can learn more at https://saucelabs.com/jobs/null
For help, please check https://wiki.saucelabs.com/display/DOCS/Common+Error+Messages
Error processing the server response: 

Metadata

Metadata

Assignees

No one assigned

    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