Commit Graph

6771 Commits

Author SHA1 Message Date
joshaber
6813bf50a0 Use waitsForStateToUpdateAsync in a bunch of places. 2016-02-12 14:00:47 -05:00
joshaber
272ff19d7b Decrease the timeout interval. 2016-02-12 13:58:54 -05:00
joshaber
8b14f5afdc Let's get some deterministic failures. 2016-02-12 13:58:38 -05:00
joshaber
319043c93d Update this test too. 2016-02-12 12:11:52 -05:00
joshaber
07d35245e0 Move it around again. 2016-02-12 11:51:48 -05:00
joshaber
a3ec51f492 Let's try rearranging this. 2016-02-12 11:46:43 -05:00
joshaber
dd6a6be8b1 Once more, with feeling. 2016-02-12 10:56:36 -05:00
joshaber
3e7de73580 Bump the timeout. 2016-02-12 09:58:37 -05:00
Katrina Uychaco
255b943d45 Add ability to clear IndexedDB state object store 2016-02-11 19:56:25 -08:00
Katrina Uychaco
6f4936983e Revert test since startEditorWindow no longer returns a promise 2016-02-11 15:40:04 -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
5e7f2741b4 In startup-spec check pane item count after editor has been loaded 2016-02-11 14:50:30 -08:00
Katrina Uychaco
8e33f8bf5b Wait for tab to open in webdriverio waitForPaneItemCount command 2016-02-11 11:50:44 -08:00
Max Brunsfeld
9c0aa629d7 Let packages define deserializers & view providers as main module methods 2016-02-10 14:28:57 -08:00
Josh Abernathy
306560616b Merge pull request #10758 from atom/fix-status-in-subdir
Fix status in subdir
2016-02-10 15:15:10 -05:00
Katrina Uychaco
baa2c32a51 Merge branch 'master' into ku-crash-recovery 2016-02-10 11:10:57 -08:00
Katrina Uychaco
7b808257a6 Add test to check for indexedDB connection 2016-02-10 11:04:30 -08:00
joshaber
c1a3535ab2 Don't need to repeat ourselves here. 2016-02-10 11:09:52 -05:00
joshaber
0c6235de71 Add failing test. 2016-02-10 11:00:20 -05:00
Alex
fff2a54258 Specs for variable tabLength
For #9198
2016-02-10 02:53:01 -06: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
Max Brunsfeld
b0cf440f9c Handle database connection errors gracefully
When opening a second Atom instance (e.g. when running the integration specs)
indexedDB connections will fail. In this case, StateStore.prototype.save
and StateStore.prototype.load will become noops.

Signed-off-by: Katrina Uychaco <kuychaco@github.com>
2016-02-09 14:30:10 -08:00
Nathan Sobo
4597d1e436 Merge pull request #7953 from acontreras89/ac-pane-split
Improve multi-pane API
2016-02-08 17:51:16 -08:00
Aaron Contreras
cbff7394c6 🐛 Reuse scroll position on text editor's copy. Fixes #8765
 Update specs to avoid regressions
2016-02-09 00:36:37 +01:00
Aaron Contreras
ee86cee4e0 Add specs for new commands, update old specs 2016-02-09 00:36:37 +01:00
Katrina Uychaco
656cac8814 Merge branch 'master' into ku-crash-recovery 2016-02-08 15:24:00 -08:00
Wliu
8ca1071168 Update presenter specs 2016-02-08 16:52:47 -05:00
Wliu
5127789a68 Update tokenized buffer spec 2016-02-07 21:26:13 -05:00
joshaber
563984a7b2 Test it. 2016-02-05 16:16:38 -05:00
Max Brunsfeld
7c733f6dc4 Merge branch 'master' into wl-electron-35 2016-02-05 10:22:01 -08:00
Katrina Uychaco
6e0328b048 Refactor to use StateStore instead of StorageFolder 2016-02-04 21:45:00 -08:00
Katrina Uychaco
3b500daab4 Create StateStore class and specs for storing state in IndexedDB 2016-02-04 21:43:44 -08:00
Wliu
b4f8bf12cb 💚 Fix Tokenized Buffer spec 2016-02-04 14:34:49 +00:00
Max Brunsfeld
49776d114c Merge branch 'beta' 2016-02-02 12:00:08 -08:00
Max Brunsfeld
6d56185300 Merge branch 'stable' into beta 2016-02-02 11:59:42 -08:00
Max Brunsfeld
19349edc7a Only add local paths to recent documents list
Also, add them in Workspace::open and not AtomEnvironment::openLocations
so that files opened in an existing window will also be added to the
list
2016-02-02 11:16:14 -08:00
Katrina Uychaco
5e21f7bad9 Serialize package upon deactivation 2016-02-01 16:11:10 -08:00
simurai
127e4dbae4 Add specs for horizontal axis height 2016-02-01 11:34:09 -08:00
simurai
6944815a72 Add specs for header/footer widths 2016-02-01 11:34:09 -08:00
simurai
4cf8abc786 🎨 Rename top/bottom-bar to header/footer 2016-02-01 11:34:08 -08:00
simurai
b9cea80d4f Add top/bottom bar specs 2016-02-01 11:34:08 -08:00
Max Brunsfeld
d091a106a4 Merge branch 'master' into wl-electron-35 2016-02-01 11:18:18 -08:00
Katrina Uychaco
a54f4679af Fix tests 2016-01-28 15:46:40 -07:00
Katrina Uychaco
54a03516bf Save state asynchronously on mousedown and keydown events. Tests WIP 2016-01-28 00:58:58 -07:00
Max Brunsfeld
fb0cb452ea Use old presenter interface in presenter spec 2016-01-27 23:04:30 -08:00
Max Brunsfeld
42d509ca4e Merge pull request #10062 from atom/mb-emit-state-update-on-model-scroll
Emit state update when model's scroll position is changed
2016-01-27 15:34:53 -08:00
Katrina Uychaco
126baafda3 Assign debounce interval to property 2016-01-27 15:11:40 -07:00
Katrina Uychaco
8d55bbcdea 🎨 clean up test 2016-01-27 15:10:35 -07:00
Max Brunsfeld
32f5149196 Wait for browser process to acknowledge window manipulation IPC requests
We need to avoid using the  module for synchronous IPC on startup, but
in some cases, we need to know when our asynchronous IPC messages have taken
effect. Now,  methods like  and
return Promises that indicate when the message has been processed.
2016-01-27 12:59:24 -08:00
Katrina Uychaco
df83078d74 Save state on mousedown or keypress events (debounce 1s). Tests WIP 2016-01-27 11:15:02 -07:00