Uploaded image for project: 'Red Hat OpenShift AI Engineering'
  1. Red Hat OpenShift AI Engineering
  2. RHOAIENG-3809

Create cypress test for Cluster storage

XMLWordPrintable

    • Dashboard - Quality-2, Dashboard - Quality-3
    • Testable

      Description

      • Validate the empty state is displayed when no cluster storage is present.
      • Validate that clicking on the Add cluster storage will open a modal.
      • Validate that clicking on the kebab menu Edit option will open a modal to edit cluster storage.
      • Validate kebab menu delete option will open a modal.
      • Validate that sorting based on Name works correctly.
      • Validate cluster storage list in table with correct data in each column.

      Network assertion

      • Assert the method is correct - eg DELETE for deleting a k8s resource
      • Assert the query params are correct - - eg dryRun followed by non-dry run if we mock respond successfully to the dryRun request
      • Assert the request body content is as expected.
      • Ensure that network assertion is made for adding cluster storage 
      • Ensure that network assertion is made for edit cluster storage.
      • Ensure that network assertion is made for cluster storage deletion.

      URL

      /projects/<namespace>

       

      see attached screenshot 

        1. Screenshot 2024-02-27 at 18.10.13.png
          190 kB
          Adnan Khan
        2. Screenshot from 2024-03-28 20-49-44.png
          54 kB
          Pushpa Padti
        3. Screenshot from 2024-03-28 20-51-32.png
          56 kB
          Pushpa Padti
        4. Screenshot from 2024-03-28 20-52-30.png
          21 kB
          Pushpa Padti
        5. Screenshot from 2024-03-28 20-56-18.png
          89 kB
          Pushpa Padti

            pnaik@redhat.com Purva Naik
            ppadti@redhat.com Pushpa Padti
            RHOAI Dashboard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: