Repository navigation
First batch of Windows specs fixes - #11488
Conversation
f57a344 to
99e716f
Compare
| expect(editor.getKoreanCharWidth()).toBeCloseTo(10, 0) | ||
| expect(editor.getDoubleWidthCharWidth()).toBe(10) | ||
| expect(editor.getHalfWidthCharWidth()).toBe(5) | ||
| expect(editor.getHalfWidthCharWidth()).toBeCloseTo(6, 5) |
There was a problem hiding this comment.
Do these specs pass on Mac? If not, I think we could make this spec more general to test for differences before/after setting the font size, e.g.
let originalDefaultCharWidth = editor.getDefaultCharWidth()
component.setFontSize(10)
expect(editor.getDefaultCharWidth()).toBeLessThan(originalDefaultCharWidth)There was a problem hiding this comment.
I took a 👀 at https://travis-ci.org/atom/atom/jobs/123412388#L291-L303, and it seems like these specs are failing. What do you think about changing them to look similar to the solution proposed above?
|
Nice work here, @damieng. Left a couple of comments, but these changes look good so long as they make the Mac build 💚. Out of curiosity, did you get a sense about what are the other "groups" of specs that still fail on Windows (e.g. UI, interaction with the browser process, environment, etc.)? |
|
A large number of the failures are waiting to receive messages that are sent over the IPC communication mechanism. Once that's fixed I think we're going to be most of the way there. There is however still at least one spec that causes Atom to quit although I haven't found out which. |
Sounds good. I think we can go ahead merging this after addressing the concerns above. 👍 Thanks, @damieng! |
f54da13 to
64d17a9
Compare
64d17a9 to
1500381
Compare
This sorts out a number of specs issues but is not yet complete. Want to merge anyway as it's better than what we have right now.