devbook_ts/cypress/integration/smoke.spec.js
Ruidy 9f01f46f75
Continuous Integration using Github Actions (#1)
* 🧪install cypress

run yarn cypress to open E2E test runner
run yarn test to tun unit tests

* 🔧 set cypress up

- define a baseUrl in cypress.json
- create a smoke.spec.js to check config.

* fix error in README
2020-05-12 10:15:56 +02:00

6 lines
117 B
JavaScript

describe('smoke', () => {
it('sees learn', () => {
cy.visit('/');
cy.get('a').contains('Learn');
});
});