You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new method was added to Go and AtataNavigator classes:
publicTOnRefreshed<T>()whereT:PageObject<T>;
Continues with the specified page object type with rage refresh. Firstly, checks whether the current AtataContext.PageObject is T, if it is, returns it; otherwise, creates a new instance of T without navigation. Then a page is refreshed. The method is useful in case when you reuse a single test suite driver by tests and want to refresh a page on start of each test to ensure that the page is in clean start state.
Usage
Go.OnRefreshed<SomePage>();
The text was updated successfully, but these errors were encountered:
The new method was added to
Go
andAtataNavigator
classes:Continues with the specified page object type with rage refresh. Firstly, checks whether the current
AtataContext.PageObject
isT
, if it is, returns it; otherwise, creates a new instance ofT
without navigation. Then a page is refreshed. The method is useful in case when you reuse a single test suite driver by tests and want to refresh a page on start of each test to ensure that the page is in clean start state.Usage
The text was updated successfully, but these errors were encountered: