Comments (2)
Hi,
Facing the same issue the electron window does not closes after the mocha test program exits with app.stop() and process stays in background.
"dependencies": {
"appium": "1.21.0",
"appium-adb": "8.12.3",
"appium-windows-driver": "1.19.0",
"archiver": "3.1.1",
"assert": "2.0.0",
"axios": "0.19.2",
"chromedriver": "^92.0.2",
"clipboardy": "2.3.0",
"copy-paste": "1.3.0",
"createerror": "1.3.0",
"decompress": "4.2.1",
"dev-null": "0.1.1",
"electron": "13.1.7",
"expect": "24.9.0",
"fs-extra": "9.0.1",
"http-status-codes": "1.3.2",
"ini": "2.0.0",
"kill-port": "1.6.1",
"list": "2.0.19",
"looks-same": "7.2.1",
"mongodb": "3.6.6",
"ngrok": "3.3.0",
"parse-gitignore": "1.0.1",
"puppeteer": "9.1.1",
"robotjs": "0.6.0",
"shelljs": "0.8.3",
"spectron": "15.0.0",
"webdriverio": "6.9.1",
"yargs": "16.2.0"
},
"devDependencies": {
"@babel/cli": "7.5.5",
"@babel/core": "7.5.5",
"@babel/preset-env": "7.5.5",
"@babel/register": "7.5.5",
"@babel/traverse": "7.5.5",
"@babel/types": "7.5.5",
"@wdio/appium-service": "6.8.0",
"@wdio/cli": "6.9.1",
"@wdio/jasmine-framework": "6.8.0",
"@wdio/local-runner": "6.9.1",
"@wdio/sauce-service": "6.8.0",
"@wdio/spec-reporter": "6.3.6",
"babel-eslint": "10.0.2",
"chai": "4.2.0",
"chai-as-promised": "7.1.1",
"cross-env": "7.0.3",
"electron-chromedriver": "13.0.0",
"eslint": "7.14.0",
"eslint-config-standard": "12.0.0",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-node": "7.0.1",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.1",
"eslint-plugin-wdio": "5.12.1",
"internal-ip": "5.0.0",
"jsdoc": "3.6.3",
"mocha": "9.0.2",
"mocha-jenkins-reporter": "0.4.5",
"ncp": "2.0.0",
"node-fetch": "2.3.0",
"prettier": "2.2.0",
"spectron-fake-dialog": "0.0.1",
"xvfb-maybe": "0.2.1"
},
from spectron.
Hi, Facing the same issue the electron window does not closes after the mocha test program exits with app.stop() and process stays in background.
"dependencies": { "appium": "1.21.0", "appium-adb": "8.12.3", "appium-windows-driver": "1.19.0", "archiver": "3.1.1", "assert": "2.0.0", "axios": "0.19.2", "chromedriver": "^92.0.2", "clipboardy": "2.3.0", "copy-paste": "1.3.0", "createerror": "1.3.0", "decompress": "4.2.1", "dev-null": "0.1.1", "electron": "13.1.7", "expect": "24.9.0", "fs-extra": "9.0.1", "http-status-codes": "1.3.2", "ini": "2.0.0", "kill-port": "1.6.1", "list": "2.0.19", "looks-same": "7.2.1", "mongodb": "3.6.6", "ngrok": "3.3.0", "parse-gitignore": "1.0.1", "puppeteer": "9.1.1", "robotjs": "0.6.0", "shelljs": "0.8.3", "spectron": "15.0.0", "webdriverio": "6.9.1", "yargs": "16.2.0" }, "devDependencies": { "@babel/cli": "7.5.5", "@babel/core": "7.5.5", "@babel/preset-env": "7.5.5", "@babel/register": "7.5.5", "@babel/traverse": "7.5.5", "@babel/types": "7.5.5", "@wdio/appium-service": "6.8.0", "@wdio/cli": "6.9.1", "@wdio/jasmine-framework": "6.8.0", "@wdio/local-runner": "6.9.1", "@wdio/sauce-service": "6.8.0", "@wdio/spec-reporter": "6.3.6", "babel-eslint": "10.0.2", "chai": "4.2.0", "chai-as-promised": "7.1.1", "cross-env": "7.0.3", "electron-chromedriver": "13.0.0", "eslint": "7.14.0", "eslint-config-standard": "12.0.0", "eslint-plugin-import": "2.18.2", "eslint-plugin-node": "7.0.1", "eslint-plugin-promise": "4.2.1", "eslint-plugin-standard": "4.0.1", "eslint-plugin-wdio": "5.12.1", "internal-ip": "5.0.0", "jsdoc": "3.6.3", "mocha": "9.0.2", "mocha-jenkins-reporter": "0.4.5", "ncp": "2.0.0", "node-fetch": "2.3.0", "prettier": "2.2.0", "spectron-fake-dialog": "0.0.1", "xvfb-maybe": "0.2.1" },
Spectron will be officially deprecated, I switched to Playwright. Please find my sample code https://github.com/tanshuai/electron-playwright-e2e-test-quick-start
🚨 On February 1, 2022, Spectron will be officially deprecated by the Electron team. Please read about more about our planned deprecation here.
from spectron.
Related Issues (20)
- Working docker image to run electron test headless HOT 10
- Element Wasn't Found After Upgrading my Spectron Version to 15 & Electron to 13 HOT 1
- Please release Spectron 16, compatible with electron 14 HOT 8
- api http mocking
- Module name "process" has not been loaded yet for context:
- This version of ChromeDriver only supports Chrome version 91 HOT 1
- failing to successfully launch Spectron headless in Docker on Jenkins
- Spectron test table contents
- export interface SpectronClient extends WebdriverIO.BrowserObject HOT 1
- test suddenly failing on Github Action Windows
- Support Electron 15
- is it possible to work with selenium grid using the image
- ChromeDriver / Chrome version mismatch HOT 2
- Rewrite Discussion HOT 12
- Spectron: Deprecation Announcement HOT 10
- This version of ChromeDriver only supports Chrome version HOT 1
- TypeError: waitUntilWindowLoaded Cannot read property 'isLoading' of undefined HOT 5
- --
- unknown error: call function result missing int 'status' HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spectron.