Copy failed spec names to clipboard from MR widget
Compare changes
Files
3- Mireya Andres authored
@@ -22,6 +22,12 @@ export default {
@@ -30,9 +36,29 @@ export default {
@@ -67,9 +93,10 @@ export default {
Adds an easy way to copy the path of all tests with failures so users can rerun them locally. The button can be found in the test results of the MR widget.
Also adds a copy-to-clipboard button for individual tests in the test case modal.
Copying test files:
Test Case | Recording |
---|---|
Copy all failed specs | Screen_Recording_2022-07-06_at_17.13.57 |
Copy individual spec files | Screen_Recording_2022-07-06_at_17.14.17 |
Rendering Conditions:
Test Case | Screenshot |
---|---|
Button should not show up when pipeline is successful | ![]() |
Button should not show up when data failed to load | ![]() |
Button should show up in the dropdown on smaller screens | ![]() |
refactor_mr_widgets_extensions
feature flag. (echo "Feature.disable(:refactor_mr_widgets_extensions)" | rails c
)failing-specs
branch.Full Report
link. This should copy all the failing specs to your clipboard.This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.