Fix completion e2e test

This commit is contained in:
Shin'ya UEOKA 2019-10-01 13:09:55 +00:00
parent 5291c4cca1
commit cb08141a55

View file

@ -40,7 +40,7 @@ describe("general completion test", () => {
let console = await page.showConsole(); let console = await page.showConsole();
let items = await console.getCompletions(); let items = await console.getCompletions();
assert.strictEqual(items.length, 10); assert.strictEqual(items.length, 11);
assert.deepStrictEqual(items[0], { type: 'title', text: 'Console Command' }); assert.deepStrictEqual(items[0], { type: 'title', text: 'Console Command' });
assert.ok(items[1].text.startsWith('set')) assert.ok(items[1].text.startsWith('set'))
assert.ok(items[2].text.startsWith('open')) assert.ok(items[2].text.startsWith('open'))