mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-22 14:09:46 +03:00
Alright, try that
This commit is contained in:
parent
f25f42d071
commit
80eafff956
4
.github/workflows/CI.yml
vendored
4
.github/workflows/CI.yml
vendored
|
@ -31,4 +31,6 @@ jobs:
|
||||||
- name: Test
|
- name: Test
|
||||||
uses: coactions/setup-xvfb@v1
|
uses: coactions/setup-xvfb@v1
|
||||||
with:
|
with:
|
||||||
run: pnpm run test:all
|
run: |
|
||||||
|
pnpm --filter remotedev-redux-devtools-extension exec chromedriver &
|
||||||
|
pnpm run test:all
|
||||||
|
|
|
@ -60,6 +60,7 @@
|
||||||
"@types/styled-components": "^5.1.30",
|
"@types/styled-components": "^5.1.30",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"electron": "^27.0.4",
|
"electron": "^27.0.4",
|
||||||
|
"electron-chromedriver": "^27.1.3",
|
||||||
"esbuild": "^0.19.5",
|
"esbuild": "^0.19.5",
|
||||||
"eslint": "^8.53.0",
|
"eslint": "^8.53.0",
|
||||||
"eslint-config-airbnb": "^19.0.4",
|
"eslint-config-airbnb": "^19.0.4",
|
||||||
|
|
|
@ -14,7 +14,9 @@ describe('Chrome extension', function () {
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
driver = new webdriver.Builder()
|
driver = new webdriver.Builder()
|
||||||
.setChromeOptions(
|
.setChromeOptions(
|
||||||
new chrome.Options().addArguments(`load-extension=${path}`),
|
new chrome.Options()
|
||||||
|
.setBrowserVersion('stable')
|
||||||
|
.addArguments(`load-extension=${path}`),
|
||||||
)
|
)
|
||||||
.forBrowser('chrome')
|
.forBrowser('chrome')
|
||||||
.build();
|
.build();
|
||||||
|
@ -57,7 +59,7 @@ describe('Chrome extension', function () {
|
||||||
);
|
);
|
||||||
|
|
||||||
it('should get actions list', async () => {
|
it('should get actions list', async () => {
|
||||||
const url = 'http://zalmoxisus.github.io/examples/router/';
|
const url = 'https://zalmoxisus.github.io/examples/router/';
|
||||||
await driver.executeScript(`window.open('${url}')`);
|
await driver.executeScript(`window.open('${url}')`);
|
||||||
await delay(2000);
|
await delay(2000);
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,7 @@ describe('DevTools panel for Electron', function () {
|
||||||
|
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
driver = new webdriver.Builder()
|
driver = new webdriver.Builder()
|
||||||
|
.usingServer('http://localhost:9515')
|
||||||
.setChromeOptions(
|
.setChromeOptions(
|
||||||
new chrome.Options()
|
new chrome.Options()
|
||||||
.setChromeBinaryPath(electronPath)
|
.setChromeBinaryPath(electronPath)
|
||||||
|
|
|
@ -162,6 +162,9 @@ importers:
|
||||||
electron:
|
electron:
|
||||||
specifier: ^27.0.4
|
specifier: ^27.0.4
|
||||||
version: 27.0.4
|
version: 27.0.4
|
||||||
|
electron-chromedriver:
|
||||||
|
specifier: ^27.1.3
|
||||||
|
version: 27.1.3
|
||||||
esbuild:
|
esbuild:
|
||||||
specifier: ^0.19.5
|
specifier: ^0.19.5
|
||||||
version: 0.19.5
|
version: 0.19.5
|
||||||
|
@ -13636,6 +13639,18 @@ packages:
|
||||||
jake: 10.8.7
|
jake: 10.8.7
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/electron-chromedriver@27.1.3:
|
||||||
|
resolution: {integrity: sha512-dJ9dQTvT1zGLfOc5FhgRAptHuL6IbLMSkc+bccjI10WOCKedz9vHNE/p1x+4Nl3Yx/zNb2KReCEVsa/mIqI5YQ==}
|
||||||
|
engines: {node: '>=10.12.0'}
|
||||||
|
hasBin: true
|
||||||
|
requiresBuild: true
|
||||||
|
dependencies:
|
||||||
|
'@electron/get': 2.0.3
|
||||||
|
extract-zip: 2.0.1
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- supports-color
|
||||||
|
dev: true
|
||||||
|
|
||||||
/electron-to-chromium@1.4.582:
|
/electron-to-chromium@1.4.582:
|
||||||
resolution: {integrity: sha512-89o0MGoocwYbzqUUjc+VNpeOFSOK9nIdC5wY4N+PVUarUK0MtjyTjks75AZS2bW4Kl8MdewdFsWaH0jLy+JNoA==}
|
resolution: {integrity: sha512-89o0MGoocwYbzqUUjc+VNpeOFSOK9nIdC5wY4N+PVUarUK0MtjyTjks75AZS2bW4Kl8MdewdFsWaH0jLy+JNoA==}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user