svgedit/cypress/integration/ui/key-commands.js

15 lines
343 B
JavaScript
Raw Normal View History

2020-01-21 03:50:06 +00:00
import {
visitAndApproveStorage
} from '../../support/ui-test-helper.js';
// See https://github.com/SVG-Edit/svgedit/issues/364
describe('Key commands', function () {
beforeEach(() => {
visitAndApproveStorage();
});
2020-01-21 04:05:29 +00:00
it('cmd-A on empty canvas should not cause an error', function () {
2020-01-21 03:50:06 +00:00
cy.get('body').type('{cmd}a');
});
});