New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: basic ui tests #136
Feat: basic ui tests #136
Conversation
…ing at its balance
@LefterisJP what version of node is used in travis-ci? |
fd0cf82
to
6f09534
Compare
|
Which functionality do you mean? Is it this one: https://docs.travis-ci.com/user/environment-variables/ If yes I have also added them as environment variables there but I realized now that it's superfluous. What are the pros/cons? All these are test variables so nothing sensitive. EDIT: It also seems that OSX is still failing with the same error as before. |
ui/tests/add-btc.spec.js
Outdated
await this.app.client.execute(function () { | ||
$('.jconfirm').remove() | ||
}) | ||
// wait for the other modal popup, then close it | ||
await this.app.client.waitForExist('.jconfirm-box.jconfirm-hilight-shake.jconfirm-type-animated.jconfirm-type-green', 5000) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I may be wrong, but I put the full class path for a reason. The order with which these popups appear is not guaranteed and I needed a unique way to address each one. So I think the full class path should be there.
Also @mykeels do you know of any way to abstract this functionality which we use in every tests somehow? Would normal functions work here?
I was referring to this @LefterisJP because it does contain Bittrex API Key and Secret |
@mykeels I know it's an empty account I created just for testing. Has nothing in there. |
@LefterisJP what could make the backend app crash immediately it is started? I keep getting
|
Where do you get it? Running it locally? Have you properly made the python environment as described in the source installation docs? A way to test this is to run the backend alone. Assuming you have everything setup properly run |
You're right, I'd forgotten to run |
Travis uses python3 for rotkehlchen. It's in travis.yml |
@LefterisJP travis is building successfully. Is it possible to re-run the AppVeyor build without pushing changes? |
@mykeels I can do it as many times as you need, yes. But it still looks like a flaky test:
|
Closing since this was already implemented by: #207 |
fixes #41
6 Tests Written
Pending
The pending test case is unclear ... Could you give examples of each setting you expect to the tested, and what effect the change is to make?