Skip to content

Instantly share code, notes, and snippets.

@codehag
Last active March 6, 2018 17:06
Show Gist options
  • Select an option

  • Save codehag/97bb07df5507f49544ec51b2bab03f2a to your computer and use it in GitHub Desktop.

Select an option

Save codehag/97bb07df5507f49544ec51b2bab03f2a to your computer and use it in GitHub Desktop.
try test failure bookmarklet
//add this to a bookmark link field, and use it to collect try failures from a domain such as
// https://treeherder.mozilla.org/testview.html?repo=try&revision=a1372c8e3c8a4c3ecbda2ff84f7ea306fb95c1d7
// it will output the collected tests into the console!
javascript:%20(function()%20{%20var%20testNodes%20=%20document.querySelectorAll(".test");%20var%20failingTests%20=%20"";%20for%20(let%20testNode%20of%20testNodes)%20{%20%20%20failingTests%20+=%20testNode.textContent.trim()%20+"%20";%20}%20console.log(failingTests.trim())})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment