Skip to content

Commit 6e784dc

Browse files
authored
Merge pull request #1663 from totvs/release/v1.20.30
Release/v1.20.30
2 parents 8b531a4 + 4afea20 commit 6e784dc

File tree

5 files changed

+230
-81
lines changed

5 files changed

+230
-81
lines changed

scripts/install_package.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ taskkill /f /im chromedriver.exe
1313
echo -------------------------
1414
echo Installing project...
1515
echo -------------------------
16-
pip install -U dist/tir_framework-1.20.29.tar.gz
16+
pip install -U dist/tir_framework-1.20.30.tar.gz
1717
pause >nul | set/p = Press any key to exit ...

tir/main.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ def WaitFieldValue(self, field, expected_value):
906906
"""
907907
self.__webapp.WaitFieldValue(field, expected_value)
908908

909-
def WaitHide(self, string, timeout=None, throw_error = True):
909+
def WaitHide(self, string, timeout=None, throw_error=True, match_case=False):
910910
"""
911911
Search string that was sent and wait hide the elements.
912912
@@ -920,9 +920,10 @@ def WaitHide(self, string, timeout=None, throw_error = True):
920920
>>> # Calling the method:
921921
>>> oHelper.WaitHide("Processing")
922922
"""
923-
self.__webapp.WaitHide(string, timeout, throw_error=True)
923+
self.__webapp.WaitHide(string, timeout, throw_error, match_case)
924924

925-
def WaitProcessing(self, string):
925+
926+
def WaitProcessing(self, string, match_case=False):
926927
"""
927928
Uses WaitShow and WaitHide to Wait a Processing screen
928929
@@ -934,9 +935,9 @@ def WaitProcessing(self, string):
934935
>>> # Calling the method:
935936
>>> oHelper.WaitProcessing("Processing")
936937
"""
937-
self.__webapp.WaitProcessing(string)
938+
self.__webapp.WaitProcessing(string, match_case)
938939

939-
def WaitShow(self, string, timeout=None, throw_error = True):
940+
def WaitShow(self, string, timeout=None, throw_error=True, match_case=False):
940941
"""
941942
Search string that was sent and wait show the elements.
942943
@@ -950,7 +951,7 @@ def WaitShow(self, string, timeout=None, throw_error = True):
950951
>>> # Calling the method:
951952
>>> oHelper.WaitShow("Processing")
952953
"""
953-
self.__webapp.WaitShow(string, timeout, throw_error=True)
954+
self.__webapp.WaitShow(string, timeout, throw_error, match_case)
954955

955956
def IfExists(self, string='', timeout=5):
956957
"""

tir/technologies/core/logging_config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ def configure_logger():
179179

180180
dictConfig(logging_config)
181181
_logger = logging.getLogger(logger_profile)
182+
_logger.propagate = False
182183

183184
def logger():
184185
global _logger

0 commit comments

Comments
 (0)