Skip to content

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

e2e fix

sytolka35552db7d0d
diff --git a/tests/e2e/viewer-audiovideo.pw.e2e.js b/tests/e2e/viewer-audiovideo.pw.e2e.js
index 627ac06e7..8ed8ef8d8 100644
--- a/tests/e2e/viewer-audiovideo.pw.e2e.js
+++ b/tests/e2e/viewer-audiovideo.pw.e2e.js
@@ -109,13 +109,13 @@ test.describe('TST59 - Media player', () => {
/**
* for mp4 codecs missing web on Chromium browser
*/
- test('TST5905 - Play webm [web,minio,electron]', async ({ isWeb }) => {
+ test('TST5905 - Play webm [web,minio,electron]', async ({ isWeb, isWin }) => {
await openContextEntryMenu(
getGridFileSelector('sample.webm'),
'fileMenuOpenFile',
);
- await expectMediaPlay(isWeb ? false : true);
+ await expectMediaPlay(!(isWeb || isWin));
// Access the iframe
/*const iframeElement = await global.client.waitForSelector('iframe');