Details
-
Improvement
-
Resolution: Resolved
-
Neutral
-
None
-
None
-
None
Description
The PO SubscriptionUiNavigation is used for tests in subscription-service-admin-ui/e2e.
Currently the class exists in both
- subscription-service-ui/e2e
- saas-test-framework-parent/saas-test-framework
The latter is used for some "smoke-tests" within saas-TF.
At some point we should end up with only one class - deleting ot in one project.
About the task to improve SubscriptionUiNavigation#goToUserProfilePage:
The method currently uses:
new Navigator().to(configuration.getSubscriptionUIBaseUrl()+"/profile");
When doing this manually in a browser, it looks like the whole angular app is reloaded again. This is way it takes so long until the profile page PO is ready.
The solution of this ticket should be to click on the appropriate link of the UI.
Again, when doing this manually, we can see that the profile page is ready immediately.
This should solve the problem of so far required Selenide.sleep in the PO UserProfilePage in assertExists.
Tasks:
- Resolve it in saas-TF first
- Apply the fix to subscription-service-ui/e2e as well