Skip to content

Commit

Permalink
Merge pull request #1365 from 98llm/develop
Browse files Browse the repository at this point in the history
hotfix/grid modals process
  • Loading branch information
renanllisboa authored Dec 1, 2023
2 parents f67855d + e8297e4 commit a2a18fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tir/technologies/webapp_internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -6246,8 +6246,10 @@ def fill_grid(self, field, x3_dictionaries, initial_layer, duplicate_fields=[]):
else:
try_counter = 0

modal_open = self.wait_element_timeout(term='wa-dialog', scrap_type=enum.ScrapType.CSS_SELECTOR, position= tmodal_layer + 1, timeout=10, presence=True, main_container='body', check_error=False)

if (("_" in field[0] and field_to_len != {} and int(field_to_len[field[0]]) > len(
field[1])) or lenfield > len(field[1])):
field[1])) or lenfield > len(field[1])) and modal_open:
if (("_" in field[0] and field_to_valtype != {} and field_to_valtype[
field[0]] != "N") or valtype != "N"):
self.send_keys(selenium_input(), Keys.ENTER)
Expand Down

0 comments on commit a2a18fe

Please sign in to comment.