Scroll to bottom on setting page

jh-changes
Shin'ya Ueoka 5 years ago
parent 807ba97c4f
commit fd7509276e
  1. 1
      e2e/options_form.test.js

@ -69,6 +69,7 @@ describe("options form page", () => {
let useFormInput = await session.findElementByCSS('#setting-source-form'); let useFormInput = await session.findElementByCSS('#setting-source-form');
await useFormInput.click(); await useFormInput.click();
await session.acceptAlert(); await session.acceptAlert();
await session.executeScript(() => window.scrollBy(0, 1000));
// assert default // assert default
let settings = (await browser.storage.local.get('settings')).settings; let settings = (await browser.storage.local.get('settings')).settings;