Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-1241

[ROSA Wizard] "Copy to clipboard" value from operator role command didn't update according to the config id and operator prefix fields.

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • Core UI
    • False
    • Hide

      None

      Show
      None
    • False
    • OCM UI Sprint 247

      Description of the problem:

      In a ROSA wizard, Under Cluster roles and policies step , the operator role command has not updated according to the selection of config id and operator prefix fields. 
      Ex: User selected a config-id from the drop down and set operator role prefix then performed the same action with different config-d and operator prefix. Used copy to clipboard option for copying the command and copied command still contains the old definition i.e both configid and operator prefix didn't update according to latest selection.

      Refer recordings RolePrefixCopyClipboardIssue.mp4

      Steps to reproduce:

      1. Launch OCM Staging UI.
      2. Open ROSA wizard.
      3. Reach to "Cluster roles and policies" step.
      4. Select a config id.
      5. Set a Operator roles prefix .
      6. Select a different config id.
      7. Set a new Operator roles prefix .
      8. Click on "Copy to clipboard" option associated to command field from step3.
      9. See the copied command definition.

      Actual results:

      At step 9, the copied command definition still having the config-id and operator prefix from step 4 & step 5 definition. This is wrong.

      Expected results:

      At step 9, the copied command definition should  have the config-id and operator prefix based on latest definition. i.e. in this case from step 6 & step 7

              zherman Zac Herman
              jmekkatt@redhat.com Jayakrishnan Mekkattillam
              Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: