From 0facf6c2f219fe16048e9e18364e72eb288a54dd Mon Sep 17 00:00:00 2001 From: Mike Bruzina Date: Thu, 18 Jan 2024 08:30:57 -0600 Subject: [PATCH] Revert "Create yaml file to clone and run onboarding e2e tests (#1006)" This reverts commit 3ee4aa10432d0c1a6aa60199169e85967f2eab66. --- .../roles/configure/tasks/main.yml | 39 ------------------- 1 file changed, 39 deletions(-) delete mode 100755 test/deploy/onboarding-tests/roles/configure/tasks/main.yml diff --git a/test/deploy/onboarding-tests/roles/configure/tasks/main.yml b/test/deploy/onboarding-tests/roles/configure/tasks/main.yml deleted file mode 100755 index 77837eba9..000000000 --- a/test/deploy/onboarding-tests/roles/configure/tasks/main.yml +++ /dev/null @@ -1,39 +0,0 @@ ---- -- debug: - msg: Tests E2E - -- name: Create directory - shell: "mkdir -p ~/tests && chmod 777 ~/tests" - -- name: Clone the Onboarding tests repository - git: - repo: https://github.com/newrelic/onboarding-e2e-tests.git - dest: ~/tests/onboarding-e2e-tests - -- name: Change directory for Onboarding tests - shell: "cd ~/tests/onboarding-e2e-tests && pwd" - -- name: Create env file - shell: "touch ~/tests/onboarding-e2e-tests/.env" - -- name: Store values in env file - shell: | - echo "ENV_SECRET_EMAIL='example@newrelic.com' \nENV_SECRET_PASSWORD='example'" >> ~/tests/onboarding-e2e-tests/.env - -- name: Write Permissions for repo - shell: "chmod 755 ~/tests/onboarding-e2e-tests" - -- name: npm install - shell: "npm install" - args: - chdir: ~/tests/onboarding-e2e-tests - -- name: Install Playwright - shell: "npx playwright@1.32.0 install --with-deps chromium" - args: - chdir: ~/tests/onboarding-e2e-tests - -- name: Test playwright scripts - shell: "npx playwright test" - args: - chdir: ~/tests/onboarding-e2e-tests