зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1500475 - Modify browser_jsterm_content_defined_helpers.js to find cause of intermittent; r=bgrins.
The log we currently receive are not really actionable (we are using ok, so we don't know what the received value actually is). Switching to is should give us what the value is when the test fails, which might help us fix the failure. Differential Revision: https://phabricator.services.mozilla.com/D9270 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
addcac2c93
Коммит
9396d88360
|
@ -55,7 +55,8 @@ async function performTests() {
|
|||
is(autocompleteItems.length, 1,
|
||||
`There's no duplicated "${helper}" item in the autocomplete popup`);
|
||||
const msg = await jsterm.execute(`${helper}()`);
|
||||
ok(msg.textContent.includes(PREFIX + helper), `output is correct for ${helper}()`);
|
||||
is(msg.textContent.trim(), `"${PREFIX + helper}"`,
|
||||
`output is correct for ${helper}()`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче