|
1 | 1 | # -*- coding: utf-8 -*-
|
2 |
| -import dash_core_components as dcc |
3 |
| -import dash_html_components as html |
4 |
| -import dash_table_experiments as dt |
| 2 | +import base64 |
| 3 | +from datetime import datetime |
| 4 | +import io |
| 5 | +import os |
| 6 | +import sys |
| 7 | +import time |
| 8 | +import pandas as pd |
| 9 | + |
5 | 10 | import dash
|
6 | 11 | from dash.dependencies import Input, Output, State
|
7 |
| - |
8 |
| -from datetime import datetime |
| 12 | +import dash_html_components as html |
| 13 | +import dash_core_components as dcc |
| 14 | +import dash_table_experiments as dt |
9 | 15 | from selenium import webdriver
|
10 | 16 | from selenium.webdriver.common.keys import Keys
|
| 17 | + |
11 | 18 | try:
|
12 | 19 | from urlparse import urlparse
|
13 | 20 | except ImportError:
|
14 | 21 | from urllib.parse import urlparse
|
15 |
| -import base64 |
16 |
| -import importlib |
17 |
| -import io |
18 |
| -import multiprocessing |
19 |
| -import os |
20 |
| -import pandas as pd |
21 |
| -import percy |
22 |
| -import sys |
23 |
| -import time |
24 |
| -import unittest |
25 | 22 |
|
26 | 23 | from .IntegrationTests import IntegrationTests
|
27 |
| -from .utils import assert_clean_console, invincible, wait_for, waiter |
| 24 | +from .utils import invincible, wait_for, waiter |
28 | 25 |
|
29 | 26 | # Download geckodriver: https://github.com/mozilla/geckodriver/releases
|
30 | 27 | # And add to path:
|
@@ -431,7 +428,7 @@ def update_pathname(n_clicks, current_pathname):
|
431 | 428 | # Check that pathname is updated through an a tag click via props
|
432 | 429 | self.driver.find_element_by_id('test-a').click()
|
433 | 430 | waiter(self.wait_for_element_by_id)
|
434 |
| - |
| 431 | + |
435 | 432 | self.snapshot('link -- /test/pathname/a')
|
436 | 433 | self.assertEqual(self.driver.find_element_by_id('test-pathname').text, '/test/pathname/a')
|
437 | 434 | self.assertEqual(self.driver.find_element_by_id('test-search').text, '')
|
|
0 commit comments