Task #7356
Create build task for selenium tests
Status: | Resolved | Start date: | ||
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | - | |||
Target version: | - |
Description
The selenium tests need to be run automatically as well.
Related issues
Associated revisions
[+TASK] TYPO3 Demo Distribution: Selenium test configuration is now taken from an XML file which is created by Phing - we can now set options manually if needed; resolves #7356.
History
#1 Updated by Daniel Poetzinger over 5 years ago
that could be a simple
phpunit --configuration=Tests/Selenium/phpunit_backend.xml Tests/Selenium/
#2 Updated by Karsten Dambekalns over 5 years ago
- Status changed from New to Accepted
- Assigned To set to Karsten Dambekalns
#3 Updated by Karsten Dambekalns over 5 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
This is done and works now, Selenium RC server is not reachable but local tests were successful. To run the selenium tests with our Selenium RC server against latest.phoenix.demo.typo3.org simply call phing test-selenium
#4 Updated by Daniel Poetzinger about 5 years ago
- % Done changed from 100 to 90
Hey
Could we brainstorm about the setting of the rc server and the url? Now it is hardcoded in the seleniumtestcase - so i without modification i cannot run it on diffrent rc servers or urls.
What speaks against the configuration xml?
#5 Updated by Karsten Dambekalns about 5 years ago
Daniel Poetzinger wrote:
Could we brainstorm about the setting of the rc server and the url? Now it is hardcoded in the seleniumtestcase - so i without modification i cannot run it on diffrent rc servers or urls.
What speaks against the configuration xml?
As I wrote somewhere (can't find it now :) - Phing cannot use a xml config file for PHPUnit. But where is the difference, really? Instead of the xml you adjust the base testcase, multiple browser are possible as well and for splitting the stuff we can use different filesets in Phing. Maybe I am missing soemthing, but to me we loose no flexibility...
#6 Updated by Karsten Dambekalns about 5 years ago
- Status changed from Resolved to Needs Feedback
#7 Updated by Karsten Dambekalns about 5 years ago
- Status changed from Needs Feedback to Resolved
- % Done changed from 90 to 100
Applied in changeset r954.
#8 Updated by Karsten Dambekalns about 5 years ago
When running the tests the defaults can now be overridden:
phing -Dseleniumrc.url=http://website.url -Dseleniumrc.host=selenium.server test-selenium
#9 Updated by Robert Lemke about 4 years ago
- Project changed from Core Team to Base Distribution
- Target version deleted (
518)
#10 Updated by Robert Lemke almost 3 years ago
- Project changed from Base Distribution to TYPO3.Neos