From 09434e0870a0b196a72e44796358a1b45a8750b7 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 29 Apr 2026 17:10:55 +0200 Subject: [PATCH] test: pass full Mocha test to takeScreenshot for unique screenshot names --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 28ad143..926a20c 100755 --- a/test/test.js +++ b/test/test.js @@ -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() {