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

Create cypress test for Data connection

XMLWordPrintable

    • Dashboard - Quality-2
    • Testable

      Description

      • Validate the empty state is displayed when no data connection is present.
      • Validate that clicking on the Add data connection will open a modal (Add data connection Modal) 
      • Validate that clicking on the kebab menu Edit option will open a modal.(Edit data connection Modal
      • Validate kebab menu delete option will open a modal.(delete modal)
      • Validate that sorting based on Name works correctly.
      • Validate data connection 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 data connection 
      • Ensure that network assertion is made for edit data connection.
      • Ensure that network assertion is made for data connection deletion.

      URL

      /projects/<namespace>

      see attached screenshot

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

              Created:
              Updated:
              Resolved: