Commit Graph
32590 Commits
Author SHA1 Message Date
tfennelly 0801043992 ApiTokenPropertyTest fixes 2015-08-24 19:09:51 +01:00
tfennelly 34f2756011 Jenkins19124Test fixes 2015-08-24 19:09:51 +01:00
tfennelly cc7d395529 FormFieldValidatorTest fixes 2015-08-24 19:09:51 +01:00
tfennelly d5a19e9d67 RelativePathTest fixes 2015-08-24 19:09:50 +01:00
tfennelly a930d31fd1 HelpLinkTest fixes 2015-08-24 19:09:50 +01:00
tfennelly 7ba1798a58 HudsonTest fixes 2015-08-24 19:09:50 +01:00
tfennelly 55dbbc034d DirectlyModifiableViewTest fixes 2015-08-24 19:09:50 +01:00
tfennelly 19cf13a512 ExceptionTest fixes 2015-08-24 19:09:50 +01:00
tfennelly bceaf9cef0 JenkinsTest fixes
runScriptOnOfflineComputer has always been dodgy from what I can see. It was relying on the slave not being connected at the time the doScript call happened. I tested this on a vanilla master and it's easy to make this test fail  -just put a loop in after the slave is created, waiting on the slave channel to be connected before making the doScript call.

This change makes sure the slave has connected and disconnected before continuing.
2015-08-24 19:09:50 +01:00
tfennelly 5109e84b05 RenderOnDemandTest fixes 2015-08-24 19:09:50 +01:00
tfennelly 537c46658d Wait for background JS to execute on form submit 2015-08-24 19:09:50 +01:00
tfennelly 41bf661ec2 ValidateButtonTest fixes 2015-08-24 19:09:49 +01:00
tfennelly 32017945e7 BuildListTableTest fixes 2015-08-24 19:09:49 +01:00
tfennelly 60e646e815 Added javascript enabled getter/setter to JenkinsRule.WebClient 2015-08-24 19:09:49 +01:00
tfennelly 92944d6e63 JNLPLauncherTest fixes 2015-08-24 19:09:49 +01:00
tfennelly 373f665a35 TokenBasedRememberMeServices2Test and Cookie 2015-08-24 19:09:49 +01:00
tfennelly c7491babe1 Handle empty responses with no content-type header 2015-08-24 19:09:49 +01:00
tfennelly 405af0385f Reverting the WebClientResponseLoadListenable stuff
No need for it as it turns out. We can get the "current" page (i.e the form submit result) from the webclient.
2015-08-24 19:09:49 +01:00
tfennelly a35bba6e96 Revert earlier "fix" to the UserTest 2015-08-24 19:09:49 +01:00
tfennelly 6813ded101 Force the web response loading for a submit
and sniff in on the response
2015-08-24 19:09:49 +01:00
tfennelly 516a4e52b3 Fixed UserTest tests 2015-08-24 19:09:48 +01:00
tfennelly a3e7c63260 Tweak to HtmlUnitUtil form submit 2015-08-24 19:09:48 +01:00
tfennelly 7f1dce41e7 HtmlFormUtil.submit to return Page from Submitable 2015-08-24 19:09:48 +01:00
tfennelly d4ab85297a Set the form encoding type on WebRequest instances
default is url-encoding, which is not what it used to be)
2015-08-24 19:09:48 +01:00
tfennelly ec9e3e3995 Disable browser postMessage support when running in test mode 2015-08-24 19:09:48 +01:00
tfennelly 2f39d50071 Updated HtmlUnit BrowserVersions to FIREFOX_38 2015-08-24 19:09:48 +01:00
tfennelly 98354fbf91 Fixes to AbstractProjectTest.groovy 2015-08-24 19:09:48 +01:00
tfennelly f33b84d9f3 Setting browser version for HudsonTestCase 2015-08-24 19:09:48 +01:00
tfennelly fd4fdc9181 Don't click and submit if it's a SubmitableElement 2015-08-24 19:09:47 +01:00
tfennelly bc88d2124f No need to call doProcessPostponedActions at all 2015-08-24 19:09:47 +01:00
tfennelly a7a0237336 Only call doProcessPostponedActions on execute 2015-08-24 19:09:47 +01:00
tfennelly ea2e44ae0c Set browser version to Firefox_24 2015-08-24 19:09:47 +01:00
tfennelly 48207a19da Removed prototypejs extended create syntax support check (always returning false) 2015-08-24 19:09:47 +01:00
tfennelly b5b76bab93 Fixed getSubmitButton to accommodate <input> or <button> submit 2015-08-24 19:09:47 +01:00
tfennelly 5e493f8896 Perform AJAX requests as a postponed action, so that the XHR (part 2)
See https://github.com/jenkinsci/htmlunit/commit/72262c3edb2431c2ef9ec3d17977a683e1ccec82
2015-08-24 19:09:47 +01:00
tfennelly ce06a0a771 Perform AJAX requests as a postponed action, so that the XHR
See https://github.com/jenkinsci/htmlunit/commit/72262c3edb2431c2ef9ec3d17977a683e1ccec82
2015-08-24 19:09:47 +01:00
tfennelly 684a25daaf Added temp copy of JavaScriptEngine for patching
TODO: remove once upstream has the fixes made here
2015-08-24 19:09:47 +01:00
tfennelly 5a08cf48b4 Dependency exclusions for http commons + some test fixes 2015-08-24 19:09:46 +01:00
tfennelly f189af856b SignupPage compiling against HtmlUnit 2.17 2015-08-24 19:09:46 +01:00
tfennelly 20bbaea191 SearchTest compiling against HtmlUnit 2.17 2015-08-24 19:09:46 +01:00
tfennelly 12ff659deb RenderOnDemandTest compiling against HtmlUnit 2.17 2015-08-24 19:09:46 +01:00
tfennelly 17ea748fa9 JobTest compiling against HtmlUnit 2.17 2015-08-24 19:09:46 +01:00
tfennelly fc557968d2 AsynchPeopleTest compiling against HtmlUnit 2.17 2015-08-24 19:09:46 +01:00
tfennelly dc1e420886 NodePropertyTest compiling against HtmlUnit 2.17 2015-08-24 19:09:46 +01:00
tfennelly 61173941bd IconTest compiling against HtmlUnit 2.17 2015-08-24 19:09:46 +01:00
tfennelly 8dea7d9b01 Security177Test compiling against HtmlUnit 2.17 2015-08-24 19:09:46 +01:00
tfennelly c2491f913e ManagementLinkTest compiling against HtmlUnit 2.17 2015-08-24 19:09:45 +01:00
tfennelly d260659357 ValidateButtonTest compiling against HtmlUnit 2.17 2015-08-24 19:09:45 +01:00
tfennelly 9b5a4ea4c6 LayoutTest compiling against HtmlUnit 2.17 2015-08-24 19:09:45 +01:00
tfennelly 6cad8d254c AdvancedButtonTest compiling against HtmlUnit 2.17 2015-08-24 19:09:45 +01:00