Input field order
DamirSvrtan opened this issue · comments
Damir Svrtan commented
Hey Nate,
I'm working on the Rails Framework integration. Rails adds two additional input fields on every form:
uf8
- parameter added to forms in order to force Internet Explorer (5, 6, 7 and 8) to encode its parameters as unicode.authenticity_token
- CSRF protection.
Since these two fields are on top of every form, my tests are failing on the loginFormShouldBeOrderedCorrectly
spec:
java.lang.AssertionError: expected [login] but found [authenticity_token]
Tom commented
Looks like we need to ignore hidden fields.
Edward Jiang commented
On it.
Edward Jiang commented
A fix is ready under PR #275! Let me know if it works for you =] @DamirSvrtan