[
https://issues.jboss.org/browse/JBIDE-26532?page=com.atlassian.jira.plugi...
]
Andre Dietisheim updated JBIDE-26532:
-------------------------------------
Steps to Reproduce:
# Testcase 1
1. Open Connection wizard
2. Have a command in clipboard:
{code:java}
oc login
https://api.starter-us-east-2.openshift.com --token=12345_67890
{code}
3. command is correctly parsed
4. Copy on clipboard login command with same server, but different token, e.g.:
{code:java}
oc login
https://api.starter-us-east-2.openshift.com --token=12345_67890123456
{code}
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...
was:
1. Open Connection wizard
2. Have a command in clipboard:
{code:java}
oc login
https://api.starter-us-east-2.openshift.com --token=12345_67890
{code}
3. command is correctly parsed
4. Copy on clipboard login command with same server, but different token, e.g.:
{code:java}
oc login
https://api.starter-us-east-2.openshift.com --token=12345_67890123456
{code}
5. Result: token is not updated.
Expected: token is updated.
Second test case: 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...
Connection wizard: token is not updated after pasting login command
with same server
------------------------------------------------------------------------------------
Key: JBIDE-26532
URL:
https://issues.jboss.org/browse/JBIDE-26532
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.11.0.AM1
Reporter: Josef Kopriva
Assignee: Josef Kopriva
Priority: Major
Fix For: 4.11.0.AM1
--
This message was sent by Atlassian Jira
(v7.12.1#712002)