Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-1411

Implement integration test coverage for SSH keystore

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 2.11.0.Final
    • 2.6.0.Final
    • None
    • None

      Goal is to implement an integration tests for SSH key-store feature, that will be run in community.

      • Test scenarios where invalid SSH-key is used as an input.
        • Bad prefix (sh-rsa, sh-dss,cdsa-sha2-nistp384,..) - check that there is message that informs user, provide a hint on fixing it: "Key is invalid. It must begin with 'ssh-ed25519', 'ssh-rsa', 'ssh-dss', 'ecdsa-sha2-nistp256', 'ecdsa-sha2-nistp384', or 'ecdsa-sha2-nistp521'. Check that you're copying the public half of the key"
        • Bad length - check that there is message that informs user and provides a hint or just says something like 'Key is invalid. Ensure you've copied the file correctly '
        • Duplicate key - if user adds a duplicate key, inform him he did so - message that says "Key already in use" or "You tried to add duplicate key"
      • Setup workbench and check above scenarios using provided API

      Acceptance Criteria: A PR with tests is merged and all of them pass QE pipeline.

              dhanak@redhat.com Dominik Hanak
              dhanak@redhat.com Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: