* 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
18 lines
426 B
JavaScript
18 lines
426 B
JavaScript
import {
|
|
visitAndApproveStorage
|
|
} from '../../support/ui-test-helper.js';
|
|
|
|
describe('UI - Tool selection', function () {
|
|
beforeEach(() => {
|
|
visitAndApproveStorage();
|
|
});
|
|
|
|
it('should set rectangle selection by click', function () {
|
|
cy.get('#tools_rect')
|
|
.should('not.have.attr', 'pressed');
|
|
cy.get('#tools_rect')
|
|
.trigger('click', {force: true})
|
|
.should('have.attr', 'pressed');
|
|
});
|
|
});
|