* commit toward svgcanvas/svgedit isolation * jquery removal, isolate svgcavas from svgedit, tests * refactor(panels) * fix update of colorpickers * update cypress * #tool_imagelib image library menu missing in main menu * #tool_imagelib lint issue fixed * #seConfirmDialog confirm change to elix alertdialog * #seConfirmDialog alert change to elix alert dialog * #seConfirmDialog remove super.attributeChangedCallback * #process_cancel prompt changes to alertDialog and seConfirmDialog * refactor to class step 1 * make load faster * #storageDialog dialog separate moved dialog * #process_cancel alert and process_cancel changes * #process_cancel lint issue fixed * add seList component * merge * fixes * storagedialog * move all storage related code to ext-storage * fix ruler * Update ConfigObj.js * fix resize * Update ext-storage.js * picker starts withthe right color * fix prefs * fix initial content load * npm update and fix some tests * npm run build
25 lines
590 B
JavaScript
25 lines
590 B
JavaScript
export const approveStorage = () => {
|
|
// JFH will need to be chnaged when dialog is changed...
|
|
cy.get('#storage_ok').click();
|
|
};
|
|
|
|
export const visitAndApproveStorage = () => {
|
|
cy.visit('/instrumented/editor/index.html');
|
|
approveStorage();
|
|
};
|
|
|
|
export const openMainMenu = () => {
|
|
return cy.get('#main_button').click();
|
|
};
|
|
|
|
export const openEditorPreferences = () => {
|
|
openMainMenu();
|
|
return cy.get('#tool_editor_prefs').click();
|
|
};
|
|
|
|
export const selectEnglish = () => {
|
|
openEditorPreferences();
|
|
cy.get('#lang_select').select('en');
|
|
cy.get('#tool_prefs_save').click();
|
|
};
|