**Author:** `jhall`

**Description:**
When it is feeling uncooperative, SauceLabs will report test results like this from a Chrome/Linux test of some or other aspect of Visual Editor:

https://wmf.ci.cloudbees.com/view/r-ve/job/VisualEditor-en.wikipedia.beta.wmflabs.org-linux-chrome/222/testReport/(root)/VisualEditor%20general%20text%20markup%20features/VisualEditor_general_markup__outline_example_____Underline____u_This_is_a_new_line__u____/

The browser response at the time of the failure was this helpful message:

https://saucelabs.com/jobs/58b6d51fe48b4eaf845939c1f3d6de20/0005screenshot.png

The Selenium log captured by SauceLabs reports:

[22.414][FINE]:     Command received (/session/7a6fd70f2bc2c63555f62ec29cc9d507/element) with params {
   "using": "xpath",
   "value": ".//span[contains(concat(' ', @class, ' '), ' oo-ui-iconedElement-icon oo-ui-icon-text-style ')]"
}

[22.414][FINER]:    Waiting for all views to stop loading...
[22.414][FINER]:    Done waiting for all views to stop loading
[22.447][FINER]:    Waiting for all views to stop loading...
[22.447][FINER]:    Done waiting for all views to stop loading
[22.447][WARNING]:  Command finished (/session/7a6fd70f2bc2c63555f62ec29cc9d507/element) with response {
   "sessionId": "7a6fd70f2bc2c63555f62ec29cc9d507",
   "status": 7,
   "value": {
      "message": "The element could not be found"
   }
}

…while the Sauce Log records several HTTP 500 conditions similar to this (I will attach the complete Sauce Log to this bug):

    {
        "HTTPStatus": 500, 
        "between_commands": 0.0773019790649414, 
        "duration": 0.036900997161865234, 
        "in_video_timeline": 19.80928897857666, 
        "method": "POST", 
        "path": "element", 
        "request": {
            "using": "xpath", 
            "value": ".//span[contains(concat(' ', @class, ' '), ' oo-ui-iconedElement-icon oo-ui-icon-text-style ')]"
        }, 
        "result": {
            "message": "The element could not be found"
        }, 
        "screenshot": null, 
        "statusCode": 7
    },

Need to investigate and figure out what is going on here...

--------------------------
**Version**: unspecified
**Severity**: normal