wisemapping-frontend/packages/webapp/cypress/pageObject/MapsPage.ts

15 lines
338 B
TypeScript
Raw Normal View History

export default class MapsPage {
2022-07-13 03:45:36 +02:00
static isLoaded() {
return cy.findByTestId('create');
}
2022-07-13 03:45:36 +02:00
static create() {
return cy.findByTestId('create').click();
}
2022-07-13 03:45:36 +02:00
static isCreateDialogVisible() {
//TODO move to findByText when the double create dialog issue is solved
return cy.findAllByText('Create a new mindmap');
}
}