Skip to content

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

fix e2e TST5016

sytolk0fcfb27512fa
diff --git a/package.json b/package.json
index ec6b46e13..1eae090e1 100644
--- a/package.json
+++ b/package.json
@@ -52,12 +52,12 @@
"generate-extensions": "node scripts/generateExtensionsConfig.js",
"install-ext-node-check": "npx cross-env PD_PLATFORM=node node scripts/checkWSinstalled.js",
"install-ext-web-check": "npx cross-env PD_PLATFORM=web node scripts/checkWSinstalled.js",
- "install-ext-node": "rimraf app/node_modules && npx @tagspaces/dynamic-packages-loading ./app -p node",
- "install-ext-node-linux": "rimraf app/node_modules && npx @tagspaces/dynamic-packages-loading ./app -p node --platform=linux --arch=x64",
- "install-ext-node-mac": "rimraf app/node_modules && npx @tagspaces/dynamic-packages-loading ./app -p node --platform=darwin --arch=x64",
- "install-ext-node-mac-arm64": "rimraf app/node_modules && npx @tagspaces/dynamic-packages-loading ./app -p node --platform=darwin --arch=arm64",
- "install-ext-node-win": "rimraf app/node_modules && npx @tagspaces/dynamic-packages-loading ./app -p node --platform=win32 --arch=x64",
- "install-ext-web": "rimraf app/node_modules && npx @tagspaces/dynamic-packages-loading ./app -p web",
+ "install-ext-node": "rimraf app/node_modules && npx @tagspaces/dynamic-packages-loading ./app -p node && npm run generate-extensions",
+ "install-ext-node-linux": "rimraf app/node_modules && npx @tagspaces/dynamic-packages-loading ./app -p node --platform=linux --arch=x64 && npm run generate-extensions",
+ "install-ext-node-mac": "rimraf app/node_modules && npx @tagspaces/dynamic-packages-loading ./app -p node --platform=darwin --arch=x64 && npm run generate-extensions",
+ "install-ext-node-mac-arm64": "rimraf app/node_modules && npx @tagspaces/dynamic-packages-loading ./app -p node --platform=darwin --arch=arm64 && npm run generate-extensions",
+ "install-ext-node-win": "rimraf app/node_modules && npx @tagspaces/dynamic-packages-loading ./app -p node --platform=win32 --arch=x64 && npm run generate-extensions",
+ "install-ext-web": "rimraf app/node_modules && npx @tagspaces/dynamic-packages-loading ./app -p web && npm run generate-extensions",
"lint": "tsc --noEmit && eslint '*/**/*.{js,ts,tsx}'",
"lint-fix": "npm run --silent lint --fix; exit 0",
"postlint-fix": "prettier --ignore-path .eslintignore --single-quote --write '**/*.{*{js,jsx,json},babelrc,eslintrc,prettierrc,stylelintrc}'",
@@ -84,7 +84,6 @@
"paste-android-linux": "adb shell input text '$(xclip -selection c -o)'",
"paste-android-macos": "adb shell input text \"'$(pbpaste)'\"",
"playwright-show-trace": "npx playwright show-trace \"tests/test-reports/TST0813 - Delete file [web,minio,electron].zip\"",
- "postinstall": "npm run generate-extensions",
"postinstall-cordova-check": "cross-env PD_PLATFORM=cordova node scripts/postinstall.js",
"postinstall-node-check": "cross-env PD_PLATFORM=node node scripts/postinstall.js",
"postinstall-electron-check": "cross-env PD_PLATFORM=electron node scripts/postinstall.js",
diff --git a/tests/e2e/perspective-grid-right-button.pw.e2e.js b/tests/e2e/perspective-grid-right-button.pw.e2e.js
index f2503ba0c..03df2d4fa 100644
--- a/tests/e2e/perspective-grid-right-button.pw.e2e.js
+++ b/tests/e2e/perspective-grid-right-button.pw.e2e.js
@@ -90,7 +90,7 @@ describe('TST50** - Right button on a file', () => {
{
message: 'make sure bodyTxt contain etete&5435', // custom error message
// Poll for 10 seconds; defaults to 5 seconds. Pass 0 to disable timeout.
- timeout: global.isWeb ? 40000 : 10000
+ timeout: 10000
}
)
.toBe(true);