taiko: Unable to input value in specified text field using toRightOf("Field name").Instead, inputed under incorrect(Non specified) text field
Scenario/Issue: I have two different fields such as ‘Brand Name’ and ‘Sub Brand Name’. I was trying to input under ‘Sub Brand Name’ hence i have provided the below code of line(Specified the attribute name) to input under Sub Brand Name
-
write(“test”, toRightOf(“Sub Brand Name”));
Note: I understand every-time it inputs into the focused element which is not the ideal behavior since user has clearly mentioned to input toRightOf(“field name”).Refer the screenshot attached.
Expected behavior
Should input under Sub Brand Name
Actual behavior
Inputed under Brand Name
Steps to reproduce
- Log into application
- write(“test”, toRightOf(“Sub Brand Name”));
Versions
Paste `node` and `taiko` versions here.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 15 (8 by maintainers)
found that the textField api handles only input with type text, will be adding support for textarea and input text both in new api
textBoxand deprecate the existingtextField