Pre-fetch citations in new test so available quickly at render time.

This commit is contained in:
John Chilton
2017-11-25 00:10:28 -05:00
parent 05ddc50c1a
commit bb7d06f59e
+3
View File
@@ -109,6 +109,9 @@ class ToolFormTestCase(SeleniumTestCase, UsesHistoryItemAssertions):
@selenium_test
def test_bibtex_rendering(self):
self.home()
# prefetch citations so they will be available quickly when rendering tool form.
self.api_get("tools/bibtex/citations")
self.tool_open("bibtex")
self.components.tool_form.citations.wait_for_visible()