diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 8fa42bd7..0b061d1b 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -42,10 +42,13 @@ jobs: LRS_PASSWORD: ${{ secrets.ADLNET_STAGING_LRS_PASSWORD }} LRS_HOST_URL: ${{ secrets.ADLNET_STAGING_LRS_HOST_URL }} steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Cypress run uses: cypress-io/github-action@v6 with: - working-directory: tests/cypress + working-directory: ./tests/cypress conformance-testing: runs-on: ubuntu-latest diff --git a/tests/cypress/e2e/login.cy.js b/tests/cypress/e2e/login.cy.js index 2bc54d1f..f10b7b74 100644 --- a/tests/cypress/e2e/login.cy.js +++ b/tests/cypress/e2e/login.cy.js @@ -6,8 +6,8 @@ describe("Logged-In Behavior", () => { it("Allows Admin to Log In.", () => { - let adminName = Cypress.env("LRS_ADMIN_NAME"); - let adminPass = Cypress.env("LRS_ADMIN_PASS"); + let adminName = Cypress.env("LRS_USERNAME"); + let adminPass = Cypress.env("LRS_PASSWORD"); cy.get('#menuLink1').click();