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

Create cypress test for Notebook server tab

XMLWordPrintable

    • Dashboard - Quality-4
    • Testable

      Description

      • Validate notebook server page will have notebook image list, deployment size and environment variables section to create a server.
      • Validate clicking on the start server button will open the modal by starting server.
      • Validate that starting server successfully will enable 
      • Validate that after server creation, Access server button is enabled clicking on that will navigate to a different page.
      • Validate that after server creation, stop server button enabled and clicking on that will open a modal.

      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 start server and stop server action.

      URL

      /notebookController

      see attached screenshot

        1. Screenshot from 2024-02-06 19-59-18.png
          100 kB
          Pushpa Padti
        2. Screenshot from 2024-02-09 21-05-09.png
          42 kB
          Pushpa Padti
        3. Screenshot from 2024-02-09 20-47-51.png
          100 kB
          Pushpa Padti

            asansari@redhat.com Ashique Ansari
            ppadti@redhat.com Pushpa Padti
            RHOAI Dashboard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: