Skip to content

DSL Discord Integration

What does this MR do and why?

  • Adds DSL fields usage for the Discord integration
  • Refactors discord_spec.rb to use let_it_be for factories

This reduces the time taken to run the tests from ~28 seconds to ~17 seconds

Screenshots or screen recordings

before after
image image

Before

Total: 32
 Total top-level: 19
 Total time: 00:28.367 (out of 00:49.166)
 Total uniq factories: 18

After

 Total: 28
 Total top-level: 17
 Total time: 00:17.620 (out of 00:41.506)
 Total uniq factories: 18

How to set up and validate locally

  1. Checkout the current branch
  2. Verify that the Discord integration still works

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #354182 (closed)

Edited by Bojan Marjanovic

Merge request reports

Loading