mirror of
https://git.cloudron.io/cloudron/syncthing-app
synced 2026-05-02 14:55:49 +00:00
test: pass full Mocha test to takeScreenshot for unique screenshot names
This commit is contained in:
+1
-1
@@ -14,7 +14,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 login(uname, pass) {
|
async function login(uname, pass) {
|
||||||
|
|||||||
Reference in New Issue
Block a user