Conversation
2c1b668 to
76945fe
Compare
|
FYI @karlcow, this is working on my machine™, so you might wait until this is merged to not have to downgrade libs or browsers to run tests locally. |
d708bb8 to
ec1f750
Compare
|
❤️ Thanks |
|
It seems like there's a few tests that are broken now, as a result of changes in either how Intern is working, or Selenium or something. Will try to fix these ASAP and get this merged, this is a major win in terms of simplifying dev environment setup. |
ec1f750 to
3609a1a
Compare
51b731a to
b8af369
Compare
|
Locally: Getting there. |
3934c7c to
54b662e
Compare
|
Hmm... |
8f8ce5f to
647432f
Compare
|
43e593d is dumb. But...
There seems to be different behavior when Intern commands "cross" page loads. Like they execute too quickly, or something. |
d795e75 to
595177e
Compare
3d6c1ea to
9f748b8
Compare
6571844 to
7f022a7
Compare
|
OK, this is too flaky. @vladikoff said he would help me debug when we're in Mountain View next week. |
7f022a7 to
6a0b648
Compare
We found out there was a bug in my login method that didn't surface w/ Intern 2 -- if we get the extra confirmation page from GitHub, you have to click on a button. In Intern 3, it's clicking on it sometimes too quickly (so possibly we were clicking on the original submit twice, rather than once on submit, then once on confirmation). Also we have a theory that if you click on a button too quickly, GitHub thinks you're a bot. So, we added a small timeout if you see that extra confirmation page. Anyways, let's see if the tests actually pass now for both runs. |
Let's retrigger. |
Good catch... hard to find this bug... |
|
@magsout hey man, how is it going!? 🥇 |
…or a loaded DOM element.
…pers.js. Before, when Intern was injecting the code to postMessage blobs, Firefox was throwing an x-ray wrapper permission error, which killed the test. Presumably this is related to how WebDriver/Intern injects the JS test files. As a test-only workaround, make it possible to load a test helper file so methods can be called trusted content.
6a0b648 to
2df30ca
Compare
2df30ca to
904941e
Compare
|
r? @karlcow -- not much that's interesting to review in the test re-writes, mostly in the docs and the Python bits. |
karlcow
left a comment
There was a problem hiding this comment.
Assuming that @vladikoff reviewed the JS with you.
Very very cool to have a helper.js where the functions are defined, thats simplifies a lot the tests code. ❤️
| The js folder contains two subfolders: `lib` contains all project source files and `vendor` contains all third party libraries. The files out of the two sub folders contain the compiled source code. | ||
|
|
||
| __Note: All code changes should be made to the files in `lib`__ | ||
| > Note: All code changes should be made to the files in `lib` |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
| Windows typically doesn't have the *make* tool installed. Windows users without *make* should look at the "detailed setup" section below. | ||
|
|
||
| As an alternative to Windows, a cloud IDE such as [Cloud 9](https://c9.io) can be used for a relatively easier setup. If you take this route, please update to the latest Python version with the following. (This is to avoid `InsecurePlatformWarning` errors that arise when the default Python 2.7.6 is used). | ||
| > Note: If you install Python on Windows using the MSI installer, it is highly recommended to check the "Add to path"-box during installation. If you have not done so, see if one of the answers to the StackOverflow post [Adding Python path on Windows 7](http://stackoverflow.com/questions/6318156/adding-python-path-on-windows-7) can help you - it should also work fine for later versions of Windows. |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
| .then(function(isDisplayed) { | ||
| assert.equal(isDisplayed, true, 'Comment form visible for logged in users.'); | ||
| }) | ||
| return FunctionalHelpers.openPage(this, url('/issues/100'), '.js-Issue') |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
| 'use strict'; | ||
|
|
||
| var url = intern.config.siteRoot; | ||
| var url = intern.config.siteRoot + '/?open=1'; |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
|
And given that github markdown strips the style attribute let's roll it. 🎢 |
|
@vladikoff hey, fine and you ? |
|
Thanks @karlcow @vladikoff! |
Not ready for review yet.