Nathan Sobo
c861abc2a9
Fix timing issues in atom-application-test
...
Signed-off-by: Antonio Scandurra <as-cii@github.com >
2016-08-12 11:46:12 -06:00
Antonio Scandurra
9847c4fc24
Wait until the window is focused before interacting with it in tests
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2016-08-12 17:46:13 +02:00
Antonio Scandurra
87d684132c
Extract timeoutPromise into async-spec-helpers
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2016-08-12 17:46:12 +02:00
Antonio Scandurra
82f0003302
Extract conditionPromise into async-spec-helpers
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2016-08-12 17:46:11 +02:00
Antonio Scandurra
ab3d0ba412
Rewrite async-spec-helpers in javascript
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2016-08-12 17:46:09 +02:00
Antonio Scandurra
4bd644bea2
Bump timeout to 1 minute on AtomApplication tests
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2016-08-12 17:45:59 +02:00
Antonio Scandurra
336f6425da
Discourage people from using temp directly
...
It's better if we fs.realpathSync the path returned by the temp module.
Signed-off-by: Nathan Sobo <nathan@github.com >
2016-08-12 17:45:56 +02:00
Antonio Scandurra
04d8b9bb86
Ensure we don't reuse the same window when testing the offset distance
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2016-08-12 17:45:50 +02:00
Antonio Scandurra
753db274fc
Clear storage data after each AtomApplication test
...
This, along with using a temporary directory as the ATOM_HOME, will make
sure that tests won't share any state with one another, possibly
increasing the level of resiliency of the suite.
2016-08-12 15:20:58 +02:00
Antonio Scandurra
a817a354dc
Use project paths instead of tree view directories to test remote paths
2016-08-12 14:35:40 +02:00
Antonio Scandurra
fe8aabd908
Use spec reporter to know which specs hang
2016-08-12 12:22:36 +02: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
fff2ecd162
Extract a AtomApplication.prototype.launch method
...
...so that we can exercise loading previously opened windows stored
state after the application is restarted. In addition, this resembles
more what we run in production, and therefore allows us to have a better
coverage of the code paths we run in the real application.
2016-08-12 10:44:09 +02:00
Antonio Scandurra
e8c7b27af4
Move another integration test
2016-08-12 10:10:20 +02:00
Nathan Sobo
3d99cde9e1
Move another integration spec to the main process tests
2016-08-11 16:43:26 -06:00
Nathan Sobo
a29db76073
Move another integration test
2016-08-11 16:33:36 -06:00
Nathan Sobo
b89c0cb415
Move another integration test
2016-08-11 16:33:25 -06:00
Nathan Sobo
29cf1025f1
Assert about tree view root directories rather than project directories
...
Since these are integration tests, making sure the user sees these
directories in their tree view seems like a good idea.
2016-08-11 16:20:29 -06:00
Nathan Sobo
f953588f91
Move opening multiple directories integration spec to main process tests
...
It was testing something that didn’t actually work, that opening a
directory that was already open in an existing window would recycle the
window. We explicitly don’t behave that way and the old test was passing
spuriously.
2016-08-11 16:12:41 -06:00
Nathan Sobo
dbfd0cc605
Move integration test of window persistence to main process tests
2016-08-11 15:28:11 -06:00
Nathan Sobo
3a3921709f
Restore env guard in integration test
2016-08-11 15:27:44 -06:00
Nathan Sobo
5f414f4ea7
Move integration specs for reusing windows to main process tests
2016-08-11 15:10:38 -06:00
Nathan Sobo
15bb92f35e
Move whitespace trimming integration spec to main process tests
2016-08-11 14:43:23 -06:00
Nathan Sobo
f80c800347
Move test for opening w/ a line:column from Chromedriver to main process
2016-08-11 14:36:47 -06:00
Nathan Sobo
4d4a2530ff
Move test for opening w/ a line number from Chromedriver to main process
2016-08-11 14:33:54 -06:00
Nathan Sobo
52ea92803d
Use parseCommandLine in atom-application-test.js
2016-08-11 12:45:54 -06:00
Nathan Sobo
502339b830
Replace chromedriver test of window offset with main process mocha test
...
Signed-off-by: Antonio Scandurra <as-cii@github.com >
2016-08-11 10:33:12 -06:00
Nathan Sobo
5a8ab1a2b2
🎨
...
Signed-off-by: Antonio Scandurra <as-cii@github.com >
2016-08-11 08:16:18 -06:00
Antonio Scandurra
23f421154e
Delete TokenizedBuffer.prototype.onDidChange
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2016-08-10 17:52:49 +02:00
Max Brunsfeld
5d24bcf19e
Merge pull request #12237 from zertosh/cleanup-activation-hook-subscrtiptions
...
Cleanup activationHookSubscriptions when deactivating package
2016-08-09 17:08:49 -07:00
Max Brunsfeld
29096bde31
Don't update ATOM_HOME env var after launch
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2016-08-09 14:38:19 -07:00
Max Brunsfeld
d21c6f1482
Rename environment-helpers-spec -> update-process-env-spec
2016-08-09 14:26:51 -07:00
Nathan Sobo
e6514bf3d8
Merge pull request #12377 from atom/ns-stringify-temp-window-state
...
Stringify/parse temporary window state to avoid nulling out references
2016-08-09 15:20:30 -06:00
Nathan Sobo
dfc0910023
Stringify/parse temporary window state to avoid nulling out references
...
If the object passed via IPC contains any keys of the same reference,
all but one of these keys will be nulled out. Converting to/from a
string avoids this problem.
2016-08-09 14:43:38 -06:00
Max Brunsfeld
52af31c511
Trigger grammar-used hooks no matter how text editors are created
2016-08-09 12:04:01 -07:00
Nathan Sobo
21de77b739
Merge pull request #12346 from atom/ns-fix-repository-status-updates
...
Avoid passing paths outside of repository to git status subprocesses
2016-08-06 08:30:46 -06:00
Nathan Sobo
cd8e4eb43e
Avoid passing paths outside of repository to status subprocess
2016-08-06 07:00:24 -06:00
Nathan Sobo
6c6cb66e5b
Rename git-spec to git-repository-spec to match class name
2016-08-06 06:34:38 -06:00
Yuya Tanaka
1ce2f6ce87
🐛 Fix window size is not updated on resize
2016-08-05 11:56:01 +09:00
Max Brunsfeld
6bbe60ab71
Add test for handling of null env load setting
2016-08-04 16:01:58 -07:00
Max Brunsfeld
0beb4bec42
Merge branch 'master' into ns-fix-decorated-layer-destruction
2016-08-04 13:30:59 -07:00
Max Brunsfeld
74f8890592
⬆️ text-buffer for marker layer destruction fixes
2016-08-04 12:37:51 -07:00
Max Brunsfeld
4634091e9b
Don't update the NODE_PATH when updating the environment on launch
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2016-08-03 15:50:21 -07:00
Max Brunsfeld
368b677420
Merge pull request #12276 from pbiggar/master
...
Add ability to see passed specs via tooltips
2016-08-03 09:35:31 -07:00
Paul Biggar
0f8eb5c1ba
Add ability to see passed specs via tooltips
...
It's not currently possible to see what specs pass. This adds the
description of the spec, as well as all it's parent suites, to a
tooltip so you can see what's passing and failing on mouseover.
2016-08-02 17:40:26 -07:00
Max Brunsfeld
a56db9a03e
Merge pull request #12297 from atom/mb-pass-missing-softwrap-hanging-indent-param
...
Supply missing softWrapHangingIndent parameter to display layer
2016-08-02 17:02:59 -07:00
Max Brunsfeld
43f34f73da
Supply missing softWrapHangingIndent parameter to display layer
2016-08-02 16:20:23 -07:00