From 72a4269dd7c908dd2bd280cd9176472f855e2bac Mon Sep 17 00:00:00 2001 From: Francisco Di Giandomenico Date: Fri, 23 Jul 2021 09:07:38 -0300 Subject: [PATCH] Fix Jenkins tests (#702) * chore: add playwright as dev dep * chore: add preinstall scrpit for playwright * revert: remove playwright dep * build: add valkyr-setup script * build: add valkyr-setup script * build: add build-arg for NODE_ENV var * build: remove build-arg * build: try checking permissions on cache folder * build: cache path maps based on platform * build: add shelljs, install playwright with local browsers if needed * build: check if .local-browsers exists * test: run different script for valkyr tests * test: fix test:prod script name * test: removing parallelTests, setting normal test to use local browser * build: visualTesting * build: try adding helm requirements.yaml * build: add chart.yaml * build: add values.yaml * chore(deps): install playwright fixed version * build: add pw test dependency * build: remove playwright dep * build: delete chart * build: remove visualTest from valkyr * test: remove env var from test script * build: removing postinstall script * chore: delete valkyr-setup file * chore(deps): uninstall shelljs * chore(deps): uninstall playwright --- package-lock.json | 6 +++--- valkyr.yaml | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 10dd6d90e..1d4f120f8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14402,9 +14402,9 @@ } }, "playwright": { - "version": "1.12.3", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.12.3.tgz", - "integrity": "sha512-eyhHvZV7dMAUltqjQsgJ9CjZM8dznzN1+rcfCI6W6lfQ7IlPvTFGLuKOCcI4ETbjfbxqaS5FKIkb1WDDzq2Nww==", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.13.0.tgz", + "integrity": "sha512-GA5OyEeKx1v/pRcANmYncCT67Y7Y4N5zLRU5E690dn/Id10sooR5hQZmCDYsjXlutZb/1q0R3sITALnvhEjCjg==", "dev": true, "requires": { "commander": "^6.1.0", diff --git a/valkyr.yaml b/valkyr.yaml index 8e0483a62..a39f53d6c 100644 --- a/valkyr.yaml +++ b/valkyr.yaml @@ -5,6 +5,8 @@ version: 6.6 strategy: node-lib strategyVersion: 12 +runTestImage: api-console-test-dependency-playwright:v0.3.2 + requires: db: false staticAsset: false