From d31cfca1389209c4ea723c983b7c169697c21fd3 Mon Sep 17 00:00:00 2001 From: Michael Li Date: Thu, 18 Apr 2024 11:49:46 -0400 Subject: [PATCH] chore(e2e): Update playwright to 1.43 (#2254) When running the Admin UI e2e tests against 0.16.0, there were some issues with trying to click on a link on the new pagination tables (links were not seen as visible). For some reason, updating the playwright version fixed this. --- ui/admin/package.json | 2 +- ui/desktop/package.json | 4 ++-- yarn.lock | 34 ++++++++++++++-------------------- 3 files changed, 17 insertions(+), 23 deletions(-) diff --git a/ui/admin/package.json b/ui/admin/package.json index 8767f3494..7717ab10a 100644 --- a/ui/admin/package.json +++ b/ui/admin/package.json @@ -60,7 +60,7 @@ "@glimmer/component": "^1.1.2", "@glimmer/tracking": "^1.1.2", "@hashicorp/ember-asciinema-player": "https://github.com/hashicorp/ember-asciinema-player.git#e047a096039cff70234c232efe75dcad74c6358a", - "@playwright/test": "^1.30.0", + "@playwright/test": "^1.43.0", "babel-loader": "^8.2.5", "broccoli-asset-rev": "^3.0.0", "concurrently": "^8.0.1", diff --git a/ui/desktop/package.json b/ui/desktop/package.json index b3534ff07..e01514639 100644 --- a/ui/desktop/package.json +++ b/ui/desktop/package.json @@ -63,7 +63,7 @@ "@faker-js/faker": "^8.0.2", "@glimmer/component": "^1.1.2", "@glimmer/tracking": "^1.1.2", - "@playwright/test": "^1.30.0", + "@playwright/test": "^1.43.0", "babel-loader": "^8.2.5", "broccoli-asset-rev": "^3.0.0", "concurrently": "^8.0.1", @@ -104,7 +104,7 @@ "eslint-plugin-qunit": "^8.0.1", "js-bexpr": "hashicorp/js-bexpr#9b4a4b54d85eba67fdfc0990133d1518d890b1e1", "loader.js": "^4.7.0", - "playwright": "^1.30.0", + "playwright": "^1.43.0", "prettier": "^3.0.0", "qunit": "^2.19.4", "qunit-dom": "^2.0.0", diff --git a/yarn.lock b/yarn.lock index f3ad11c70..11867b775 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5295,13 +5295,12 @@ mkdirp "^1.0.4" rimraf "^3.0.2" -"@playwright/test@^1.30.0": - version "1.30.0" - resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.30.0.tgz#8c0c4930ff2c7be7b3ec3fd434b2a3b4465ed7cb" - integrity sha512-SVxkQw1xvn/Wk/EvBnqWIq6NLo1AppwbYOjNLmyU0R1RoQ3rLEBtmjTnElcnz8VEtn11fptj1ECxK0tgURhajw== +"@playwright/test@^1.43.0": + version "1.43.1" + resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.43.1.tgz#16728a59eb8ce0f60472f98d8886d6cab0fa3e42" + integrity sha512-HgtQzFgNEEo4TE22K/X7sYTYNqEMMTZmFS8kTq6m8hXj+m1D8TgwgIbumHddJa9h4yl4GkKb8/bgAl2+g7eDgA== dependencies: - "@types/node" "*" - playwright-core "1.30.0" + playwright "1.43.1" "@popperjs/core@^2.9.0": version "2.11.8" @@ -17863,22 +17862,17 @@ pkg-up@^3.1.0: dependencies: find-up "^3.0.0" -playwright-core@1.30.0: - version "1.30.0" - resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.30.0.tgz#de987cea2e86669e3b85732d230c277771873285" - integrity sha512-7AnRmTCf+GVYhHbLJsGUtskWTE33SwMZkybJ0v6rqR1boxq2x36U7p1vDRV7HO2IwTZgmycracLxPEJI49wu4g== +playwright-core@1.43.1: + version "1.43.1" + resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.43.1.tgz#0eafef9994c69c02a1a3825a4343e56c99c03b02" + integrity sha512-EI36Mto2Vrx6VF7rm708qSnesVQKbxEWvPrfA1IPY6HgczBplDx7ENtx+K2n4kJ41sLLkuGfmb0ZLSSXlDhqPg== -playwright-core@1.39.0: - version "1.39.0" - resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.39.0.tgz#efeaea754af4fb170d11845b8da30b2323287c63" - integrity sha512-+k4pdZgs1qiM+OUkSjx96YiKsXsmb59evFoqv8SKO067qBA+Z2s/dCzJij/ZhdQcs2zlTAgRKfeiiLm8PQ2qvw== - -playwright@^1.30.0: - version "1.39.0" - resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.39.0.tgz#184c81cd6478f8da28bcd9e60e94fcebf566e077" - integrity sha512-naE5QT11uC/Oiq0BwZ50gDmy8c8WLPRTEWuSSFVG2egBka/1qMoSqYQcROMT9zLwJ86oPofcTH2jBY/5wWOgIw== +playwright@1.43.1, playwright@^1.43.0: + version "1.43.1" + resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.43.1.tgz#8ad08984ac66c9ef3d0db035be54dd7ec9f1c7d9" + integrity sha512-V7SoH0ai2kNt1Md9E3Gwas5B9m8KR2GVvwZnAI6Pg0m3sh7UvgiYhRrhsziCmqMJNouPckiOhk8T+9bSAK0VIA== dependencies: - playwright-core "1.39.0" + playwright-core "1.43.1" optionalDependencies: fsevents "2.3.2"