Skip to content

Danger bot: Apply test label for files related to feature specs

What does this MR do?

Update Danger bot rules to apply the test label for files related to feature specs (shared_examples, shared_contexts, helpers). The intention is to make the labelling consistent with feature specs, which are also labelled as test.

Example

Before

[24] pry(main)> categories_for_file('spec/support/shared_examples/features/master_manages_access_requests_shared_example.rb')
=> [:backend]

After

[28] pry(main)> categories_for_file('spec/support/shared_examples/features/master_manages_access_requests_shared_example.rb')
=> [:test]

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Alishan Ladhani

Merge request reports