File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
test/deploy/onboarding-tests/roles/configure/tasks Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ - debug :
3
+ msg : Tests E2E
4
+
5
+ - name : Clone the Onboarding tests repository
6
+ git :
7
+ repo : https://github.com/newrelic/onboarding-e2e-tests.git
8
+ dest : /home/user/
9
+ become : yes
10
+
11
+ - name : Write Permissions for repo
12
+ shell : " chmod 755 onboarding-e2e-tests"
13
+ become : yes
14
+
15
+ - name : Trigger Onboarding tests
16
+ shell : " cd onboarding-e2e-tests"
17
+ become : yes
18
+
19
+ - name : Create env file
20
+ shell : " touch .env"
21
+ become : yes
22
+
23
+ - name : Store values in env file
24
+ shell : " echo -e ENV_SECRET_EMAIL='${ENV_SECRET_EMAIL}' \n ENV_SECRET_PASSWORD='${ENV_SECRET_PASSWORD}' > .env"
25
+ become : yes
26
+
27
+ - name : npm install
28
+ shell : " npm install"
29
+ become : yes
30
+
31
+ - name : Install Playwright
32
+ shell :
" npx [email protected] install --with-deps chromium"
33
+ become : yes
34
+
35
+ - name : Test playwright scripts
36
+ shell : " npx playwright test"
37
+ become : yes
38
+
You can’t perform that action at this time.
0 commit comments