codeceptjs / codeceptjs/CodeceptJS
wait* steps not works with arguments {name | id }
Aberta
3.0
bug
- Linguagem predominante
- JavaScript
- Estrelas
- 4.2k
- Forks
- 757
- Merge médio
- 2d 9h
- PRs com merge (30d)
- 16
Descrição
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
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.