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
7870675ef4
Re-enable tests
2019-05-25 20:50:53 -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
397c8d74e8
Pass in filePath as an argument
2019-05-25 14:24:10 -04:00
Winston Liu
e47253febf
I think we need to pass in a folder
2019-05-25 13:31:40 -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
2d4eb542e9
Focus it
2019-05-24 09:51:25 -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
Ash Wilson
ae57abe70a
Update smoke test to match new open behavior
2019-01-04 13:25:42 -05:00
Nathan Sobo
f8ecf929a8
Disable github package in smoke test – it takes too long to compile
2017-05-11 16:46:02 -06:00
Antonio Scandurra
1d8f4f2cdd
Wait until the editor is focused before starting to type in smoke test
2017-05-05 09:29:29 +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
Damien Guard
440e708e40
Smoke test only passes on macOS
2016-11-29 16:55:14 -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
34978bfeda
Merge branch 'master' into ns-modernize-build
2016-08-26 16:20:46 +02:00
Antonio Scandurra
5b57669859
Disable telemetry on AtomApplication tests and smoke-spec.coffee
...
Unless a choice has been made by the user, this tab always shows up as
the first one when opening Atom, thus breaking some of the assumptions
we make in the main process tests.
2016-08-26 15:13:37 +02:00
Nathan Sobo
7146a6bde9
Merge remote-tracking branch 'origin/master' into ns-modernize-build
2016-08-12 15:33:50 -06:00
Antonio Scandurra
428106bcaa
Add smoke test to ensure Atom runs and basic operations can be performed
2016-08-12 11:46:48 +02:00
Antonio Scandurra
7fe0f6b455
Move another integration test
2016-08-12 11:29:34 +02:00
Antonio Scandurra
da7b951c07
Move another integration test
2016-08-12 11:22:32 +02:00
Antonio Scandurra
02bc4282d0
Move another integration test
2016-08-12 10:58:59 +02:00
Antonio Scandurra
e8c7b27af4
Move another integration test
2016-08-12 10:10:20 +02:00