mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed intermittent feature test failures.
This commit is contained in:
@@ -487,7 +487,6 @@ class QueryToolJourneyTest(BaseFeatureTest):
|
||||
retry), file=sys.stderr)
|
||||
retry -= 1
|
||||
except Exception as e:
|
||||
traceback.print_exc()
|
||||
print('Exception while reading cell value in try ' +
|
||||
str(retry), file=sys.stderr)
|
||||
retry -= 1
|
||||
|
||||
@@ -37,6 +37,9 @@ class TableDdlFeatureTest(BaseFeatureTest):
|
||||
'public')
|
||||
table_node = self.page.check_if_element_exists_with_scroll(
|
||||
TreeAreaLocators.table_node(self.test_table_name))
|
||||
|
||||
self.assertTrue(bool(table_node), 'Table node not found.')
|
||||
|
||||
table_node.click()
|
||||
|
||||
self.page.click_tab("SQL")
|
||||
|
||||
@@ -264,7 +264,6 @@ CREATE TABLE public.nonintpkey
|
||||
print('Cell is NOT selected yet.', file=sys.stderr)
|
||||
return False
|
||||
except Exception:
|
||||
traceback.print_exc()
|
||||
print('Exception occurred while updating int cell',
|
||||
file=sys.stderr)
|
||||
return False
|
||||
@@ -284,7 +283,6 @@ CREATE TABLE public.nonintpkey
|
||||
QueryToolLocators.text_editor_ok_btn_css).click()
|
||||
return True
|
||||
except Exception:
|
||||
traceback.print_exc()
|
||||
print('Exception occurred while updating text cell ',
|
||||
file=sys.stderr)
|
||||
return False
|
||||
@@ -313,7 +311,6 @@ CREATE TABLE public.nonintpkey
|
||||
QueryToolLocators.text_editor_ok_btn_css).click()
|
||||
return True
|
||||
except Exception:
|
||||
traceback.print_exc()
|
||||
print('Exception occurred while updating json cell ',
|
||||
file=sys.stderr)
|
||||
return False
|
||||
@@ -333,7 +330,6 @@ CREATE TABLE public.nonintpkey
|
||||
ActionChains(self.driver).click(checkbox_el).perform()
|
||||
return True
|
||||
except Exception:
|
||||
traceback.print_exc()
|
||||
print('Exception occurred while updating boolean cell',
|
||||
file=sys.stderr)
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user