Skip to content

Commit

Permalink
Merge pull request #1645 from totvs/release/v1.20.30rc2
Browse files Browse the repository at this point in the history
Release/v1.20.30rc2
  • Loading branch information
98llm authored Jan 16, 2025
2 parents 0cecb67 + 87a6ba4 commit 9aa530c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/install_package.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ taskkill /f /im chromedriver.exe
echo -------------------------
echo Installing project...
echo -------------------------
pip install -U dist/tir_framework-1.20.30rc1.tar.gz
pip install -U dist/tir_framework-1.20.30rc2.tar.gz
pause >nul | set/p = Press any key to exit ...
1 change: 1 addition & 0 deletions tir/technologies/core/logging_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ def configure_logger():

dictConfig(logging_config)
_logger = logging.getLogger(logger_profile)
_logger.propagate = False

def logger():
global _logger
Expand Down
6 changes: 3 additions & 3 deletions tir/technologies/webapp_internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -1225,14 +1225,14 @@ def close_modal(self):
except:
pass

def check_screen_element(self, term="", selector=None, scraptype=enum.ScrapType.MIXED):
def check_screen_element(self, term="", selector=None, scraptype=enum.ScrapType.MIXED, check_error=True):
"""
[Internal]
This method checks if the screen element is displayed.
"""

element_exists = True if self.element_exists(term=term, scrap_type=scraptype, optional_term=selector, main_container="body") else False
element_exists = True if self.element_exists(term=term, scrap_type=scraptype, optional_term=selector, main_container="body", check_error=check_error) else False

logger().debug(f'Checking screen element: "{term}": {element_exists}')

Expand Down Expand Up @@ -1341,7 +1341,7 @@ def check_news_screen(self):
"""
selector = self.news_screen_selectors()

return self.check_screen_element(term=self.language.news, selector=selector)
return self.check_screen_element(term=self.language.news, selector=selector, check_error=False)

def check_screen(self):
"""
Expand Down
2 changes: 1 addition & 1 deletion tir/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.20.30rc1'
__version__ = '1.20.30rc2'

0 comments on commit 9aa530c

Please sign in to comment.