From bb7d06f59ed20fcbef7ad36d06a1ec138fac7e96 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Sat, 25 Nov 2017 00:10:28 -0500 Subject: [PATCH] Pre-fetch citations in new test so available quickly at render time. --- test/selenium_tests/test_tool_form.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/selenium_tests/test_tool_form.py b/test/selenium_tests/test_tool_form.py index cf24f953409..d2055f8d513 100644 --- a/test/selenium_tests/test_tool_form.py +++ b/test/selenium_tests/test_tool_form.py @@ -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()