codeceptjs / codeceptjs/CodeceptJS
wait* steps not works with arguments {name | id }
Offen
3.0
bug
- Vorherrschende Sprache
- JavaScript
- Sterne
- 4.2k
- Forks
- 757
- Ø Merge
- 2 T. 9 Std.
- Gemergte PRs (30 T.)
- 16
Beschreibung
I try to call:
```js
I.waitForVisible({ name: 'field_name' })
```
but locator contains:
```js
Locator {
type: 'name',
output: null,
strict: true,
locator: { name: 'field_name' },
value: 'field_name'
}
```
And the `waitForVisible` step checks if this locator `isCss` will make `locator.simplify`, else waitByXpath, but `name` is not css, and CodeceptJS tries to search element by following xpath: ` 'field_name'`, but it is invalid xpath
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.