Skip to content

Commit 5483728

Browse files
authored
ci: added daily scheduled run to e2e test workflow (#147)
* ci: added scheduled run to github workflow * test: removed setupWallet to prevent setting up twice
1 parent f899dbe commit 5483728

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/e2e.yml

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
pull_request:
88
branches:
99
- main
10+
schedule:
11+
- cron: '0 0 * * *'
1012

1113
jobs:
1214
e2e:

test/e2e/specs/test.spec.js

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
/* eslint-disable ui-testing/no-disabled-tests */
22
describe('Wallet App Test Cases', () => {
33
context('Test commands', () => {
4-
it(`should setup Keplr account and connect with Agoric Chain`, () => {
5-
cy.setupWallet().then((setupFinished) => {
6-
expect(setupFinished).to.be.true;
4+
it(`should connect with Agoric Chain`, () => {
5+
cy.visit('/');
76

8-
cy.visit('/');
9-
10-
cy.acceptAccess().then((taskCompleted) => {
11-
expect(taskCompleted).to.be.true;
12-
});
7+
cy.acceptAccess().then((taskCompleted) => {
8+
expect(taskCompleted).to.be.true;
139
});
1410
});
1511

0 commit comments

Comments
 (0)