Commit Graph

36 Commits

Author SHA1 Message Date
Max Brunsfeld
8a24364e80 Import fit in text-editor-component-spec
So that you can focus a test while keeping it async
2016-02-18 15:10:16 -08: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
Max Brunsfeld
f4be23049d Wait for window resize to take effect in text editor component spec 2016-01-26 13:26:12 -08:00
Wliu
7ee74ed4c7 Merge branch 'master' into wl-electron-35 2016-01-15 17:20:31 -05:00
Antonio Scandurra
f81843d465 Merge branch 'master' into as-block-decorations 2016-01-14 09:30:06 -07:00
Antonio Scandurra
e6a1763f8c 💚 Give specs a final touch 2016-01-13 09:45:14 -07:00
Antonio Scandurra
6e5c3e0212 Insert following block decorations into the DOM 2016-01-12 12:51:29 -07:00
Wliu
d855613340 Merge remote-tracking branch 'refs/remotes/origin/master' into wl-electron-35 2016-01-05 17:25:51 -05:00
Antonio Scandurra
0d28018127 🔥 Remove redundant setup in specs 2016-01-05 10:39:01 +01:00
Antonio Scandurra
4f0218c0a2 📝 Fix mistyped spec description 2016-01-05 10:35:33 +01:00
Nathan Sobo
6669703677 Force a sync render when measuring if we don’t have a DOM node for a row 2016-01-04 16:40:56 -07:00
Antonio Scandurra
5dfecf39ab Take margin top and margin bottom into account 2015-12-19 13:18:36 +01:00
Antonio Scandurra
dfb095b754 🔥 Remove TextEditor.prototype.addBlockDecorationForScreenRow 2015-12-19 13:00:47 +01:00
Antonio Scandurra
877eea3bd0 Finish integrating LineTopIndex 2015-12-18 11:07:10 +01:00
Antonio Scandurra
3256c8b503 💚 Adjust TextEditorComponent specs for block decorations 2015-12-18 10:06:04 +01:00
Cheng Zhao
c186d70bec Also use require('electron') in specs 2015-12-11 10:03:20 +08:00
Cheng Zhao
f6e889aeb2 Merge branch 'master' into wl-electron-35 2015-12-11 09:32:32 +08:00
Antonio Scandurra
c578f221bf Test ::invalidateBlockDecorationDimensions 2015-12-04 15:42:49 +01:00
Antonio Scandurra
b77c45859c Merge branch 'master' into as-block-decorations
# Conflicts:
#	spec/text-editor-presenter-spec.coffee
2015-12-04 14:44:19 +01:00
Antonio Scandurra
7554f71f74 Make sure screen row is set correctly on <content> 2015-12-04 14:21:23 +01:00
Antonio Scandurra
16525047f1 💚 Fix component and presenter specs 2015-12-04 12:49:59 +01:00
Antonio Scandurra
f2a0221519 Make sure block decorations are always in the right spot 2015-12-03 18:16:10 +01:00
Antonio Scandurra
cc4344735e 💚 Fix specs 2015-12-03 17:11:38 +01:00
Antonio Scandurra
36103a024a Make sure to add screen row to block decoration nodes 2015-12-03 16:26:15 +01:00
Wliu
ecd14f3390 💚 let and var are now storage.type.var.js
Refs atom/language-javascript#277
2015-12-02 20:47:27 -05:00
Antonio Scandurra
5228471bc5 Write failing spec for measuring invisible elements 2015-12-02 17:04:33 +01:00
Antonio Scandurra
f30e4ccc9d Use the new LineTopIndex in TextEditorPresenter 2015-12-02 16:01:55 +01:00
Antonio Scandurra
d24290357a Implement block decorations in the components land 2015-12-01 13:36:23 +01:00
Wliu
fec1507ff4 Require ipc-renderer where it belongs 2015-11-18 21:10:40 -05:00
Wliu
6cd480b37e Fix Electron deprecations 2015-11-17 21:16:09 -05:00
Nathan Sobo
a35e24658d Increase timeouts 2015-11-09 00:35:34 -07:00
Nathan Sobo
6dd18b348b Include more debug info when nextViewUpdatePromise times out 2015-11-09 00:35:34 -07:00
Nathan Sobo
21f8ad6958 Bump timeouts 2015-11-09 00:35:34 -07:00
Nathan Sobo
1a8adbb4e1 🎨 2015-11-09 00:35:33 -07:00
Nathan Sobo
ff681752f7 Add a nextViewUpdatePromise helper so we get stack traces from timeouts 2015-11-09 00:35:33 -07:00
Nathan Sobo
e9dfc080a3 Convert text-editor-component-spec to Babel for async/await
It's much easier to reason about async/await than Jasmine's
built-in queuing system, and using them made it easier to
debug flaky async tests.
2015-11-09 00:35:32 -07:00