Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Pre launch fix acceptance tests #158

Merged

Conversation

msecret
Copy link
Contributor

@msecret msecret commented Jan 6, 2016

Gets the relevant acceptance tests working again. I left out the routes and app tests as I haven't built those pages yet. Everything else is running.

There's currently an issue with the tests I haven't figured out yet: #159

Marco Segreto and others added 25 commits December 15, 2015 16:51
The login required to click an authorize button on first try,
not sure why this didn't come up before.

May need an if statement in case the authroize button isn't there at all
meaning it's not required to be clicked.
The tests should not have:
Eventually(Expect(..).To())
Basically it should either use Eventually or Expect not both
Instead, it should use:
Eventually(sel).Should(matcher())
Added more classes to make things easily selectable in the tests
Fixed an error in the API where it was using the wrong url
The phantomjs driver should be used in CI settings.

Ideally we should configure this with an env var so that devs can keep
using Chrome, as it's much easier to diagnose problems.
Newer versions of karma have an unfixed bug:
karma-runner/karma#1782

Should set to upgrade patch versions automatically after its fixed.
This goes along with changes to the actually repos.
It might also need password, can't tell because of security
jcscottiii added a commit that referenced this pull request Jan 7, 2016
@jcscottiii jcscottiii merged commit 23b35a3 into cloud-gov:staging-alpha Jan 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants