From c08eb88e1364694835fadb0a91161832d05d4dab Mon Sep 17 00:00:00 2001 From: Trey Hayden <33755714+vbhayden@users.noreply.github.com> Date: Thu, 21 Mar 2024 11:49:19 -0400 Subject: [PATCH] fixes to cts + cypress tests --- .github/workflows/cicd.yml | 5 ++++- tests/cypress/e2e/login.cy.js | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) 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();