Skip to content

Tests for diff notes

What does this MR do?

Adds rspec feature tests for the diff notes feature.

Are there points in the code the reviewer needs to double check?

Swapped out the XPath selectors for mainly CSS selectors, I still need some .find(:xpath, '..') to select the parent of the hardcoded .line_content/.diff-line-num ids.

/cc @DouweM @jschatz1 @fatihacet

Why was this MR needed?

Coverage of a fiddly feature.

What are the relevant issue numbers?

Closes #19957 (closed).

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

Merge request reports