feat(test): Integration test for create mr with recover option

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you can request access to GitLab Duo.

Description

  • feat: Integration test for create mr with recover option

This update introduces an integration test to ensure that the create mr command when run with --recover option uses recovery file to create Mr.

Related Issues

Resolves #1163 (closed)

How has this been tested?

The testing strategy used is similar to the integration test written for testing create issue command with --recover option which was done as a part of #1135 (closed)

Scenario 1: Force a failure when create mr command is run and ensure that recovery file gets created.

Scenario 2: Revert to original state and ensure that create mr command uses recovery file to create the Mr.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
  • Test gap

Closes #1163 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading