Fix existing_errors for AccessibilityReportsComparer
This commit fixes how we calculate our existing_errors between 2 accessibility reports. Instead of returning all existing errors from the base report we are now getting the intersection between the base and the head report.
显示
- lib/gitlab/ci/reports/accessibility_reports_comparer.rb 11 个添加, 13 个删除lib/gitlab/ci/reports/accessibility_reports_comparer.rb
- spec/lib/gitlab/ci/reports/accessibility_reports_comparer_spec.rb 87 个添加, 66 个删除.../gitlab/ci/reports/accessibility_reports_comparer_spec.rb
- spec/serializers/accessibility_reports_comparer_entity_spec.rb 2 个添加, 2 个删除...serializers/accessibility_reports_comparer_entity_spec.rb
加载中
想要评论请 注册 或 登录