mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-12 23:54:07 -08:00
d46050c974
* use user-folder override consistently everywhere, including for the `.cache` folder * use consistent config for e2e tesing, skipping config loading from env and config files * simplify all the cypress commands, and run all e2e tests on master * add tests for skipping owner setup * add todos Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
19 lines
488 B
TypeScript
19 lines
488 B
TypeScript
import { BasePage } from "../base";
|
|
|
|
export class MessageBox extends BasePage {
|
|
getters = {
|
|
modal: () => cy.get('.el-message-box', { withinSubject: null }),
|
|
header: () => this.getters.modal().find('.el-message-box__title'),
|
|
confirm: () => this.getters.modal().find('.btn--confirm'),
|
|
cancel: () => this.getters.modal().find('.btn--cancel'),
|
|
};
|
|
actions = {
|
|
confirm: () => {
|
|
this.getters.confirm().click();
|
|
},
|
|
cancel: () => {
|
|
this.getters.cancel().click();
|
|
},
|
|
};
|
|
}
|