move to standard linter for simpler configuration

This commit is contained in:
JFH
2021-12-28 11:02:29 -03:00
parent 258e2bd6a1
commit fdcfc8a253
251 changed files with 19760 additions and 19935 deletions

View File

@@ -1,24 +1,24 @@
export const approveStorage = () => {
// JFH will need to be chnaged when dialog is changed...
cy.get('#storage_ok').click();
};
cy.get('#storage_ok').click()
}
export const visitAndApproveStorage = () => {
cy.visit('/instrumented/editor/index.html');
approveStorage();
};
cy.visit('/instrumented/editor/index.html')
approveStorage()
}
export const openMainMenu = () => {
return cy.get('#main_button').click({ force: true });
};
return cy.get('#main_button').click({ force: true })
}
export const openEditorPreferences = () => {
openMainMenu();
return cy.get('#tool_editor_prefs').click();
};
openMainMenu()
return cy.get('#tool_editor_prefs').click()
}
export const selectEnglish = () => {
openEditorPreferences();
cy.get('#lang_select').select('en');
cy.get('#tool_prefs_save').click();
};
openEditorPreferences()
cy.get('#lang_select').select('en')
cy.get('#tool_prefs_save').click()
}