Uploaded image for project: 'Magnolia Test Framework'
  1. Magnolia Test Framework
  2. MGNLTEST-387

Improve PO SubscriptionUiNavigation#goToUserProfilePage

    XMLWordPrintable

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

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              hpola Harshini Pola
              cmeier Christoph Meier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Work Started:

                Checklists

                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 3h
                    3h