Fix e2e test

jh-changes
Shin'ya Ueoka 5 years ago
parent c3752111c5
commit a97a395bc3
  1. 4
      e2e/options_form.test.ts

@ -38,8 +38,6 @@ describe("options form page", () => {
it('add blacklist item', async () => { it('add blacklist item', async () => {
let page = await OptionPage.open(lanthan); let page = await OptionPage.open(lanthan);
let forms = await page.switchToForm(); let forms = await page.switchToForm();
// Scroll is required to click a button on Firefox 60
await page.scrollTo(0, 1000);
// assert default // assert default
let settings = (await browser.storage.local.get('settings')).settings; let settings = (await browser.storage.local.get('settings')).settings;
@ -67,8 +65,6 @@ describe("options form page", () => {
it('add a partial blacklist item', async () => { it('add a partial blacklist item', async () => {
let page = await OptionPage.open(lanthan); let page = await OptionPage.open(lanthan);
let forms = await page.switchToForm(); let forms = await page.switchToForm();
// Scroll is required to click a button on Firefox 60
await page.scrollTo(0, 1000);
// assert default // assert default
let settings = (await browser.storage.local.get('settings')).settings; let settings = (await browser.storage.local.get('settings')).settings;