mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-15 19:47:57 +01:00
15 lines
338 B
TypeScript
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");
|
||
|
}
|
||
|
}
|