From b0973391640248f29765bacdc0ff0faf68db5f52 Mon Sep 17 00:00:00 2001 From: Evgeny Anatskiy Date: Tue, 17 Oct 2017 19:37:20 +0200 Subject: [PATCH] test successful tour generation --- test/selenium_tests/test_tool_describing_tours.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/selenium_tests/test_tool_describing_tours.py b/test/selenium_tests/test_tool_describing_tours.py index 9a6235be38d..b60e9536e68 100644 --- a/test/selenium_tests/test_tool_describing_tours.py +++ b/test/selenium_tests/test_tool_describing_tours.py @@ -27,6 +27,10 @@ class ToolDescribingToursTestCase(SeleniumTestCase): self.wait_for_and_click_selector('#options .dropdown-toggle') self.click_label('Generate Tour') + tour_popup_selector = '#step-0.popover.tour-tour' + self.wait_for_selector_visible(tour_popup_selector) + self.assert_selector(tour_popup_selector) + def _ensure_tdt_available(self): """ Skip a test if the webhook TDT doesn't appear. """ response = self.api_get('webhooks/tool-menu/all', raw=True)