diff options
Diffstat (limited to 'e2e')
-rw-r--r-- | e2e/settings.js | 2 | ||||
-rw-r--r-- | e2e/tab.test.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/e2e/settings.js b/e2e/settings.js index e3e9787..b69e3e7 100644 --- a/e2e/settings.js +++ b/e2e/settings.js @@ -25,7 +25,7 @@ module.exports = { "$": { "type": "scroll.end" }, "d": { "type": "tabs.close" }, "D": { "type": "tabs.close", "selectLeft": true }, - "gd": { "type": "tabs.close.right" }, + "x$": { "type": "tabs.close.right" }, "!d": { "type": "tabs.close.force" }, "u": { "type": "tabs.reopen" }, "K": { "type": "tabs.prev", "count": 1 }, diff --git a/e2e/tab.test.js b/e2e/tab.test.js index aaaa5d7..c82890e 100644 --- a/e2e/tab.test.js +++ b/e2e/tab.test.js @@ -77,10 +77,10 @@ describe("tab test", () => { assert(current[2].url === tabs[2].url); }); - it('deletes all tabs to the right by gD', async () => { + it('deletes all tabs to the right by x$', async () => { await browser.tabs.update(tabs[1].id, { active: true }); let body = await session.findElementByCSS('body'); - await body.sendKeys('g', Key.Shift, 'D'); + await body.sendKeys('x', '$'); let current = await browser.tabs.query({ windowId: win.id }); assert(current.length === 2); |