Skip to content

Commit

Permalink
fix: integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
friedjoff committed Mar 10, 2020
1 parent 30dd31a commit 51835f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cypress/integration/location.spec.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
const { location } = require('../../src/i18n/resources/de/translation.json');

describe('Location', () => {
beforeEach(() => {
cy.visit('');
cy.get('[data-cypress=welcomeModalGo]').click();
cy.get('.ui.menu > :nth-child(1)').click();
});

it('shows message "under construction"', () => {
cy.get('.ui.big.message').contains(location.underConstruction);
});
});
2 changes: 2 additions & 0 deletions cypress/integration/projection.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ describe('Projection mode', () => {
beforeEach(() => {
cy.visit('');
cy.get('[data-cypress=welcomeModalGo]').click();
cy.get('.ui.menu > :nth-child(2)').click();
});

it('finds toggle buttons for projection mode', () => {
Expand Down Expand Up @@ -29,6 +30,7 @@ describe('Projection in form mode', () => {
beforeEach(() => {
cy.visit('');
cy.get('[data-cypress=welcomeModalGo]').click();
cy.get('.ui.menu > :nth-child(2)').click();
cy.get('[data-cypress=projectionModeFormButton]').click();
});

Expand Down

0 comments on commit 51835f5

Please # to comment.