select moved text after drag-and-drop#576
Conversation
|
Could you update the failed tests so that they don't fail? Then I'll merge this. |
|
Tried to fix the failed test, but on my development machine about 50% of all tests in Could you trigger a build at Travis? There is a Any idea why that many test fail on my machine? |
|
Restarted the build |
Probably. Some tests need a specific window size and font size so that the text is laid out a certain way and the caret is then moved to a specific position. Are you using Windows or Mac to test things? |
|
Not sure if the test is flaky or if the conditional loop that adjusts the |
|
@JFormDesigner Can you rebase this on top of the current master? I'm curious if updating to XCode 9 will make this build pass. |
fb2f843 to
51b2edf
Compare
…fter drag-and-drop)
|
OK, rebased and fixed tests. The Y parameter passed to I've also made the asserts more precise. Doing something like |
I agree. However, when I wrote the integration tests, I was simply trying to write enough tests to prove that the code worked for the most part. (Let's be honest: it's better than not having them in the first place as that's what caused #472 to go undetected until after the release was made) It wasn't my goal to make them super precise, and no doubt there are other tests whose accuracy could be improved. |
When doing drag-and-drop then the moved text was not selected (as in other text editors).