ui5-community / wdi5

official UI5 end-to-end test framework for UI5 web-apps. wdi5 = Webdriver.IO + UI5 Test API
https://ui5-community.github.io/wdi5/
Apache License 2.0
102 stars 43 forks source link

TypeScript type declaration package for WDI5? #153

Closed yurecz closed 2 years ago

yurecz commented 2 years ago
  1. Trying to use the WDIO+WDI5 combination with typescript in the strict mode.
  2. When using the ui5 control selector: browser.asControl({ selector: { id: 'fe::table::VisitList::LineItem', viewName: 'le.lmd.visitlist.detailss1::VisitListList', } })

Receive the error message: any Property 'asControl' does not exist on type 'Browser'.

  1. Question: Is any type import for the typescript existing as the npm package which could remove this error?
vobu commented 2 years ago

hi,

hth, v.

yurecz commented 2 years ago

@vobu : Many thanks for the quick reply and clear explanation! I will close the question.