Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v1.20.30rc2 #1645

Merged
merged 6 commits into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'
Loading