Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-26532

Connection wizard: token is not updated after pasting login command with same server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.11.0.AM1
    • 4.11.0.AM1
    • openshift
    • None
    • devex #162 February 2019
    • 8
    • Hide
      1. Testcase 1
        1. Open Connection wizard
        2. Have a command in clipboard:
        oc login https://api.starter-us-east-2.openshift.com --token=12345_67890
        

        3. command is correctly parsed
        4. Copy on clipboard login command with same server, but different token, e.g.:

        oc login https://api.starter-us-east-2.openshift.com --token=12345_67890123456
        

        5. Result: token is not updated.
        Expected: token is updated.

      1. Testcase 2
        Use paste login command button in wizard:
        1. Logged into openshift web console
        2. Copy login command into clipboard
        3. Open devstudio -> Open OS explorer
        4. Click New connection (as I did not have any)
        5. Wizard is opened and login command copied from clipborad - pass
        6. Remove all credentials, have empty wizard
        7. Click paste login comm. button
        8. Assert: Credentials are pasted
        Actual result: Failed, button does not work, if I switch between oauth and basic authentication, token gets filled in, but not a server. Button seems not to be working correctly, although, I managed to actually use the button correctly and paste an information there, but cannot repeat it...
      Show
      Testcase 1 1. Open Connection wizard 2. Have a command in clipboard: oc login https: //api.starter-us-east-2.openshift.com --token=12345_67890 3. command is correctly parsed 4. Copy on clipboard login command with same server, but different token, e.g.: oc login https: //api.starter-us-east-2.openshift.com --token=12345_67890123456 5. Result: token is not updated. Expected: token is updated. Testcase 2 Use paste login command button in wizard: 1. Logged into openshift web console 2. Copy login command into clipboard 3. Open devstudio -> Open OS explorer 4. Click New connection (as I did not have any) 5. Wizard is opened and login command copied from clipborad - pass 6. Remove all credentials, have empty wizard 7. Click paste login comm. button 8. Assert: Credentials are pasted Actual result: Failed, button does not work, if I switch between oauth and basic authentication, token gets filled in, but not a server. Button seems not to be working correctly, although, I managed to actually use the button correctly and paste an information there, but cannot repeat it...
    • Hide

      Reopen wizard

      Show
      Reopen wizard

            jkopriva@redhat.com Josef Kopriva
            jkopriva@redhat.com Josef Kopriva
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: