-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing text-like input types #548
Comments
I'd provide a PR in the next days if nobody has any objections against this issue. |
I have no objections and I’m looking forward to the PR.
…On Mon, 3 Dec 2018 at 17:24, Michael Kutz ***@***.***> wrote:
I'd provide a PR in the next days if nobody has any objections against
this issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#548 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAMiixn26I-85mN5Hg6RgGdltRDNTTQZks5u1V49gaJpZM4Y_C6Z>
.
|
I'm trying to write the needed tests and found the DateInputSpec as a template for the See 311dbfc |
There probably is but not a straightforward, out of the box one. SauceLabs
offers free accounts with a limit of automation time, I’d just try using
that if I were in your position.
Also, note that DateInputSpec is somewhat special - it caters for the fact
that the module it tests only works in a subset of browsers. For modules
handling controls that are supported in all browsers including HtmlUnit I’d
model the tests after specs like TextInputSpec.
…On Tue, 4 Dec 2018 at 07:54, Michael Kutz ***@***.***> wrote:
I'm trying to write the needed tests and found the DateInputSpec
<https://github.com/geb/geb/blob/master/module/geb-core/src/test/groovy/geb/module/DateInputSpec.groovy>
as a template for the DateTimeLocalInputSpec. How can I execute that
test? Is there a way to do it without Sauce Labs?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#548 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAMii0G3RhY9rAtLOAQwjuYnf3BqhWUbks5u1ipLgaJpZM4Y_C6Z>
.
|
I picked |
I get the following error for the more "fancy" input types of
I guess there is something missing in Selenium or in the browsers' web driver, rather then in Geb. What do you think @erdi? I'd like to reduce the scope of this issue to the missing text-like input types ( |
It will be most likely due to this line: https://github.com/geb/geb/blob/3e0ada5065856a7ef1576eae5f25fdcf0e41bb7e/module/geb-core/src/main/groovy/geb/navigator/NonEmptyNavigator.groovy#L713. Note how I had to put in a special case for I'm more than happy for you to reduce the scope to |
Just found the line. I'll check if that works. I'll reduce the scope anyway and open one new issue per fancy input. The commits I did I'll cherry-pick for other PR's. |
I had some trouble running the snippets on my machine:
Probably nothing related to my changed, so I created the PR anyway. |
Since there are already several implementations (e.g. SearchInput, TelInput or EmailInput, there should be a corresponding implementation for all types listed here.
Missing are
colornot text-like, will be put in separate issuedatetime-localnot text-like, will be put in separate issueimagenot text-like, will be put in separate issuemonthnot text-like, will be put in separate issuerangenot text-like, will be put in separate issuetimenot text-like, will be put in separate issueweeknot text-like, will be put in separate issueThe text was updated successfully, but these errors were encountered: