-
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
GStrings in attribute selectors do not work #525
Comments
Can you please confirm which version of Geb you are seeing this with,
Carsten?
…On Tue, 29 May 2018 at 07:32, Carsten Rohrbach ***@***.***> wrote:
It should be possible to pass GStrings for attribute values.
The following content definition does not resolve:
accountLink { id -> $('a', href: "/account/$id/profile") }
but the following does:
accountLink { id -> $('a', href: "/account/$id/profile" as String) }
It took me an hour to find the problem, as I just did expect id had to
work.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#525>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAMii_gVVjHUEgTEl7y2-cZKlg6Xj3-fks5t3OtpgaJpZM4UQ57P>
.
|
@erdi I tried with geb-spock 2.0 and 2.1 (groovy 2.4.10) |
So you tried with the latest, cool. I’ll take a look.
…On Tue, 29 May 2018 at 11:32, Carsten Rohrbach ***@***.***> wrote:
@erdi <https://github.com/erdi> I tried with geb-spock 2.0 and 2.1
(groovy 2.4.10)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#525 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAMiizGVie9ukmj5EAvbiReBAoVPOLhhks5t3SPWgaJpZM4UQ57P>
.
|
Thanks for reporting, this indeed was a bug. The issue was more obscure than simply selection for |
It should be possible to pass GStrings for attribute values.
The following content definition does not resolve:
but the following does:
It took me an hour to find the problem, as I just did expect id had to work.
The text was updated successfully, but these errors were encountered: