Closed spoike closed 12 years ago
Mmm, not good. I have to investigate.
Teun
On 4/26/12, Mikael Piotrowski reply@reply.github.com wrote:
In
Form.cs
there are several tests that fail and there is also a couple of build errors.Test failures
UsingLinks gives the following failure output:
selecting <form> from 29 nodes http://localhost/test Request logged: http://localhost/test?cb=&radios=first&textbox=textbox+content&textarea_a=This+is+a+full+text+part with+several+line breaks+in+it. ++++&optionsList=opt1&colorBox=
Textarea not posted correctly Expected:
True
But was:False
at NUnit.Framework.Assert.That(Object actual, IResolveConstraint expression, String message, Object[] args) at NUnit.Framework.Assert.That(Boolean condition, String message) at DriverTest.Form.SubmitGetForm() in Form.cs: line 158
SubmitGetForm gives the following failure output:
selecting <a> from 29 nodes http://www.google.com/search?q=teun Redirecting to: http://www.google.com/webhp Request logged: http://www.google.com/search? http://www.google.com/webhp Redirecting to: http://www.google.se/webhp Request logged: http://www.google.com/webhp http://www.google.se/webhp Request logged: http://www.google.se/webhp
Link has resulted in unexpected request Expected:
True
But was:False
at NUnit.Framework.Assert.That(Object actual, IResolveConstraint expression, String message, Object[] args) at NUnit.Framework.Assert.That(Boolean condition, String message) at DriverTest.Form.UsingLinks() in Form.cs: line 31
Build errors
Both
SubmitPostForm
andPostAspnetPostbackForm
have build errors. Both errors are similar as they fail when putting PostData in aNameValueCollection
variable when it is astring
.The offending lines are at 193 and 240 and look like this:
lastRequest = logged.PostData;
I'm using WebDriver 0.5.0.
Reply to this email directly or view it on GitHub: https://github.com/Teun/SimpleBrowser.WebDriver/issues/2
Sent from my mobile device
I recently made a change to SimpleBrowser that was breaking. I didn't realize that checging the type of this property would be visible to clients. Stupid. I'm reverting and fixing this in SimpleBrowser. The other error is related to the fact that the tests rely on the network not being available. This is kind of stupid, but I never realized this, because I mostly work on the code while commuting. :) Thanks for the report. Will fix.
I commented out the breakage and added ignore attribute on the tests that were failing. It is in the pull request. I apologize in advance if this messes it up.
I did the fix. Did not pull your commenting revision. Thanks for alerting me.
In
Form.cs
there are several tests that fail and there is also a couple of build errors.Test failures
UsingLinks gives the following failure output:
SubmitGetForm gives the following failure output:
Both
SubmitPostForm
andPostAspnetPostbackForm
have build errors. Both errors are similar as they fail when putting PostData in aNameValueCollection
variable when it is astring
.The offending lines are at 193 and 240 and look like this:
I'm using WebDriver 0.5.0.