Skip to content
Snippets Groups Projects

E2E test: make add and delete ssh key spec idempotent

Merged Jay McCure requested to merge jmc-438605 into master

What does this MR do and why?

In #438605 (closed), the delete spec failed since the add test failed.

The tests are currently non-idempotent, this MR separates the delete spec so it does its' own setup.

How to set up and validate locally

Run together: QA_LOG_LEVEL=DEBUG QA_GITLAB_URL=http://192.168.4.31:3000 bundle exec rspec qa/specs/features/browser_ui/3_create/repository/ssh_key_support_spec.rb

Run separately: QA_LOG_LEVEL=DEBUG QA_GITLAB_URL=http://192.168.4.31:3000 bundle exec rspec qa/specs/features/browser_ui/3_create/repository/ssh_key_support_spec.rb:12

QA_LOG_LEVEL=DEBUG QA_GITLAB_URL=http://192.168.4.31:3000 bundle exec rspec qa/specs/features/browser_ui/3_create/repository/ssh_key_support_spec.rb:21

Edited by Jay McCure

Merge request reports

Merged results pipeline #1142334816 passed

Pipeline: E2E GDK

#1142336275

    Pipeline: TRIGGERED_EE_PIPELINE

    #1142337861

      Pipeline: E2E Omnibus GitLab EE

      #1142359749

        Merged results pipeline passed for e48625ca

        Approved by

        Merged by Mark LapierreMark Lapierre 1 year ago (Jan 18, 2024 11:51pm UTC)

        Pipeline #1143723576 passed

        Pipeline passed for 6f6e554d on master

        10 environments impacted.

        Activity

        Filter activity
        • Approvals
        • Assignees & reviewers
        • Comments (from bots)
        • Comments (from users)
        • Commits & branches
        • Edits
        • Labels
        • Lock status
        • Mentions
        • Merge request status
        • Tracking
        Please register or sign in to reply
        Loading