mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-01-31 11:51:41 +03:00
chore(deps): update dependency selenium-webdriver to v4 (#909)
* chore(deps): update dependency selenium-webdriver to v4 * Update Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Nathan Bierema <nbierema@gmail.com>
This commit is contained in:
parent
577943bfd1
commit
3dae06e2cb
|
@ -93,7 +93,7 @@
|
|||
"react-transform-catch-errors": "^1.0.2",
|
||||
"react-transform-hmr": "^1.0.4",
|
||||
"rimraf": "^3.0.2",
|
||||
"selenium-webdriver": "^3.6.0",
|
||||
"selenium-webdriver": "^4.0.0",
|
||||
"sinon-chrome": "^3.0.1",
|
||||
"style-loader": "^3.3.0",
|
||||
"ts-jest": "^27.0.7",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import { resolve } from 'path';
|
||||
import webdriver from 'selenium-webdriver';
|
||||
import chrome from 'selenium-webdriver/chrome';
|
||||
import chromedriver from 'chromedriver';
|
||||
import { switchMonitorTests, delay } from '../utils/e2e';
|
||||
|
||||
|
@ -17,11 +18,9 @@ describe('Chrome extension', function () {
|
|||
await delay(2000);
|
||||
driver = new webdriver.Builder()
|
||||
.usingServer(`http://localhost:${port}`)
|
||||
.withCapabilities({
|
||||
chromeOptions: {
|
||||
args: [`load-extension=${path}`],
|
||||
},
|
||||
})
|
||||
.setChromeOptions(
|
||||
new chrome.Options().addArguments(`load-extension=${path}`)
|
||||
)
|
||||
.forBrowser('chrome')
|
||||
.build();
|
||||
});
|
||||
|
@ -72,7 +71,6 @@ describe('Chrome extension', function () {
|
|||
|
||||
await driver.switchTo().window(tabs[1]);
|
||||
expect(await driver.getCurrentUrl()).toMatch(url);
|
||||
await driver.manage().timeouts().pageLoadTimeout(5000);
|
||||
|
||||
await driver.switchTo().window(tabs[0]);
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import { join } from 'path';
|
||||
import webdriver from 'selenium-webdriver';
|
||||
import chrome from 'selenium-webdriver/chrome';
|
||||
import electronPath from 'electron';
|
||||
import chromedriver from 'chromedriver';
|
||||
import { switchMonitorTests, delay } from '../utils/e2e';
|
||||
|
@ -16,15 +17,13 @@ describe('DevTools panel for Electron', function () {
|
|||
await delay(1000);
|
||||
driver = new webdriver.Builder()
|
||||
.usingServer(`http://localhost:${port}`)
|
||||
.withCapabilities({
|
||||
chromeOptions: {
|
||||
binary: electronPath,
|
||||
args: [`app=${join(__dirname, 'fixture')}`],
|
||||
},
|
||||
})
|
||||
.forBrowser('electron')
|
||||
.setChromeOptions(
|
||||
new chrome.Options()
|
||||
.setChromeBinaryPath(electronPath)
|
||||
.addArguments(`app=${join(__dirname, 'fixture')}`)
|
||||
)
|
||||
.forBrowser('chrome')
|
||||
.build();
|
||||
await driver.manage().timeouts().setScriptTimeout(10000);
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
|
@ -48,8 +47,6 @@ describe('DevTools panel for Electron', function () {
|
|||
/devtools:\/\/devtools\/bundled\/devtools_app.html/
|
||||
);
|
||||
|
||||
await driver.manage().timeouts().pageLoadTimeout(5000);
|
||||
|
||||
const id = await driver.executeAsyncScript(function (callback) {
|
||||
let attempts = 5;
|
||||
function showReduxPanel() {
|
||||
|
|
87
yarn.lock
87
yarn.lock
|
@ -19332,7 +19332,7 @@ fsevents@^1.2.7:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"jszip@npm:^3.1.3":
|
||||
"jszip@npm:^3.6.0":
|
||||
version: 3.7.1
|
||||
resolution: "jszip@npm:3.7.1"
|
||||
dependencies:
|
||||
|
@ -25823,7 +25823,7 @@ fsevents@^1.2.7:
|
|||
redux: ^4.1.1
|
||||
redux-persist: ^6.0.0
|
||||
rimraf: ^3.0.2
|
||||
selenium-webdriver: ^3.6.0
|
||||
selenium-webdriver: ^4.0.0
|
||||
sinon-chrome: ^3.0.1
|
||||
style-loader: ^3.3.0
|
||||
styled-components: ^5.3.3
|
||||
|
@ -26412,7 +26412,7 @@ resolve@^2.0.0-next.3:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"sax@npm:>=0.6.0, sax@npm:^1.2.4":
|
||||
"sax@npm:^1.2.4":
|
||||
version: 1.2.4
|
||||
resolution: "sax@npm:1.2.4"
|
||||
checksum: d3df7d32b897a2c2f28e941f732c71ba90e27c24f62ee918bd4d9a8cfb3553f2f81e5493c7f0be94a11c1911b643a9108f231dd6f60df3fa9586b5d2e3e9e1fe
|
||||
|
@ -26579,15 +26579,15 @@ resolve@^2.0.0-next.3:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"selenium-webdriver@npm:^3.6.0":
|
||||
version: 3.6.0
|
||||
resolution: "selenium-webdriver@npm:3.6.0"
|
||||
"selenium-webdriver@npm:^4.0.0":
|
||||
version: 4.0.0
|
||||
resolution: "selenium-webdriver@npm:4.0.0"
|
||||
dependencies:
|
||||
jszip: ^3.1.3
|
||||
rimraf: ^2.5.4
|
||||
tmp: 0.0.30
|
||||
xml2js: ^0.4.17
|
||||
checksum: 5bc1045d0205c5aed1f3e3cf8047d3bb677e370e96ae4a8acd172846c07aeb40c031bee5017a7c432bec36e46c5bbce82fe3b40086b7daa4cb31dcaf69daad55
|
||||
jszip: ^3.6.0
|
||||
rimraf: ^3.0.2
|
||||
tmp: ^0.2.1
|
||||
ws: ">=7.4.6"
|
||||
checksum: ac9861e9aa476bc6e5a45fba7b22c1a22478c90de3fecceb43df4e6390a6717855467222bfe775ad1b4bc504a9159a794a2a8b4370401279afb5878279ea7d9e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
@ -28748,15 +28748,6 @@ resolve@^2.0.0-next.3:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tmp@npm:0.0.30":
|
||||
version: 0.0.30
|
||||
resolution: "tmp@npm:0.0.30"
|
||||
dependencies:
|
||||
os-tmpdir: ~1.0.1
|
||||
checksum: d3e97e8e73b2d2dfff9916072004088b4737c67d11ea255d0ccc8584f252b253b60ecf04122b21848ec46ad5a92e31febc6d6a3068f6c8a20c9b0e23a802e78d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tmp@npm:0.0.31":
|
||||
version: 0.0.31
|
||||
resolution: "tmp@npm:0.0.31"
|
||||
|
@ -28775,6 +28766,15 @@ resolve@^2.0.0-next.3:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tmp@npm:^0.2.1":
|
||||
version: 0.2.1
|
||||
resolution: "tmp@npm:0.2.1"
|
||||
dependencies:
|
||||
rimraf: ^3.0.0
|
||||
checksum: 8b1214654182575124498c87ca986ac53dc76ff36e8f0e0b67139a8d221eaecfdec108c0e6ec54d76f49f1f72ab9325500b246f562b926f85bcdfca8bf35df9e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tmpl@npm:1.0.x":
|
||||
version: 1.0.5
|
||||
resolution: "tmpl@npm:1.0.5"
|
||||
|
@ -30782,6 +30782,21 @@ typescript@~4.4.4:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ws@npm:>=7.4.6, ws@npm:^8.1.0":
|
||||
version: 8.2.3
|
||||
resolution: "ws@npm:8.2.3"
|
||||
peerDependencies:
|
||||
bufferutil: ^4.0.1
|
||||
utf-8-validate: ^5.0.2
|
||||
peerDependenciesMeta:
|
||||
bufferutil:
|
||||
optional: true
|
||||
utf-8-validate:
|
||||
optional: true
|
||||
checksum: c869296ccb45f218ac6d32f8f614cd85b50a21fd434caf11646008eef92173be53490810c5c23aea31bc527902261fbfd7b062197eea341b26128d4be56a85e4
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ws@npm:^5.2.0 || ^6.0.0 || ^7.0.0, ws@npm:^7.4.6, ws@npm:^7.5.0":
|
||||
version: 7.5.5
|
||||
resolution: "ws@npm:7.5.5"
|
||||
|
@ -30797,21 +30812,6 @@ typescript@~4.4.4:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ws@npm:^8.1.0":
|
||||
version: 8.2.3
|
||||
resolution: "ws@npm:8.2.3"
|
||||
peerDependencies:
|
||||
bufferutil: ^4.0.1
|
||||
utf-8-validate: ^5.0.2
|
||||
peerDependenciesMeta:
|
||||
bufferutil:
|
||||
optional: true
|
||||
utf-8-validate:
|
||||
optional: true
|
||||
checksum: c869296ccb45f218ac6d32f8f614cd85b50a21fd434caf11646008eef92173be53490810c5c23aea31bc527902261fbfd7b062197eea341b26128d4be56a85e4
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"xdg-basedir@npm:^3.0.0":
|
||||
version: 3.0.0
|
||||
resolution: "xdg-basedir@npm:3.0.0"
|
||||
|
@ -30826,23 +30826,6 @@ typescript@~4.4.4:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"xml2js@npm:^0.4.17":
|
||||
version: 0.4.23
|
||||
resolution: "xml2js@npm:0.4.23"
|
||||
dependencies:
|
||||
sax: ">=0.6.0"
|
||||
xmlbuilder: ~11.0.0
|
||||
checksum: ca0cf2dfbf6deeaae878a891c8fbc0db6fd04398087084edf143cdc83d0509ad0fe199b890f62f39c4415cf60268a27a6aed0d343f0658f8779bd7add690fa98
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"xmlbuilder@npm:~11.0.0":
|
||||
version: 11.0.1
|
||||
resolution: "xmlbuilder@npm:11.0.1"
|
||||
checksum: 7152695e16f1a9976658215abab27e55d08b1b97bca901d58b048d2b6e106b5af31efccbdecf9b07af37c8377d8e7e821b494af10b3a68b0ff4ae60331b415b0
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"xmlchars@npm:^2.2.0":
|
||||
version: 2.2.0
|
||||
resolution: "xmlchars@npm:2.2.0"
|
||||
|
|
Loading…
Reference in New Issue
Block a user