test: pass full Mocha test to takeScreenshot for unique screenshot names
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ describe('Application life cycle test', function () {
|
|||||||
after(teardownBrowser);
|
after(teardownBrowser);
|
||||||
|
|
||||||
afterEach(async function () {
|
afterEach(async function () {
|
||||||
await takeScreenshot(this.currentTest.title);
|
await takeScreenshot(this.currentTest);
|
||||||
});
|
});
|
||||||
|
|
||||||
async function checkRegistrationClosed() {
|
async function checkRegistrationClosed() {
|
||||||
|
|||||||
Reference in New Issue
Block a user