[Buildbot] #3452: [AngularJS Project] Add E2E tests
Buildbot trac
trac at buildbot.net
Sun Feb 14 13:48:33 UTC 2016
#3452: [AngularJS Project] Add E2E tests
-------------------------+--------------------
Reporter: dustin | Owner:
Type: project-idea | Status: new
Priority: major | Milestone: 0.9.+
Version: | Resolution:
Keywords: |
-------------------------+--------------------
Description changed by tardyp:
Old description:
> We need some capability to run end-to-end tests of the AngularJS frontend
> to avoid UI regressions and other issues that are not obvious in unit
> tests.
>
> This should be done as much as possible in the "normal" node / AngularJS
> mode, so perhaps with mocha-phantomjs or even selenium. The idea should
> be to hook up the tests in the metabuildbot, and allow motivated
> developers to run them manually, but they need not be as easy to run as
> 'trial buildbot.test'.
New description:
We need some capability to run end-to-end tests of the AngularJS frontend
to avoid UI regressions and other issues that are not obvious in unit
tests.
This should be done with the normal angularJS methodology, with
protractor:
https://docs.angularjs.org/guide/e2e-testing
What is necessary for e2e tests is:
- create a real buildbot master with a real configuration, which contains
configuration for major use cases involving the UI. e.g force schedulers,
authentication, etc
- Have protractor scenarios which acts like a user would, and verify that
the UI behaves as expected.
- User authenticates in the UI
- User go to the list of builds for a builder
- User click on the forcescheduler button
- User adds some input in the modal dialog
- build is started, and there are updates in the UI
The idea should be to hook up the tests in the metabuildbot, and allow
motivated developers to run them manually, but they need not be as easy to
run as 'trial buildbot.test'.
Documentation on what are the steps to run that (probably easiest is to
setup the deps in a dockerfile)
--
--
Ticket URL: <http://trac.buildbot.net/ticket/3452#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list