gemini-testing / testplane

Testplane (ex-hermione) browser test runner based on mocha and wdio
https://testplane.io
MIT License
687 stars 62 forks source link

Отсутствуют типы для метода moveCursorTo #871

Closed hheimerd closed 5 months ago

hheimerd commented 5 months ago

Verify latest release

Hermione version

8.3.0

Which area(s) of Hermione are affected? (leave empty if unsure)

No response

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

  1. npm init hermione-app my-example
  2. зайти в hermione-tests/example.hermione.ts
  3. добавить внутрь it код browser.$("...").moveCursorTo()

Describe the Bug

Для временного метода moveCursorTo отстутствуют типы. Он был добавлен через addCommand, однако типы в PR #842 не были добавлены

Expected Behavior

Нужно определить типы для этой команды, даже учитывая, что она временная. Так же стоит добавить директиву @deprecated с указанием информации об удалении в v9

Which Node.js version are you using?

20.10.0

shadowusr commented 5 months ago

Привет! Спасибо за репорт.

Пофиксил в #876. Добавлены типы для moveCursorTo и openAndWait.

Фикс доступен в версии 8.5.1.