From d076ada956a14e64f0d73c1086a03409251a0017 Mon Sep 17 00:00:00 2001 From: Igor Lobanov Date: Mon, 3 Feb 2025 13:22:35 +0100 Subject: [PATCH] paywright install move to bamboo spec (temp) --- Makefile | 13 ------------- bamboo-specs/test.yaml | 4 +++- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index 9e2e0c77..89e5faf4 100644 --- a/Makefile +++ b/Makefile @@ -110,19 +110,6 @@ js-deps: ; $(NPM) $(NPM_INSTALL_FLAGS) ci js-lint: ; $(NPM) $(NPM_FLAGS) run lint js-test: ; $(NPM) $(NPM_FLAGS) run test js-test-e2e: ; $(NPM) $(NPM_FLAGS) run test:e2e -js-deps-e2e: - rm -rf ~/.cache/ms-playwright - - @npx playwright install - @echo "Playwright installation complete" - - @npx playwright --version || { echo "ERROR: Playwright installation failed"; exit 1; } - - @npx playwright show-browsers || { echo "ERROR: Playwright browsers are missing"; exit 1; } - - @ls -l ~/.cache/ms-playwright/ || { echo "ERROR: Playwright browser binaries not found"; exit 1; } - - @echo "Playwright setup verified successfully" go-bench: ; $(ENV) "$(SHELL)" ./scripts/make/go-bench.sh go-build: ; $(ENV) "$(SHELL)" ./scripts/make/go-build.sh diff --git a/bamboo-specs/test.yaml b/bamboo-specs/test.yaml index d7e726bc..49bcd7db 100644 --- a/bamboo-specs/test.yaml +++ b/bamboo-specs/test.yaml @@ -202,10 +202,12 @@ chmod +x ./AdGuardHome ls -l ./AdGuardHome + + npx playwright install --with-deps tree ./build/ - make VERBOSE=1 js-deps js-deps-e2e js-test-e2e + make VERBOSE=1 js-deps js-test-e2e 'requirements': - 'adg-docker': 'true'