Skip to content

TagSpaces is an offline, open source, document manager with tagging support

Add screenshot

sytolk22257c75a642
diff --git a/tests/e2e/perspective-grid-right-button.pw.e2e.js b/tests/e2e/perspective-grid-right-button.pw.e2e.js
index 60879431a..f2503ba0c 100644
--- a/tests/e2e/perspective-grid-right-button.pw.e2e.js
+++ b/tests/e2e/perspective-grid-right-button.pw.e2e.js
@@ -34,7 +34,8 @@ import {
setGridOptions,
showFilesWithTag,
waitForNotification,
- frameLocator
+ frameLocator,
+ takeScreenshot
} from './general.helpers';
import { AddRemoveTagsToSelectedFiles } from './perspective-grid.helpers';
import { startTestingApp, stopSpectronApp, testDataRefresh } from './hook';
@@ -78,6 +79,7 @@ describe('TST50** - Right button on a file', () => {
'[data-tid="fsEntryName_sample.txt"]', // perspectiveGridTable + firstFile,
'fileMenuOpenFile'
);
+ await takeScreenshot('fileMenuOpenFile');
await pExpect
.poll(
async () => {
@@ -92,6 +94,7 @@ describe('TST50** - Right button on a file', () => {
}
)
.toBe(true);
+ await takeScreenshot('bodyTxt_fileMenuOpenFile');
/*const containTID = toContainTID(bodyTxt);
if (!containTID) {