mirror of
https://github.com/maputnik/editor.git
synced 2026-08-26 15:07:41 +00:00
Fix history test for linux
This commit is contained in:
@@ -6,8 +6,8 @@ describe("history", () => {
|
|||||||
|
|
||||||
before(() => {
|
before(() => {
|
||||||
const isMac = driver.isMac();
|
const isMac = driver.isMac();
|
||||||
undoKeyCombo = '{meta}z';
|
undoKeyCombo = isMac ? '{meta}z' : '{ctrl}z';
|
||||||
redoKeyCombo = isMac ? '{meta}{shift}z' : '{meta}y';
|
redoKeyCombo = isMac ? '{meta}{shift}z' : '{ctrl}y';
|
||||||
driver.beforeEach();
|
driver.beforeEach();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user