Skip to content

Commit 9400866

Browse files
committed
fixing dashboard page
1 parent 14d0e37 commit 9400866

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

release_tester/selenium_ui_test/pages/base_page.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,10 @@ def switch_tab(self, locator):
263263
self.locator = locator
264264
self.locator.send_keys(Keys.CONTROL, Keys.RETURN) # this will open new tab on top of current
265265
self.webdriver.switch_to.window(self.webdriver.window_handles[1]) # switch to new tab according to index value
266+
time.sleep(8)
266267
title = self.webdriver.title
267268
self.tprint(f"Current page title: {title}\n")
268-
time.sleep(15)
269+
time.sleep(10)
269270
self.webdriver.close() # closes the browser active window
270271
self.webdriver.switch_to.window(self.webdriver.window_handles[0])
271272
return title

release_tester/selenium_ui_test/pages/navbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def click_twitter_link(self):
3737
title = self.switch_tab(
3838
click_twitter_link_id_sitem
3939
) # this method will call switch tab and close tab
40-
expected_title = "arangodb (@arangodb) / Twitter"
40+
expected_title = "Log in to X / X"
4141
assert (
4242
title in expected_title
4343
), f"Expected page title {expected_title} but got {title}"

release_tester/selenium_ui_test/pages/support_page.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ def driver_and_integration_link(self):
243243
'Checking Go to ArangoDB Spark Connections page link \n',
244244
'Checking Go to Drivers and Integration start page link\n']
245245

246-
drivers_and_integration = [arangodb_java_driver, arangojs_java_script, arangodb_php, arangodb_go_driver,
247-
arangodb_spring_data, drivers_and_integration]
246+
drivers_and_integration = [arangodb_java_driver, arangojs_java_script, arangodb_go_driver,
247+
arangodb_spring_data, arangodb_spark_connector, drivers_and_integration]
248248

249249
driver_integration_assertion_check = ['ArangoDB Java driver | ArangoDB Documentation',
250250
'ArangoDB Node.js driver | ArangoDB Documentation',

0 commit comments

Comments
 (0)