Start with a simple test for a happy path behavior in VE, for example:
Example test case:
- Create a new page containing a reference, via API. See backlinks.js "before" function for an example.
- Open the page for editing in VE.
- Click on the footnote marker.
- Assert that the popup appears and shows the ref content.
- Click the "Edit" button in the popup.
- Assert that a dialog appears with the ref content.
Write this test using the Cypress framework.
There may be some CI infrastructure work required so that the VisualEditor extension is loaded as a dependency of Cite during tests.