intern icon indicating copy to clipboard operation
intern copied to clipboard

Incorrect error message on IE

Open lzw5090 opened this issue 8 years ago • 0 comments

We run our tests by setting the pageLoad timeout to 0.003 second as shown below:

 functionalTimeouts: {
            connectTimeout: 1 * MINUTE,
            find: 30 * SECOND,
            pageLoad: 0.003 * SECOND,
        },

When running on Chrome, we get error:

"name":"ScriptTimeout",
"message":"[POST https://(redacted)@hub.browserstack.com:443/wd/hub/session...
{\"script\":\"return (function getCoverageData(coverageVariable) {\...
timeout
 (Session info: chrome=67.0.3396.62)
 (Driver info: chromedriver=2.38.551601
Command duration or timeout: 13 milliseconds
"request":{},"response":{"status":500}}

When running on Edge, we get error:

"name":"ScriptTimeout",
"message":"[POST https://(redacted)@hub.browserstack.com:443/wd/hub/session/...
{\"url\":\"https://localhost:44306/#showConsoleError\"}] 
Timeout 
Command duration or timeout: 80 milliseconds
Driver info: org.openqa.selenium.edge.EdgeDriver
"request":{},"response":{"status":500}}.

When running on IE, we get error:

"name":"Success",
"message":"[POST https://(redacted)@hub.browserstack.com:443/wd/hub/session/...
{\"url\":\"https://localhost:44306/#showConsoleError\"}]
The command executed successfully.",
"status":0,"detail":null,"request":{},"response":{"status":500}}]

Expected behavior

We should get the same 'timeout' error on IE.

Current behavior

The error message of IE is different from Chrome and Edge.

Environment

Intern version: "4.1.5" Node version: "v8.9.1" NPM version: "6.0.1" Browser version: Chrome 67.0, Edge 16.0, IE 11.0

lzw5090 avatar Jun 15 '18 04:06 lzw5090