-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rerun filtered environments button (#179)
* Remove unnecessary artefactId dependency * Add dummy RerunFilteredEnvironmentsButton * Add artefact test executions rerun filter by environment name * Revert "Add dummy RerunFilteredEnvironmentsButton" This reverts commit 4df7665. * Revert "Add artefact test executions rerun filter by environment name" This reverts commit 4804771. * Revert "Revert "Add dummy RerunFilteredEnvironmentsButton"" This reverts commit b25cf36. * Revert "Revert "Add artefact test executions rerun filter by environment name"" This reverts commit b72ed72. * extend test executions rerun endpoint to rerun multiple * remove artefact rerun endpoint as it's not necessary * fix seed script * update test executions rerun endpoint * remove unused imports * fix tests * Show filtered test executions confirmation dialog * Remove filteredTestExecutionIds provider * Fix bug * Submit rerun request for filtered test executions * Some code cleanup * Add required trailing comma * Remove unused model * fix test case after rebase * Deal properly with multiple rerun requests * Ignore useless ruff rule * fix black formatting * Use consistent wording as Environment * Only mark successful rerun requests
- Loading branch information
Showing
17 changed files
with
311 additions
and
231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import 'package:freezed_annotation/freezed_annotation.dart'; | ||
|
||
part 'rerun_request.freezed.dart'; | ||
part 'rerun_request.g.dart'; | ||
|
||
@freezed | ||
class RerunRequest with _$RerunRequest { | ||
const factory RerunRequest({ | ||
@JsonKey(name: 'test_execution_id') required int testExecutionId, | ||
@JsonKey(name: 'ci_link') required String ciLink, | ||
}) = _RerunRequest; | ||
|
||
factory RerunRequest.fromJson(Map<String, Object?> json) => | ||
_$RerunRequestFromJson(json); | ||
} |
Oops, something went wrong.