Closed afeld closed 5 years ago
I've not dived into this area on the project yet, but essentially:
the process described here
Heh, remembered that doc right after creating this issue. Thanks!
the previous team did not feel they were appropriate to run in conjunction with the other automated tests that run CircleCI
What if we parallelized them, or ran nightly or something?
Right - running nightly seemed appropriate when the team discussed it last.
Repurposing this issue for getting the specs passing, not just running.
Have all the PRs in for getting the specs working as they were written. There is still more spec work to be done as a few of the specs had commented out sections.
In addition, there is some redundant code that can be refactored for example navigating to sections.
@line47 Just looking at it now... I get this error when I try to run make specs
:
[e-QIP-prototype]# make specs
Running integration test suite
Starting eqipprototype_web_1 ...
Starting eqipprototype_hub_1 ... done
Starting eqipprototype_chrome_1 ... done
Building nightwatch
ERROR: Forbidden path outside the build context: ../conf/docker/Dockerfile.frontend ()
make: *** [specs] Error 1
Does that work on your machine?
Ran into a different error after quickly trying to resolve above. As Scott's is focusing on design tasks for time being, moving this back to backlog. The underlying spec tests issues are resolved, it's just this top-level docker/build issue.
@line47 Is this something you think you pick up again and carry over the finish line?
@ryanhofdotgov Yep - that sounds good!
@apburnes I'd love your help getting Selenium/nightwatch working locally so I can begin to dive into these specs/tests
@line47 sounds good! Should we look at it this afternoon?
I'd love that ❤️ @apburnes
Originally thought that current state had the spec tests working and this was just a docker/Makefile issue (i.e, a light lift).
Let's revisit in October. Scott and I believe it may have to do with using SAML authentication vs the simple authentication. As SAML authentication is the production configuration, I think it makes sense for the specs tests to be using that approach.
@gidjin For the scope of this ticket, it's just to have a documented process that runs whatever tests are there, not necessarily to make sure all the tests are passing; e.g., make specs
should run the tests. If there are pre-reqs/environment conditions (e.g, BASIC_AUTH, etc.) for that to work, then those should be documented.
What did you do?
Ran
make specs
.What did you expect to see?
Something...?
What did you see instead?
No output, and the process ended almost immediately, seemingly without running the specs.
Additional Information
Integration with CircleCI or NBIS self-hosted CI is out of scope for this ticket and will be a follow-on.