Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
… into ruby-on-rails-config
  • Loading branch information
abasha1234 committed Jan 31, 2024
2 parents 76b24b0 + 73ac866 commit 81ef42c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions test/deploy/onboarding-tests/roles/configure/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@

- name: Set test account email from Synthetic secrets
set_fact:
test_email: {{ test_email }}
"test_email": "{{ test_email }}"

- name: Set test account password from Synthetic secrets
set_fact:
test_password: {{ test_password }}
"test_password": "{{ test_password }}"

- name: Create directory
shell: "mkdir -p ~/tests && chmod 777 ~/tests"

- name: Install Git on Linux
become: yes
apt:
name: git
state: present

- name: Clone the Onboarding tests repository
git:
repo: https://github.com/newrelic/onboarding-e2e-tests.git
Expand Down Expand Up @@ -42,6 +48,7 @@
chdir: ~/tests/onboarding-e2e-tests

- name: Test playwright scripts
shell: "npx playwright test"
shell: "npx playwright test --config=playwright.config.validations.js"
args:
chdir: ~/tests/onboarding-e2e-tests

0 comments on commit 81ef42c

Please sign in to comment.