Closed
Bug 1166901
Opened 10 years ago
Closed 10 years ago
Get the UI tests running as part of the treeherder repo travis run
Categories
(Tree Management :: Treeherder, defect, P2)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: emorley)
References
Details
Attachments
(1 file)
The UI repo has been merged in, but the UI tests (the few of them we have) are not yet being run as part of the main travis run, since it will require a bit of wrangling to combine both python and nodejs deps & test runs.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8610157 -
Flags: review?(cdawson)
Assignee | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•10 years ago
|
||
Let me know if there's anything I can explain to help with the review. I'm keen to get this landed asap, since we have no UI test coverage at the moment :-)
Comment 3•10 years ago
|
||
Comment on attachment 8610157 [details] [review]
Get the UI tests running as part of the travis run
this all look straightforward to me. Thanks.
Attachment #8610157 -
Flags: review?(cdawson) → review+
Comment 4•10 years ago
|
||
Commits pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/d6df6895895d51337f11eaf0301ad927f3289d51
Bug 1166901 - Update the jasmine fixtures path after the repo merge
The fixtures path changed from:
webapp/test/mock/*
...to:
tests/ui/mock/*
However basePath in the Karma config was also changed from webapp/
to the repo root.
https://github.com/mozilla/treeherder/commit/be4c2b5d04031d474f39b6f3e0f4d9d078bc2605
Bug 1166901 - Exclude the node_modules directory from flake8/pep8
https://github.com/mozilla/treeherder/commit/5ca4afd4640125e7cab78503a8b0787a0dedfabd
Bug 1166901 - Get the UI tests running as part of the travis run
This merges the service and UI Travis configs, to get the Karma UI tests
running on Travis in the new repo. We can only set 'language' to one
value, however that doesn't matter, since nodejs is installed by default
and all the 'language: node_js' did was set a few default build cycle
steps - and we can define those ourselves manually.
We install the deps using npm install, ensure they are cached by adding
the node_modules directory to the cache list, get xvfb running for Karma
(see http://docs.travis-ci.com/user/gui-and-headless-browsers/) and use
|npm test| to run Karma using karma.conf.js.
The end to end tests (karma-e2e.conf.js) are not currently running, same
as before the repo merge.
Assignee | ||
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Component: Treeherder: Docs & Development → TreeHerder
You need to log in
before you can comment on or make changes to this bug.
Description
•