- Testing: Switch to Cypress with code coverage

- npm: Add peerDeps
This commit is contained in:
Brett Zamir
2019-11-23 21:02:51 +08:00
parent e1671cc372
commit 3736fddb7f
17 changed files with 4957 additions and 2608 deletions

View File

@@ -0,0 +1,13 @@
export const approveStorage = () => {
return cy.get('#dialog_buttons > input[type=button][data-ok]')
.click();
};
export const openMainMenu = () => {
return cy.get('#main_icon').click();
};
export const openEditorPreferences = () => {
openMainMenu();
return cy.get('#tool_prefs_option').click();
};