Sadick
f4d832f2e2
Upgrade to electron 9.4.4 ( #21777 )
...
* Electron 9.4.4 Upgrade
Co-authored-by: Amin Yahyaabaadi <aminyahyaabadi74@gmail.com >
Co-authored-by: Maarten Fonville <mfonville@users.noreply.github.com >
Co-authored-by: Andrea Bogazzi <andreabogazzi79@gmail.com >
2021-03-05 07:48:45 +03:00
Maarten Fonville
6ab5500d25
Electron todo cleanups ( #21816 )
...
* cleanup TodoElectronIssue for GCM initVector
* cleanup TodoElectronIssue drop manual set of random value for debugging-port
* Remove workaround for slow crypto.randomBytes
* produceCachedData --> script.createCachedData()
* Remove arguments from childProcess.removeAllListeners()
Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com >
2021-01-18 19:29:34 +03:00
Musa Ibrahim
50a74a5e31
Merge pull request #21079 from atom/electron-6.1.12-bump-electron-packager-from-git
...
Electron 6 Take Two
2020-08-20 10:16:38 +01:00
sadick254
613f76d594
Double waitsFor timeout value
2020-08-19 11:03:19 +03:00
Mazen El-Kashef
9c16e5c673
Fix lint errors
2020-06-11 22:23:00 -05:00
Mazen El-Kashef
ece51f97ac
Update webdriverio config to match the new schema
2020-06-11 21:25:40 -05:00
Rafael Oleza
91b53d4b3b
Use random port to initialize ChromeDriver
...
Since ChromeDriver v2.41, ChromeDriver will only connect if, either we precise a port
for remote debugging, either the embedder (ie electron) made sure to pass `USER_DATA_DIR`
to the remote debugging server.
So, for now, we'll just use a random port (we don't care about its value since we're not
connecting through it).
(inspired by 737db138bd ).
2019-06-17 10:57:12 +02:00
Rafael Oleza
60093e45e5
Revert "Back to manual debugging it is"
...
This reverts commit 6e90fbe064 .
2019-06-17 10:52:59 +02:00
Winston Liu
6e90fbe064
Back to manual debugging it is
2019-06-02 22:00:06 -04:00
Rafael Oleza
6263d85250
Re-apply prettier JS formatter
2019-05-31 18:55:45 +02:00
Winston Liu
5265528675
🤦♀️
2019-05-25 21:55:15 -04:00
Winston Liu
e9ba8fdc05
Yay, it's green! Clean things up a bit.
2019-05-25 20:50:27 -04:00
Winston Liu
50e8c97db4
Delete the session when we're done, just to be safe
2019-05-25 16:50:45 -04:00
Winston Liu
45b772b111
Whoopsies
2019-05-25 16:50:37 -04:00
Winston Liu
7bbbca95bc
atom.workspace should always exist
2019-05-25 15:44:49 -04:00
Winston Liu
7e2a23b797
Ah heck, more async
2019-05-25 15:42:27 -04:00
Winston Liu
8fcd97ae15
...as I was saying, async.
2019-05-25 15:30:36 -04:00
Winston Liu
81fe767077
Everything's a Promise, apparently
2019-05-25 12:49:36 -04:00
Winston Liu
4961b31cf7
Perhaps it's something with await?
2019-05-25 00:18:16 -04:00
Winston Liu
8728e9f1e1
Thanks documentation for not giving any hint whatsoever that it's async
2019-05-24 21:00:55 -04:00
Winston Liu
8870380a29
Looks like there are windows being returned...
2019-05-24 20:26:33 -04:00
Winston Liu
bb74186003
Scoping
2019-05-24 18:08:48 -04:00
Winston Liu
a2af8ec9ca
Lint
2019-05-24 17:00:37 -04:00
Winston Liu
b9817ace02
Progress!
2019-05-24 16:42:21 -04:00
Winston Liu
1db4324d66
Not sure if addCommand returns anything...
2019-05-24 15:02:54 -04:00
Winston Liu
cdfd37d4c5
???
2019-05-24 13:45:17 -04:00
Winston Liu
05233b9857
Whole lot of debug code
2019-05-24 11:37:45 -04:00
Winston Liu
027b433953
Log it all
2019-05-24 10:16:01 -04:00
Winston Liu
76e122274d
🙈
2019-05-24 09:50:53 -04:00
Winston Liu
bc0e0a0ffe
Lint
2019-05-23 23:15:42 -04:00
Winston Liu
21ed70687c
WIP: Upgrade webdriverio
2019-05-23 18:36:12 -04:00
Rafael Oleza
f04a00ac2d
Remove --socket-path CLI argument
2019-04-04 17:55:58 +02:00
Damien Guard
438168e62c
Do not use the chromedriver wrapper as it spews to stdout
2016-12-13 12:13:47 -08:00
Damien Guard
f25a718c02
Switch electron-chromedriver from GitHub download to npm install
2016-12-12 16:31:38 -08:00
Damien Guard
3fd1dbdce3
Clean up temporary files when running specs
2016-12-01 10:48:45 -08:00
Antonio Scandurra
0f6eadcfce
Wait for windows' state to be saved before closing the app or any window
...
Previously, we used to save the window's state in the renderer process
`beforeunload` event handler: because of the synchronous nature of event
handlers and the asynchronous design of IndexedDB, this could
potentially not save anything if windows close fast enough to prevent
IndexedDB from committing the pending transaction containing the state.
(Ref.: https://mzl.la/2bXCXDn )
With this commit, we will intercept the `before-quit` events on
`electron.app` and the `close` event on `BrowserWindow` (which will fire
respectively before quitting the application and before closing a
window), and prevent them from performing the default action. We will
then ask each renderer process to save its state and, finally, close the
window and/or the app.
2016-09-07 13:03:33 +02:00
Antonio Scandurra
6bd9d1e4be
Install webdriver io in script/package.json
...
So that we can control chromedriver without including that dependency in the final bundle.
2016-08-11 13:09:24 +02:00
Antonio Scandurra
ad166db6c4
Don't use temp for integration tests socket creation
2016-05-17 13:56:57 +02:00
Max Brunsfeld
4bc969d1df
Merge branch 'master' into wl-electron-35
2016-02-16 13:16:13 -08:00
Katrina Uychaco
7cfe0b659e
Revert "Wait for tab to open in webdriverio waitForPaneItemCount command"
...
This reverts commit 8e33f8bf5b .
2016-02-11 14:50:51 -08:00
Katrina Uychaco
8e33f8bf5b
Wait for tab to open in webdriverio waitForPaneItemCount command
2016-02-11 11:50:44 -08:00
Max Brunsfeld
0f02663f6b
Add --user-data-dir flag, to control indexedDB directory
...
This way, we can still use indexedDB in the integration tests
Signed-off-by: Katrina Uychaco <kuychaco@github.com >
2016-02-09 14:30:58 -08:00
Wliu
3f471cd94f
Merge remote-tracking branch 'refs/remotes/origin/master' into wl-electron-35
2016-01-25 16:33:50 -05:00
case
8c5c795b35
Remove Duplicate Require Statements and Unify Syntax on '
2016-01-15 14:35:28 -06:00
Wliu
f4f5e47aab
One more remote update
2015-12-14 17:35:50 -05:00
Nathan Sobo
52946db179
Ensure windows/workspace present before proceeding in integration specs
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com >
2015-10-15 12:54:33 -06:00
Max Brunsfeld
467c89bfb3
In integration tests, handle executable path with spaces in it
2015-10-05 16:49:35 -07:00
Max Brunsfeld
2dbd556c50
Fix chromedriver location in integration specs
2015-09-09 12:34:28 -07:00
Max Brunsfeld
75289ee3dd
Fix some integration test flakiness
2015-05-06 10:32:56 -07:00
Antonio Scandurra
f3a1aebb8a
Merge branch 'master' into as-public-ci
2015-04-16 08:31:21 +02:00