Uploaded image for project: 'Network Observability'
  1. Network Observability
  2. NETOBSERV-1621

When user is not admin overview and table view page doesn't show error message

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Console Plugin
    • None
    • False
    • None
    • False
    • NetObserv - Sprint 253
    • Important

      Description of problem:

      When user is not admin overview and table view page doesn't show error message as it does in topology view
      

      Steps to Reproduce:

      1.  Can be reproduced on a OCP cluster using script: https://github.com/openshift/openshift-tests-private/blob/master/frontend/tests/netobserv/netflow_cluster_admin_group.cy.ts
      2. Run script as: ./node_modules/cypress/bin/cypress run --env noo_catalog_src=upstream --spec tests/netobserv/netflow_cluster_admin_group.cy.ts
      

      Actual results:

      Overview DOM is not updated and includes #overview-flex selector and it does show error message "user is not an admin"
      Table view also does not show "user is not an admin" error message
      

      Expected results:

      Overview DOM should be updated to not have #overview-flex and it should also show error message "user is not an admin"
      Table view should also have error message displayed "user is not an admin"
      

        1. bug.ts
          2.42 MB
          Mehul Modi

            jpinsonn@redhat.com Julien Pinsonneau
            rhn-support-memodi Mehul Modi
            Mehul Modi Mehul Modi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: