Last active
July 23, 2016 19:29
-
-
Save tourdedave/c24c264e0861e0b98421b877ab485e76 to your computer and use it in GitHub Desktop.
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
test.afterEach(function() { | |
var testName = this.currentTest.fullTitle(), | |
testResult = (this.currentTest.state === 'passed') ? true : false; | |
driver.executeScript('sauce:job-name=' + testName); | |
driver.executeScript('sauce:job-result=' + testResult); | |
driver.quit(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment