[js] Disable element in frame stale test
@@ -48,7 +48,7 @@ test.suite(function (env) {
}
)
- it('an element found in a different frame is stale', async function () {
+ xit('an element found in a different frame is stale', async function () {
await driver.get(Pages.missedJsReferencePage)
var frame = await driver.findElement(By.css('iframe[name="inner"]'))
@@ -57,7 +57,8 @@ test.suite(function (env) {
var el = await driver.findElement(By.id('oneline'))
await driver.switchTo().defaultContent()
return el.getText().then(assert.fail, function (e) {
- assert.ok(e instanceof error.StaleElementReferenceError)
+ assert.ok(e instanceof error.StaleElementReferenceError,
+ `The error is ${JSON.stringify(e)}`)
})
})
})
