Skip to content

Commit

Permalink
files (#357)
Browse files Browse the repository at this point in the history
* files

* chnages
  • Loading branch information
rstens authored Jun 11, 2021
1 parent 5778cb0 commit b14a037
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -450,12 +450,20 @@ jobs:
- name: Checkout Target Branch
uses: actions/checkout@v2

- name: Wait for application response
uses: nev7n/[email protected]
with:
url: 'https://biohubbc-app-${{ github.event.number }}-af2668-dev.apps.silver.devops.gov.bc.ca'
responseCode: 200
timeout: 120000
interval: 500

- name: E2E Smoke tests
uses: cypress-io/github-action@v2
# let's give this action an ID so we can refer
# to its output values later
id: smoke
continue-on-error: true
continue-on-error: false
with:
wait-on: 'https://biohubbc-app-${{ github.event.number }}-af2668-dev.apps.silver.devops.gov.bc.ca'
wait-on-timeout: 120
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/deployStatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -532,12 +532,20 @@ jobs:
- name: Checkout Target Branch
uses: actions/checkout@v2

- name: Wait for application response
uses: nev7n/[email protected]
with:
url: 'https://${{ github.base_ref }}-biohubbc.apps.silver.devops.gov.bc.ca/'
responseCode: 200
timeout: 120000
interval: 500

- name: E2E Smoke tests
uses: cypress-io/github-action@v2
# let's give this action an ID so we can refer
# to its output values later
id: smoke
continue-on-error: true
continue-on-error: false
with:
wait-on: 'https://${{ github.base_ref }}-biohubbc.apps.silver.devops.gov.bc.ca/'
wait-on-timeout: 120
Expand Down
4 changes: 2 additions & 2 deletions testing/e2e/cypress/page-functions/common/login-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function login(userName,passWord) {

export function logout() {
//Make sure we can see the logout button
cy.get('[data-testid="menu_log_out"]').should('be.visible')
// cy.get('[data-testid="menu_log_out"]').should('be.visible')

cy.get('[data-testid="menu_log_out"]').click();
// cy.get('[data-testid="menu_log_out"]').click();
}

0 comments on commit b14a037

Please sign in to comment.