Merge "[BrowserTest] update for autopopulated fields"

This commit is contained in:
jenkins-bot 2014-10-16 17:48:07 +00:00 committed by Gerrit Code Review
commit 38718a9f3e

View file

@ -130,6 +130,6 @@ Then(/^diff view should show the Website citation added$/) do
page.wait_until(10) do
page.links_diff_view.include? "Cite VisualEditor Test"
end
page.links_diff_view.should match Regexp.escape("<ref>{{Cite web|url = http://en.wikipedia.org/|title = Website Source title|date = Website Source date 28 July 2014|accessdate = 28 July 2014|website = Website title|publisher = Website publisher|last = Website Last name|first = Website First name|New website field = New website field contents}}</ref>Cite VisualEditor Test")
page.links_diff_view.should match Regexp.escape("<ref>{{Cite web|url = http://en.wikipedia.org/|title = Website Source title|date = Website Source date 28 July 2014|accessdate = {{CURRENTMONTHNAME}} {{CURRENTYEAR}}28 July 2014|website = Website title|publisher = Website publisher|last = Website Last name|first = Website First name|New website field = New website field contents}}</ref>Cite VisualEditor Test")
end
end