fix(cypress): fix failing tests
For some reason the constraint that pipelines must pass before merging was switched off. An MR was merged with failing pipelines, as a result of introducing new buttons to the menu, which made a CSS selector used by cypress in one of the tests ambiguous. It expected only one button on the page, and now there were more than one.
I fixed by setting a data-testid on the control in question and getting cypress to select it using that. In the process I updated the control to use our own Action
component rather than the old one from @pubsweet/ui
.