Fixed intermittent feature test failures.

This commit is contained in:
Yogesh Mahajan
2022-11-29 17:35:07 +05:30
committed by GitHub
parent 83bfdf9b3c
commit 7b96bf857c
5 changed files with 26 additions and 10 deletions

View File

@@ -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

View File

@@ -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")

View File

@@ -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