mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-03-19 05:53:44 +00:00
Added cypress e2e tests
This commit is contained in:
12
cypress/integration/intro.spec.js
Normal file
12
cypress/integration/intro.spec.js
Normal 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');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user