diff --git a/.github/workflows/cypress.yaml b/.github/workflows/cypress.yaml index 0f588568bbc..1104d7f480d 100644 --- a/.github/workflows/cypress.yaml +++ b/.github/workflows/cypress.yaml @@ -1,8 +1,6 @@ name: Cypress Tests on: - schedule: - - cron: "30 22 * * *" pull_request: branches: - develop @@ -17,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - containers: [1, 2, 3, 4, 5, 6, 7, 8] + containers: [1, 2, 3, 4] env: REACT_CARE_API_URL: http://localhost:9000 steps: @@ -136,4 +134,4 @@ jobs: if: steps.pr_origin.outputs.is_forked == 'true' with: name: cypress-videos - path: cypress/videos + path: cypress/videos \ No newline at end of file diff --git a/cypress/pageobject/Users/UserSearch.ts b/cypress/pageobject/Users/UserSearch.ts index d72c00c0de7..1292395fce3 100644 --- a/cypress/pageobject/Users/UserSearch.ts +++ b/cypress/pageobject/Users/UserSearch.ts @@ -23,7 +23,7 @@ export class UserPage { } checkUsernameText(username: string) { - cy.get(this.usernameText).should("have.text", username); + cy.get(this.usernameText).should("contain.text", username); } checkUsernameBadgeVisibility(shouldBeVisible: boolean) {