Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-27502

Incorrect Browser Titles for Insights Pages

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • No
    • Normal

      Browser titles were previously "baked into" automated tests to verify the correctness of the titles. It seems that a number of these tests are failing because the titles have changed on the pages.
       
      Test failures (focus on the ones with assertion errors):

      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items33-Dashboard | Red Hat Insights] - widgetastic_patternfly4.navigation.NavSelectionNotFound: ('Overview',) not found in navigation tree. Could not find element: './/ul/li[.//*[self::a or self:...
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items34-Inventory | Red Hat Insights] - AssertionError: assert 'Dashboard | Red Hat Insights' == 'Inventory | Red Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items35-Advisor recommendations - Advisor | Red Hat Insights] - AssertionError: assert 'Dashboard | Red Hat Insights' == 'Advisor reco... Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items36-Advisor systems - Advisor | Red Hat Insights] - AssertionError: assert 'Dashboard | Red Hat Insights' == 'Advisor syst... Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items37-Advisor topics - Advisor | Red Hat Insights] - AssertionError: assert 'Dashboard | Red Hat Insights' == 'Advisor topi... Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items39-Systems - Patch | Red Hat Insights] - AssertionError: assert 'Dashboard | Red Hat Insights' == 'Systems - Pa... Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items41-CVEs - Vulnerability | Red Hat Insights] - AssertionError: assert 'Dashboard | Red Hat Insights' == 'CVEs - Vulne... Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items42-Reports - Vulnerability | Red Hat Insights] - AssertionError: assert 'Dashboard | Red Hat Insights' == 'Reports - Vu... Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items43-Vulnerability systems - Vulnerability | Red Hat Insights] - AssertionError: assert 'Dashboard | Red Hat Insights' == 'Vulnerabilit... Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items44-Reports - Compliance | Red Hat Insights] - AssertionError: assert 'Dashboard | Red Hat Insights' == 'Reports - Co... Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items45-SCAP policies - Compliance | Red Hat Insights] - AssertionError: assert 'Dashboard | Red Hat Insights' == 'SCAP policie... Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items46-Compliance systems - Compliance | Red Hat Insights] - AssertionError: assert 'Dashboard | Red Hat Insights' == 'Compliance s... Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items47-Malware signatures - Malware | Red Hat Insights] - AssertionError: assert 'Dashboard | Red Hat Insights' == 'Malware sign... Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items48-Malware systems - Malware | Red Hat Insights] - AssertionError: assert 'Dashboard | Red Hat Insights' == 'Malware syst... Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items49-Comparison - Drift | Red Hat Insights] - AssertionError: assert 'Dashboard | Red Hat Insights' == 'Comparison -... Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items50-Baselines - Drift | Red Hat Insights] - AssertionError: assert 'Dashboard | Red Hat Insights' == 'Baselines - ... Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items51-Resource Optimization | Red Hat Insights] - AssertionError: assert 'Dashboard | Red Hat Insights' == 'Resource Opt... Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items52-Policies | Red Hat Insights] - AssertionError: assert 'Dashboard | Red Hat Insights' == 'Policies | Red Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items53-Red Hat Enterprise Linux - Subscriptions | Red Hat Insights] - AssertionError: assert 'Dashboard | Red Hat Insights' == 'Red Hat Ente... Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items54-Red Hat Satellite - Subscriptions | Red Hat Insights] - widgetastic_patternfly4.navigation.NavSelectionNotFound: ('Subscriptions', 'Satellite') not found in navigation tree. Could not find element: './/ul/li[.//*...
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items55-Subscription Inventory - Subscriptions | Red Hat Insights] - AssertionError: assert 'Dashboard | Red Hat Insights' == 'Subscription... Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items56-Manifests - Subscriptions | Red Hat Insights] - AssertionError: assert 'Dashboard | Red Hat Insights' == 'Manifests - ... Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items57-Image Builder | Red Hat Insights] - widgetastic_patternfly4.navigation.NavSelectionNotFound: ('Image Builder',) not found in navigation tree. Could not find element: './/ul/li[.//*[self::a or ...
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items58-Register your systems with Red Hat Insights | Red Hat Insights] - AssertionError: assert 'Register Sys... Hat Insights' == 'Register you... Hat Insights'
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items59-Remediations - Toolkit | Red Hat Insights] - widgetastic_patternfly4.navigation.NavSelectionNotFound: ('Toolkit', 'Remediations') not found in navigation tree. Could not find element: './/ul/li[.//*[se...
      FAILED test_browser_titles.py::test_browser_titles[Insights-nav_items60-Tasks - Toolkit | Red Hat Insights] - widgetastic_patternfly4.navigation.NavSelectionNotFound: ('Toolkit', 'Tasks') not found in navigation tree. Could not find element: './/ul/li[.//*[self::a o...
        

      One of two things are needed:
      1. Correct the page titles in the application

      2. Correct the expected value in the tests

              Unassigned Unassigned
              btweed@redhat.com Brandon Tweed
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: