File tree 2 files changed +14
-4
lines changed 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 31
31
sudo docker-compose up -d
32
32
echo 'deployed successfully on server' "
33
33
34
+ - name : Check the deployed service URL
35
+ uses : jtalk/url-health-check-action@v4
36
+ with :
37
+ url : ${{ secrets.ADLNET_STAGING_LRS_HOST_URL }}
38
+ max-attempts : 10
39
+ retry-delay : 10s
40
+
34
41
cypress-testing :
35
42
name : Cypress run
36
43
environment : staging
@@ -42,10 +49,13 @@ jobs:
42
49
LRS_PASSWORD : ${{ secrets.ADLNET_STAGING_LRS_PASSWORD }}
43
50
LRS_HOST_URL : ${{ secrets.ADLNET_STAGING_LRS_HOST_URL }}
44
51
steps :
52
+ - name : Checkout
53
+ uses : actions/checkout@v2
54
+
45
55
- name : Cypress run
46
56
uses : cypress-io/github-action@v6
47
57
with :
48
- working-directory : tests/cypress
58
+ working-directory : ./ tests/cypress
49
59
50
60
conformance-testing :
51
61
runs-on : ubuntu-latest
64
74
owner : adlnet
65
75
repository : lrs-conformance-test-suite
66
76
depth : 1
67
- branch : master
77
+ branch : adding-back-compat
68
78
69
79
- name : Run LRS Conformance Suite
70
80
run : |
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ describe("Logged-In Behavior", () => {
6
6
7
7
it ( "Allows Admin to Log In." , ( ) => {
8
8
9
- let adminName = Cypress . env ( "LRS_ADMIN_NAME " ) ;
10
- let adminPass = Cypress . env ( "LRS_ADMIN_PASS " ) ;
9
+ let adminName = Cypress . env ( "LRS_USERNAME " ) ;
10
+ let adminPass = Cypress . env ( "LRS_PASSWORD " ) ;
11
11
12
12
cy . get ( '#menuLink1' ) . click ( ) ;
13
13
You can’t perform that action at this time.
0 commit comments