Commit Graph

30 Commits

Author SHA1 Message Date
Marius Hein 7c6355613f Change default path in tools and documentation
refs #4926
2013-10-22 11:56:36 +02:00
Marius Hein 81cdb70b31 CS: Add license header to js test files 2013-10-04 15:32:39 +02:00
Marius Hein 1db06637be Add frontend test for load indicator
refs #4400
2013-10-04 15:32:38 +02:00
Marius Hein 4b97742371 Fix frontend test: regression-4622.js
refs #4611
2013-09-24 12:51:57 +02:00
Johannes Meyer d8eccd3858 Skip regression tests if no configuration available
refs #4600
refs #4666
2013-09-02 17:24:43 +02:00
Johannes Meyer 01d7ea39aa Fix error when initiating multiple logins with casperjs
refs #4600
2013-09-02 17:24:43 +02:00
Johannes Meyer 24ecbb56d7 Fix incorrect checkresult type selection
When submitting a passive checkresult for hosts only their correct
result types are added to the selection.

refs #4600
2013-09-02 17:24:42 +02:00
Jannis Moßhammer c77f4ff1d9 Frontend tests: Run each *.js file seperately
refs #4622
2013-09-02 10:59:05 +02:00
Jannis Moßhammer c7375d44fb Add regressiontest for this bug
refs #4622
2013-09-02 10:59:05 +02:00
Johannes Meyer 49eb9ea30f Fix some remaining issues
- Changed "this.fail" to "this.test.fail" in frontend regression test 4606
- Restored default timezone "Europe/Berlin"
- Added "var/log/*.log" to .gitignore
- Updated default.pp so that the user apache is part of the vagrant group

refs #4606
refs #4605
refs #4640
2013-08-29 13:21:33 +02:00
Jannis Moßhammer 0f36cfce62 Fix frontend tests, give forms names
refs #4491
2013-08-29 11:48:33 +02:00
Jannis Moßhammer 782291ec84 Change basepath for test and .htaccess
refs #4491
2013-08-29 11:48:32 +02:00
Jannis Moßhammer 86f76a61bc Change 'die' to 'fail' in frontend tests
refs #4491
2013-08-29 11:48:32 +02:00
Jannis Moßhammer d0ac97f335 Configure fixes, regression test for 4606
The configure routine still has to be improved, right now unused
authentication backends are commented out

refs #4491
refs #4606
refs #4640
2013-08-29 11:48:32 +02:00
Jannis Moßhammer c5dca9062b Frontend and configure.ac fixes
refs #4491
2013-08-29 11:47:10 +02:00
Jannis Moßhammer 81b41326cc Update frontend tests, add loginpage test
the runner now supports --host, --port, --path, --user and --pass for
icingaweb access and doesn't spawn any servers by itself.

Also a login test has been added. Other tests are removed as they don't
apply anymore.

refs #4491
2013-08-29 11:47:10 +02:00
Jannis Moßhammer e0f0e1fc13 Fix history api URI encoding
The history API encoded components multiple times, e.g. causing a [ to
be converted to %5B in the first link, then to %255B on the second link,
%25255B on the third, etc.

refs #4408
2013-07-15 13:03:12 +02:00
Johannes Meyer 68cce096e6 Add --vagrant switch to the frontend test-runner
Added -V|--vagrant switch to the frontend test-runner
to run the tests in the Vagrant VM

refs #4264
2013-07-01 12:10:54 +02:00
Johannes Meyer 2132628b7e Fix frontend test-runner so that it works on Ubuntu as well 2013-07-01 12:10:31 +02:00
Jannis Moßhammer 7e812704c9 Remove symlink in test 2013-06-27 15:26:19 +02:00
Jannis Moßhammer fa5c499733 Allow container-based url in history api
When a url is now loaded for an non-main container, the url for the
container is appended to the GET part of the URL

refs #4303
2013-06-19 13:22:02 +02:00
Jannis Moßhammer e8d7971531 Add History Api test
Add CasperJS Tests for History API (~80%). Also provides a few
resources like the generic.html site that can be used for more
setups

refs #4303
refs #4315
2013-06-19 13:22:02 +02:00
Jannis Moßhammer c126374807 Add 'public' symlink creation to runtests
Runtest now creates a symlink to the public folder when it doesn't
exist, allowing the built-in server to access the js files
without too much hassle

refs #4303
refs #4315
2013-06-19 13:22:02 +02:00
Jannis Moßhammer 990bc77d81 Add temporary http server for casperjs tests
Added a static folder and spawn a small HTTP server on runtests.
This is not really the best solution, as it uses pythons
simpleHTTPServer, but it works for now

refs #4315
2013-06-19 13:22:01 +02:00
Marius Hein 6f80d410b8 Integrate javascript frontend/component tests
Fix output and make smaller

refs 4213
2013-06-07 15:09:31 +02:00
Jannis Moßhammer 3e4ae41e8a Rename runtests.sh to runtest
As we have different executables for executing the runtests scripts,
runtests.sh is now renamed to runtests in order to stay consistent
over all testrunners

refs #4213
refs #4244
2013-06-07 10:34:39 +02:00
Jannis Moßhammer b253c4c069 Renamed runtest to runtests.sh
refs #4213
2013-06-06 16:13:32 +02:00
Jannis Moßhammer 359b51be43 Add testrunner for frontend tests
This runner should conform to our runner specification

refs #4213
refs #4244
2013-06-06 16:07:32 +02:00
Jannis Moßhammer a1298e6edd Add dummy test case for casperjs
The dummy test only checks whether our build server has the correct
title when called. Also the i2w-config.js toolkit is provided
to help testing correct paths

refs #4213
2013-06-06 16:05:55 +02:00
Marius Hein 9b907e3cd3 Move tested existing resources to new productive repository
Rename docs, tests and test/ui to doc, test and test/frontend to
suite skeleton definition.

refs #4212
2013-06-04 10:20:51 +02:00