Skip to content

Commit 5311876

Browse files
update the table details page tests
1 parent 288e77f commit 5311876

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/selenium/test_interact_with_search_results.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,11 @@ def click_on_table(self):
113113
self.details_database_page.table_link().click()
114114

115115
def verify_i_am_on_the_table_details_page(self):
116-
heading_text = self.details_database_page.primary_heading().text
116+
heading_text = self.details_database_page.primary_heading().text.replace(
117+
" Table", ""
118+
)
117119
assert heading_text == self.selenium.title.split("-")[0].strip()
118120

119-
assert self.table_details_page.caption() == "Table"
120121
assert self.table_details_page.column_descriptions() == [
121122
"description with markdown"
122123
]

0 commit comments

Comments
 (0)