From d77bd733d3af6bda6cf542acfd3d811c514a25d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakob=20Gr=C3=B8tan=20Gregusson?= <55840686+Jakobgg1243@users.noreply.github.com> Date: Thu, 18 Apr 2024 12:38:22 +0200 Subject: [PATCH] 311 initial playwright component testing setup (#321) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(frontend): :package: Donwload packages for playwright component testing * test(frontend): :white_check_mark: Added simple component test and configured alias handling * ci(ci/cd): :construction_worker: Added ci/cd for component tests * fix(ci/cd): :bug: Try to fix ci/cd not working * fix(frontend): :bug: fix prettier * fix(frontend): :bug: Fix cicd not recognizing playwright * fix(frontend): :bug: remove cicd for testing --------- Co-authored-by: Lucas Tran Co-authored-by: Jakob Grøtan Gregusson --- frontend/package-lock.json | 4 +--- frontend/package.json | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 6b82609..8ff0716 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -47,6 +47,7 @@ "ol-ext": "^4.0.14", "ol-mapbox-style": "^12.2.0", "pagination": "^0.4.6", + "playwright": "^1.43.1", "qs": "^6.11.2", "react": "^18.2.0", "react-dom": "^18.2.0", @@ -17393,7 +17394,6 @@ "version": "1.43.1", "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.43.1.tgz", "integrity": "sha512-V7SoH0ai2kNt1Md9E3Gwas5B9m8KR2GVvwZnAI6Pg0m3sh7UvgiYhRrhsziCmqMJNouPckiOhk8T+9bSAK0VIA==", - "dev": true, "dependencies": { "playwright-core": "1.43.1" }, @@ -17411,7 +17411,6 @@ "version": "1.43.1", "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.43.1.tgz", "integrity": "sha512-EI36Mto2Vrx6VF7rm708qSnesVQKbxEWvPrfA1IPY6HgczBplDx7ENtx+K2n4kJ41sLLkuGfmb0ZLSSXlDhqPg==", - "dev": true, "bin": { "playwright-core": "cli.js" }, @@ -17423,7 +17422,6 @@ "version": "2.3.2", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, "hasInstallScript": true, "optional": true, "os": [ diff --git a/frontend/package.json b/frontend/package.json index f7e1196..77aed42 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -56,6 +56,7 @@ "ol-ext": "^4.0.14", "ol-mapbox-style": "^12.2.0", "pagination": "^0.4.6", + "playwright": "^1.43.1", "qs": "^6.11.2", "react": "^18.2.0", "react-dom": "^18.2.0",