Skip to content

Instantly share code, notes, and snippets.

@Ruffo324
Last active February 3, 2021 13:02
Show Gist options
  • Save Ruffo324/37715b926aa48e1a53a04dc53cd794c1 to your computer and use it in GitHub Desktop.
Save Ruffo324/37715b926aa48e1a53a04dc53cd794c1 to your computer and use it in GitHub Desktop.
JSPageInject - GitLab resolve all discussions
// Merge-Review overview page. Open Dev Tools and paste the line below.
[...$("button[data-qa-selector='resolve_discussion_button']")]
.filter(x => !x.outerText.toLowerCase().includes("unresolve"))
.forEach(x => x.click())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment