Skip to content

Commit

Permalink
#127 test with new ui
Browse files Browse the repository at this point in the history
Signed-off-by: nicolaskolbenschlag <[email protected]>
  • Loading branch information
nicolaskolbenschlag committed Jan 11, 2023
1 parent 9f3619f commit dbcc60b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Apps/frontend/cypress/e2e/3-control-panel-top/gnd-button.cy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/// <reference types="cypress" />

describe("resetButton", () => {
beforeEach(() => {
cy.visit("http://localhost:5173/");
});

it("is visible", () => {
cy.get(".control-panel--top_general").should("be.visible");
cy.get('[data-cy="gnd-button"]').should("be.visible");
});

it("is clickable", () => {
cy.get('[data-cy="gnd-button"]').click();
});
});

0 comments on commit dbcc60b

Please sign in to comment.