Last active
March 6, 2018 17:06
-
-
Save codehag/97bb07df5507f49544ec51b2bab03f2a to your computer and use it in GitHub Desktop.
try test failure bookmarklet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //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