wisemapping-frontend/packages/webapp/cypress/pageObject/MapsPage.ts
2022-07-13 01:45:36 +00:00

15 lines
338 B
TypeScript

export default class MapsPage {
static isLoaded() {
return cy.findByTestId('create');
}
static create() {
return cy.findByTestId('create').click();
}
static isCreateDialogVisible() {
//TODO move to findByText when the double create dialog issue is solved
return cy.findAllByText('Create a new mindmap');
}
}