diff --git a/modules/ve-mw/tests/browser/features/cite.feature b/modules/ve-mw/tests/browser/features/cite.feature index 8935f60212..400530a4d9 100644 --- a/modules/ve-mw/tests/browser/features/cite.feature +++ b/modules/ve-mw/tests/browser/features/cite.feature @@ -67,6 +67,12 @@ Feature: VisualEditor Cite When I click Journal And I fill in the first textarea with "Journal title" And I fill in the second textarea with "Journal Source date" + And I fill in the third textarea with "Journal Last Name" + And I fill in the fourth textarea with "Journal First Name" + And I fill in the fifth textarea with "Journal Source Date" + And I fill in the sixth textarea with "Journal Journal" + And I fill in the seventh textarea with "Journal Access Date" + And I fill in the eighth textarea with "Journal DOI" And the Journal input field titles are in the correct order And I click Insert Citation And I click Save page diff --git a/modules/ve-mw/tests/browser/features/step_definitions/cite_steps.rb b/modules/ve-mw/tests/browser/features/step_definitions/cite_steps.rb index 2b4ac7e1d8..7b29d37efb 100644 --- a/modules/ve-mw/tests/browser/features/step_definitions/cite_steps.rb +++ b/modules/ve-mw/tests/browser/features/step_definitions/cite_steps.rb @@ -96,7 +96,7 @@ Then(/^diff view should show the Journal citation added$/) do page.wait_until(10) do page.diff_view.include? 'Cite VisualEditor Test' end - expect(page.diff_view).to match '{{Cite journal|title = Journal title|date = Journal Source date}}Cite VisualEditor Test' + expect(page.diff_view).to match '{{Cite journal|url = Journal title|title = Journal Source date|last = Journal Last Name|first = Journal First Name|date = Journal Source Date|journal = Journal Journal|accessdate = Journal Access Date|doi = Journal DOI}}Cite VisualEditor Test' end end