Commit Graph

140 Commits

Author SHA1 Message Date
R. Tyler Croy 90134e06c9 Refactor step definitions into much more logical files 2012-07-31 16:55:08 -07:00
R. Tyler Croy db67a93456 Add a simple feature for the build history functionality 2012-07-31 16:53:52 -07:00
R. Tyler Croy aba239e4ca Start removing methods for tests that have been ported into cucumber 2012-07-31 05:49:21 -07:00
R. Tyler Croy 76a13cab7d Port over the job disabling scenario 2012-07-31 05:49:21 -07:00
R. Tyler Croy 217d69452e Add a Jenkins::Job.configure method which takes a block, to make it easier to configure jobs 2012-07-31 05:49:21 -07:00
R. Tyler Croy 25ebb52889 Port the Ant build step test from the old style into cucumber 2012-07-31 05:18:44 -07:00
R. Tyler Croy 087b737af9 Remove undefined step, missed this earlier 2012-07-31 05:18:25 -07:00
R. Tyler Croy e09c68cf54 Add a rake task to avoid running tests that require network
This is useful if you are, on an airplane, for example
2012-07-31 05:17:58 -07:00
R. Tyler Croy 5efbba7730 Remove the no-op test 2012-07-31 04:47:24 -07:00
R. Tyler Croy b3c311ce2b Fix a silly syntax error, whoopsies! 2012-07-31 04:46:46 -07:00
R. Tyler Croy 33770dda9c Started implementing the build-timeout test until I hit a roadblock with the plugin itself :( 2012-07-30 06:34:51 -07:00
R. Tyler Croy bcdd211bba Add some WIP code to re-write the build-timeout test as a nicer Cucumber scenario 2012-07-30 04:56:59 -07:00
R. Tyler Croy 5dc10b7151 Changed my mind, this doesn't add any additional information 2012-07-30 04:50:22 -07:00
R. Tyler Croy e0ccc288ff Remove this now redundant test class 2012-07-30 04:45:37 -07:00
R. Tyler Croy aadb2ded2a This scenario really isn't WIP anymore now is it 2012-07-30 04:44:27 -07:00
R. Tyler Croy c846246f1f If @controller_options isn't defined by any hooks, we shouldn't try to merge it 2012-07-30 04:42:29 -07:00
R. Tyler Croy 40f15a6517 Add a feature for installing a plugin from the update center
This includes a nice, simpler PluginManager page object than the piece of junk
that I wrote which lives in test/selenium/pageobjects/pluginmanager.rb

Much prettier :)
2012-07-30 04:40:32 -07:00
R. Tyler Croy 875d838c5e Add Jenkins::PageObject#wait_for to effectively wait on a selector to appear
This should *NOT* be used for many cases, since Capybara's #find method has
some built-in waiting. But for cases such as waiting for a job to complete, or
the update center to update, this is useful where wait times will be longer
than a couple of seconds
2012-07-30 04:39:00 -07:00
R. Tyler Croy a2ebb560c7 Add support for tagging scenarios as needing a real update center 2012-07-30 04:38:39 -07:00
R. Tyler Croy e3412cbe94 Automatically require all of the page object files in the lib directory 2012-07-30 04:38:17 -07:00
R. Tyler Croy 9d25a68184 Move the "Given a bare Jenkins instance" to a Background (read: descriptive) block 2012-07-30 04:37:31 -07:00
R. Tyler Croy a250cd8191 Add some more sensible rake tasks for running WIP and stable scenarios 2012-07-30 03:04:42 -07:00
R. Tyler Croy 8d12567846 Default back to the Firefox browser, Google Chrome keeps breaking with Selenium 2012-07-30 02:47:47 -07:00
R. Tyler Croy 29036beb0d Refactor the JenkinsController code to properly start/stop jenkins
This also changes some of the JenkinsController API code to reduce the need for
some duplicated code
2012-07-30 02:46:18 -07:00
R. Tyler Croy cee1af1d91 Follow redirects in the fetch script 2012-07-30 02:22:31 -07:00
R. Tyler Croy 665081ea73 Remove duplicate test, this was moved to freestyle_build.feature 2012-07-30 00:04:48 -07:00
Vojtech Juranek 3f640798fd Catch parse exception when the slave is not online yet and thus we get HTTP 404, i.e. no JSON at all 2012-07-20 22:33:13 +02:00
Vojtech Juranek 8992d071bb Fixed parametrized build test 2012-07-20 22:32:58 +02:00
R. Tyler Croy beb20748ce Merge pull request #2 from vjuranek/runner_stop
Runner stop
2012-07-16 10:51:03 -07:00
Vojtech Juranek 9b2920bde5 remove tomcat import from this pull 2012-07-16 15:42:11 +02:00
Vojtech Juranek e1ab74efe4 Fixed hijacked puts method (see http://stackoverflow.com/questions/10526894/cucumber-puts-in-after-hook-not-outputting-anything) 2012-07-16 15:29:57 +02:00
Vojtech Juranek 43c8bfbd79 Ensure that the runner is stopped 2012-07-16 15:27:45 +02:00
Kohsuke Kawaguchi 6bbc00fab4 working around unclickable element below sticky save button 2012-05-09 15:46:02 -07:00
Kohsuke Kawaguchi f98692ed7a wait for Jenkins to get ready 2012-05-09 15:08:37 -07:00
Kohsuke Kawaguchi 696406bf73 back to run all the tests 2012-05-08 19:08:06 -07:00
Kohsuke Kawaguchi b05c2498b6 This needs to be before -jar, and the flag was interpreted wrongly.
More recent version of Winstone does let you run -D anywhere, but we want to be able to test old versions
2012-05-08 19:07:45 -07:00
Kohsuke Kawaguchi 22bda5de78 this is a better default 2012-05-08 18:52:25 -07:00
Kohsuke Kawaguchi 04c602e35e making indentation match up with the output from Cucumber 2012-05-08 18:51:49 -07:00
Kohsuke Kawaguchi ad3f33f84d still seeing occasional first page load problem. adding a bit more delay 2012-05-08 18:45:41 -07:00
Kohsuke Kawaguchi 41d315abc2 fixing a test failur 2012-05-08 18:41:00 -07:00
Kohsuke Kawaguchi 4b054f68bc download slave.jar from Jenkins and then run 2012-05-08 18:21:38 -07:00
Kohsuke Kawaguchi edf89c9427 doc update 2012-05-08 18:09:03 -07:00
Kohsuke Kawaguchi c92281abcd moved to a new location to separate them from page objects 2012-05-08 18:05:03 -07:00
Kohsuke Kawaguchi 18a26b4406 allow cucumber tests to run from Rake so that I can run both styles of tests in one go 2012-05-08 17:30:07 -07:00
Kohsuke Kawaguchi c899e3ef30 all this work around that I created before I realized the bug fix in wait_for_ready is problematic when we use this driver from old code, so removing it.
There goes my 30 mins.
2012-05-08 17:29:49 -07:00
Kohsuke Kawaguchi edd58674dd Officially taken over by jenkins_controller.rb 2012-05-08 17:22:18 -07:00
Kohsuke Kawaguchi 0e7aacd025 needs to call tear down as well to clean up the left over 2012-05-08 17:21:21 -07:00
Kohsuke Kawaguchi 7fa78d6101 wait for the page to actually become available before claiming that we are ready 2012-05-08 17:20:46 -07:00
Kohsuke Kawaguchi 6073815bff fixed a crucial true/false flag 2012-05-08 17:20:25 -07:00
Kohsuke Kawaguchi 380694b621 missing require 2012-05-08 16:34:13 -07:00