Skip to content

Commit

Permalink
test(e2e): added config-management test
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Mertens <[email protected]>

commit-id:2f10d1b6
  • Loading branch information
lukas-mertens committed Apr 23, 2024
1 parent 8c07aa7 commit 74ca449
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions cypress/e2e/config-management.cy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import {faker} from "@faker-js/faker";

describe("ConfigManagement", () => {
it('should be possible to create and save a new config', () => {
cy.connectToSimulator();
const configName = faker.word.words(1);
cy.createConfig(configName);
cy.get('#config-save-button').click();
cy.get('[data-cy="configs-expansion-panel"]').click();
cy.get('[data-cy="config-list-item"]').contains(configName).should('be.visible');
});
});

0 comments on commit 74ca449

Please sign in to comment.