Skip to content
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

Automate browser regression testing #95

Open
3 tasks
NoiSek opened this issue Mar 21, 2017 · 0 comments
Open
3 tasks

Automate browser regression testing #95

NoiSek opened this issue Mar 21, 2017 · 0 comments

Comments

@NoiSek
Copy link
Collaborator

NoiSek commented Mar 21, 2017

Merged from #66, #68. Initial attempts to solve #68 lead down a long path of chained dependencies and unplanned requirements. It seems that solving the larger issue of browser regression testing is better outlined in it's own ticket before the underlying frontend testing tickets are addressed again.

Purpose:

This ticket is meant to address build instability at a very basic level, simple "Does it run without errors" testing. This would prevent developers from introducing breaking changes without being explicitly aware that they are doing so.

Resolution:

Introduce global page sanity checks as one of our tests. Load page, check for Javascript errors, pass or fail.

Steps to resolve:

While technically doable within Mocha, this is almost definitely better solved using Pytest.

  • Install Selenium
  • Create a pytest fixture for application URLs (derived from module blueprints)
  • Write a test that loops through all URLs and checks for console errors.

Both of these require that the devserver is able to run on Travis. ( Making it partially blocked by #67 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant