mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-15 19:47:57 +01:00
eaf1b3d910
Adding cypress integration into the webapp * Merge branch 'master' into feat/cypress * moving the config files to ts * updating from master * adding pipeline config * updating the cypress base image to use the same node version * moving node to 14.15.4 * unifying all the tasks into one step * using cypress base image for the whole pipeline for now * removing cypress examples * adding readme for tests Approved-by: Ezequiel Bergamaschi
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");
|
|
}
|
|
}
|