Uploaded image for project: 'Red Hat OpenShift Data Science'
  1. Red Hat OpenShift Data Science
  2. RHODS-3579

Update "Clone Git Repository" to confirm if and when clone operation is successful

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • None
    • None
    • False
    • None
    • False
    • No
    • RHODS-7451 - Functional Testing
    • No
    • No
    • Pending
    • None
    • RHOSi 1.13

      We have a few keywords to help with cloning keywords in JupyterLab, but they are all based on the "Clone Git Repository" keyword in "JupyterLabLauncher.robot".

      Currently this keyword only initiates the clone operation but does not check on its status, and thus we have to rely on arbitrary Sleep times to let the operation complete.

      They keyword should be updated to check what the status of the operation is (when it is ongoing, when it finishes, if it finished successfully or not).

      The JL UI provides a small pop-up in the lower right corner of the screen informing us of the status of the clone operation. This popup should now be used to check the current status of the operation.

      The keyword, after starting the clone, should do the following:

      • Verify that the clone in progress popup appears
      • Wait until the clone in progress popup disappears
      • Verify if the operation was successful (green success popup) or not (red failure popup)
        • If the operation is successful, no further action is needed
        • If the operation is not successful:
          • Verify if a folder with the same name of the git repo we are trying to clone already exists
            • If so, remove that folder and try cloning again
          • If not, FAIL the execution

              prsuryaw@redhat.com Pranav Suryawanshi (Inactive)
              rhn-support-lgiorgi Luca Giorgi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: