Skip to content

Commit

Permalink
monorepo: update smoke ci action for debugging scheduled runs
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredh159 committed Dec 22, 2023
1 parent e06b27f commit c8cf0d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
name: smoke

on:
push:
schedule:
# every 6 hours
- cron: 0 */6 * * *
- cron: '*/5 * * * *'

jobs:
smoke:
name: smoke
smoke-test:
name: smoke-test
runs-on: ubuntu-latest
steps:
- name: test-slack
- name: checkout
uses: actions/checkout@v3
- name: install pnpm
Expand Down
2 changes: 1 addition & 1 deletion smoke/cypress/e2e/smoke.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe(`Smoke test`, () => {
cy.get(`input[name=email]`).type(email);
cy.get(`input[name=password]`).type(`${password}{enter}`);
cy.contains(`Verification email sent`);
cy.wait(Cypress.env(`CI`) ? 10000 : 2500);
cy.wait(Cypress.env(`CI`) ? 60000 : 5000);

// verify email
cy.request({ url: Cypress.env(`SMOKE_TEST_EMAIL_INBOX_URL`) }).then((response) => {
Expand Down

0 comments on commit c8cf0d5

Please sign in to comment.