toast-tk / toast-tk-engine

The core automation framework for your acceptance tests
http://toast-tk.io
Other
12 stars 5 forks source link

Web actions select and type does not work #16

Closed nicosvg closed 8 years ago

nicosvg commented 8 years ago

Description

The action _select_in_webcomponent does not work. The action _type_in_webcomponent only works when first argument is a variable.

Steps to reproduce

|| setup || web || Jobs ||
| name | type | locator | method | position |
| jobsList | select | .sf-field-post-meta-metier .sf-input-select | CSS | 0 |
| name | input | .nom .wpcf7-validates-as-required | CSS | 0 |

$name := Foo Baz

|| scenario || web ||
|Open browser at *http://www.talan.fr/en/jobs3/*|
|Type *Foo Bar* in *Jobs.name*|
|Type *$name* in *Jobs.name*|
|Select *4* in *Jobs.jobsList*|

capture

Expected result