wisemapping-frontend/packages/webapp/cypress/pageObject/MapsPage.ts
2021-02-22 22:37:29 -08:00

15 lines
363 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')
}
}