zebrunner / carina-webdriver

Apache License 2.0
7 stars 10 forks source link

When creating a page, try to call the constructor to create an object of field if it inherits AbstractPage #68

Closed akamarouski closed 1 year ago

akamarouski commented 1 year ago

Selenium / Appium logic - if an annotation is not specified above the field, we still create an object by By.id, where the field name is the id. A hotfix should be added to ignore fields with AbstractPage type.

dmtgrinevich commented 1 year ago

With new fix carina begin to init fields from AbstractUIObject without @Findby annotation as By.id

edited: possible fix: https://github.com/zebrunner/carina-webdriver/pull/74

vdelendik commented 1 year ago

1.0.1.P1-SNAPSHOT might be used if hotfix is needed