#citoid allows adding specific kinds of references in a structured way using templates. It also allows to include a service that provides auto generating values for the configured templates out of given sources. Let's add some simple tests to make sure that the #citoid integration with #visualeditor does not break.
**Cases to test:**
Scenario: I'm an user that want's to add references in the VisualEditor that has Citoid setup with a base template for websites.
Given I edit an article.
And I open the dialog to add a reference.
And I add link from a news article to the `Automatic` tab.
Then there should be a reference using the website template added to the surface.
Given I edit an article.
And I open the dialog to add a reference.
And I add a reference manually using the template.
Then there should be a reference using the website template added to the surface.
Given I edit an article with a reference using a (Citoid) template.
And I click that reference to edit it.
Then the template dialog opens with the values of the template.