Skip to content

Commit

Permalink
ci: added daily scheduled run to e2e test workflow (#147)
Browse files Browse the repository at this point in the history
* ci: added scheduled run to github workflow

* test: removed setupWallet to prevent setting up twice
  • Loading branch information
frazarshad authored Mar 26, 2024
1 parent f899dbe commit 5483728
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
pull_request:
branches:
- main
schedule:
- cron: '0 0 * * *'

jobs:
e2e:
Expand Down
12 changes: 4 additions & 8 deletions test/e2e/specs/test.spec.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
/* eslint-disable ui-testing/no-disabled-tests */
describe('Wallet App Test Cases', () => {
context('Test commands', () => {
it(`should setup Keplr account and connect with Agoric Chain`, () => {
cy.setupWallet().then((setupFinished) => {
expect(setupFinished).to.be.true;
it(`should connect with Agoric Chain`, () => {
cy.visit('/');

cy.visit('/');

cy.acceptAccess().then((taskCompleted) => {
expect(taskCompleted).to.be.true;
});
cy.acceptAccess().then((taskCompleted) => {
expect(taskCompleted).to.be.true;
});
});

Expand Down

0 comments on commit 5483728

Please sign in to comment.