Added cypress e2e tests

This commit is contained in:
Przemek Wiech
2020-02-14 23:46:46 +01:00
parent 543a910c2f
commit 358f6c6a7d
6 changed files with 937 additions and 37 deletions

View File

@@ -0,0 +1,12 @@
describe('Intro page', () => {
beforeEach(() => {
cy.visit('/');
});
it('displays intro text', () => {
cy.contains('Here are some examples');
});
it('displays menu', () => {
cy.contains('Load from URL');
cy.contains('Load from file');
});
});