Skip to content

Commit 8eaa6ca

Browse files
committed
remove links to google from table tests
1 parent 3b6d2fe commit 8eaa6ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/dash-table/tests/selenium/test_markdown_link.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
def get_app(cell_selectable, markdown_options):
7-
md = "[Click me](https://www.google.com)"
7+
md = "[Click me](/assets/logo.png)"
88

99
data = [dict(a=md, b=md), dict(a=md, b=md)]
1010

@@ -51,14 +51,14 @@ def test_tmdl001_click_markdown_link(test, markdown_options, new_tab, cell_selec
5151

5252
assert len(test.driver.window_handles) == 2
5353
test.driver.switch_to.window(test.driver.window_handles[1])
54-
assert test.driver.current_url.startswith("https://www.google.com")
54+
assert test.driver.current_url.endswith("assets/logo.png")
5555

5656
# Make sure the cell is still selected iff cell_selectable, after switching tabs
5757
test.driver.switch_to.window(test.driver.window_handles[0])
5858
assert target.cell(0, "a").is_selected() == cell_selectable
5959

6060
else:
6161
assert len(test.driver.window_handles) == 1
62-
assert test.driver.current_url.startswith("https://www.google.com")
62+
assert test.driver.current_url.endswith("assets/logo.png")
6363

6464
assert test.get_log_errors() == []

0 commit comments

Comments
 (0)