From fd77dc2b30a4dcb6e04b68f2153551a18559dec9 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Tue, 21 Jan 2020 11:50:06 +0800 Subject: [PATCH] - Testing: Add key commands test --- cypress/integration/ui/key-commands.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 cypress/integration/ui/key-commands.js diff --git a/cypress/integration/ui/key-commands.js b/cypress/integration/ui/key-commands.js new file mode 100644 index 00000000..b937a57b --- /dev/null +++ b/cypress/integration/ui/key-commands.js @@ -0,0 +1,14 @@ +import { + visitAndApproveStorage +} from '../../support/ui-test-helper.js'; + +// See https://github.com/SVG-Edit/svgedit/issues/364 +describe('Key commands', function () { + beforeEach(() => { + visitAndApproveStorage(); + }); + + it('ctrl-A causes error', function () { + cy.get('body').type('{cmd}a'); + }); +});