test: pass full Mocha test to takeScreenshot for unique screenshot names

This commit is contained in:
Girish Ramakrishnan
2026-04-29 17:10:55 +02:00
parent 45d54349ad
commit 09434e0870
+1 -1
View File
@@ -11,7 +11,7 @@ describe('Application life cycle test', function () {
after(teardownBrowser);
afterEach(async function () {
await takeScreenshot(this.currentTest.title);
await takeScreenshot(this.currentTest);
});
async function checkRegistrationClosed() {