Commit Graph

57 Commits

Author SHA1 Message Date
Mostafa Eweda
4c9e6c5a27 Revert "Merge pull request #6977 from atom/revert-6813-local-initial-paths"
This reverts commit 0c66802278, reversing
changes made to bdce576ab9.
2015-05-27 11:18:15 -07:00
Max Brunsfeld
0dcdfa1e89 Revert "Initial paths shouldn't be normalized on save and restore (could contain uris)" 2015-05-27 10:26:59 -07:00
Mostafa Eweda
e7064bfc9d Fix tests + add integration test 2015-05-19 19:13:19 -07:00
Kevin Sawicki
2c23d6f3ab 🎨 2015-05-08 13:33:30 -07:00
Kevin Sawicki
02d1e0be56 Uncomment env conditionals 2015-05-08 13:25:54 -07:00
Kevin Sawicki
75ac785e77 Add spec for opening to line and column 2015-05-08 13:24:48 -07:00
Kevin Sawicki
1e567b62e2 Add spec for opening file to line number 2015-05-08 13:23:28 -07:00
Kevin Sawicki
9a85164090 Add spec for file path with trailing colon/whitespace 2015-05-08 13:04:42 -07:00
Max Brunsfeld
75289ee3dd Fix some integration test flakiness 2015-05-06 10:32:56 -07:00
Antonio Scandurra
50010a55b9 Use a guard clause to disable integration specs 2015-04-16 09:52:41 +02:00
Antonio Scandurra
f3a1aebb8a Merge branch 'master' into as-public-ci 2015-04-16 08:31:21 +02:00
Max Brunsfeld
3d05ae02ba Reopen windows when launching w/ no arguments 2015-04-14 14:18:44 -07:00
Max Brunsfeld
ce7d0c161d Always quit Atom realistically in integration specs 2015-04-14 14:16:39 -07:00
Max Brunsfeld
d5ff7f26bf Create a new ATOM_HOME dir for each integration spec 2015-04-14 14:14:39 -07:00
Antonio Scandurra
b08bd79e02 Disable focus methods on CI 2015-04-08 10:27:03 +02:00
Antonio Scandurra
f9f5213cdf Handle http.on('error') for webdriver polling 2015-04-08 08:57:26 +02:00
Antonio Scandurra
dee626ab69 Investigate timeouts issues (again) 2015-04-08 08:36:46 +02:00
Antonio Scandurra
73fb36590d Use a 15s timeout for webdriver startup 2015-04-07 19:28:10 +02:00
Antonio Scandurra
4c12b6767e Stop focusing on integration specs 2015-04-07 17:55:01 +02:00
Antonio Scandurra
d494966759 Relax polling to check only every 100ms 2015-04-07 17:53:05 +02:00
Antonio Scandurra
1c7b473243 Wait for chromedriver to initialize
Via a polling mechanism inspired by
https://github.com/SeleniumHQ/selenium/blob/master/dotnet/src/webdriver/DriverService.cs#L173-205
2015-04-07 17:46:46 +02:00
Antonio Scandurra
efa2a34fd6 Use a large value in waits
...to confirm that it is the culprit of Travis build errors.
2015-04-07 15:36:58 +02:00
Antonio Scandurra
127253bea3 Revert "Reduce chromedriver waiting time to 500ms"
This reverts commit 722705bb4c.
2015-04-07 15:01:46 +02:00
Antonio Scandurra
722705bb4c Reduce chromedriver waiting time to 500ms 2015-04-07 14:40:36 +02:00
Antonio Scandurra
32ae7945ff Fine tune waiting time 2015-04-07 13:48:50 +02:00
Antonio Scandurra
a090a81767 Bump chromedriver wait timeout 2015-04-07 11:46:42 +02:00
Antonio Scandurra
f3a7cc1b9d wip: focus on integration specs only 2015-04-07 11:24:12 +02:00
Kevin Sawicki
eb63556b27 Use - in socket file name 2015-03-17 16:51:52 -07:00
Bjoernsen
d6338b0a2c Update start-atom.coffee 2015-03-16 08:38:01 +01:00
Max Brunsfeld
a6e8f8a08a Always open all CLI paths in the same window
No more 'atom --multi-folder'
2015-03-05 15:23:28 -08:00
Max Brunsfeld
a1ba470c5b Don't add project paths when opening a file in an existing window 2015-02-24 12:09:10 -08:00
Max Brunsfeld
cd9a1ccb9f 🎨 organize integration spec 2015-02-24 11:40:29 -08:00
Max Brunsfeld
0674244f5c Always create new window when opening w/ no path
Fixes #5631
2015-02-19 14:35:22 -08:00
Max Brunsfeld
8c3988a790 Fix race when starting atom twice in spec 2015-02-18 13:37:06 -08:00
Max Brunsfeld
0eb742566f Always open w/ one untitled buffer when no paths are given
Fixes #5607
2015-02-18 11:17:52 -08:00
Max Brunsfeld
39a225821e Reuse current window if it has no project path
Fixes #5615
2015-02-18 10:29:48 -08:00
Max Brunsfeld
bcfa4ef608 Restore old behavior for multiple path CLI args
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-02-17 15:25:50 -08:00
Max Brunsfeld
30bd85d8cc Add some waiting in integration test
* Give chromedriver a few millis to start up
* Wait for atom-workspace element to appear before querying
  active panes.
2015-02-12 21:18:20 -08:00
Max Brunsfeld
8cc0372432 Avoid unhandled promise rejection warning 2015-02-12 21:18:20 -08:00
Max Brunsfeld
a5b28b2833 Rename test helper method 2015-02-12 21:18:20 -08:00
Max Brunsfeld
476876e479 Restore behavior of reusing focused window for opened files 2015-02-12 21:18:20 -08:00
Max Brunsfeld
f7e1629cfc Set multiple project paths for multiple cmd-line paths
Signed-off-by: Jessica Lord <jlord@github.com>
2015-02-12 21:18:18 -08:00
Max Brunsfeld
81d07e2804 Improve error-handling in integration spec 2015-02-12 21:18:17 -08:00
Max Brunsfeld
ba789800b7 Fix handling of args and env in atom-launcher script
Signed-off-by: Jessica Lord <jlord@github.com>
2015-02-12 21:18:16 -08:00
Kevin Sawicki
ef7726ba35 Uncomment env var check 2015-02-12 16:04:27 -08:00
Kevin Sawicki
2470d44dd2 Use temp directory for ATOM_HOME 2015-02-12 15:51:55 -08:00
Kevin Sawicki
a372c892f0 Set chromedriver path in integration spec helper 2015-02-12 15:04:33 -08:00
Max Brunsfeld
26b5c2712a Put socket in new temp dir on every test run 2015-02-08 11:55:45 -08:00
Max Brunsfeld
6bfe3bf3b4 Specify ATOM_HOME when starting Atom in integration test
Otherwise, tests may fail because the Welcome pane may appear,
depending on the content of `~/.atom/config.cson`
2015-02-08 11:55:45 -08:00
Max Brunsfeld
56a4e6b7bf Use webdriverio, not selenium-webdriver 2015-02-06 20:38:26 -08:00