mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-22 14:09:46 +03:00
Test removing chromedriver
This commit is contained in:
parent
8979004b53
commit
205a07c71c
|
@ -1,7 +1,6 @@
|
||||||
import { resolve } from 'path';
|
import { resolve } from 'path';
|
||||||
import webdriver from 'selenium-webdriver';
|
import webdriver from 'selenium-webdriver';
|
||||||
import chrome from 'selenium-webdriver/chrome';
|
import chrome from 'selenium-webdriver/chrome';
|
||||||
import chromedriver from 'chromedriver';
|
|
||||||
import { switchMonitorTests, delay } from '../utils/e2e';
|
import { switchMonitorTests, delay } from '../utils/e2e';
|
||||||
|
|
||||||
const port = 9515;
|
const port = 9515;
|
||||||
|
@ -14,7 +13,6 @@ describe('Chrome extension', function () {
|
||||||
let driver;
|
let driver;
|
||||||
|
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
chromedriver.start();
|
|
||||||
await delay(2000);
|
await delay(2000);
|
||||||
driver = new webdriver.Builder()
|
driver = new webdriver.Builder()
|
||||||
.usingServer(`http://localhost:${port}`)
|
.usingServer(`http://localhost:${port}`)
|
||||||
|
@ -27,7 +25,6 @@ describe('Chrome extension', function () {
|
||||||
|
|
||||||
afterAll(async () => {
|
afterAll(async () => {
|
||||||
await driver.quit();
|
await driver.quit();
|
||||||
chromedriver.stop();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should open extension's window", async () => {
|
it("should open extension's window", async () => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user