Skip to content

Commit

Permalink
Merge pull request #1362 from totvs/release/v1.20.16rc3
Browse files Browse the repository at this point in the history
Release/v1.20.16rc3
  • Loading branch information
renanllisboa authored Nov 28, 2023
2 parents 3731f3f + 2890b1a commit 10ec656
Show file tree
Hide file tree
Showing 3 changed files with 7 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.16rc2.tar.gz
pip install -U dist/tir_framework-1.20.16rc3.tar.gz
pause >nul | set/p = Press any key to exit ...
8 changes: 5 additions & 3 deletions tir/technologies/webapp_internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
from datetime import datetime
from tir.technologies.core.logging_config import logger
import pathlib
import sys

class WebappInternal(Base):
"""
Expand Down Expand Up @@ -361,8 +362,9 @@ def service_process_bat_file(self):
This method creates a batfile in the root path to kill the process and its children.
"""
if self.config.smart_test:
with open("firefox_task_kill.bat", "w", ) as firefox_task_kill:
firefox_task_kill.write(f"taskkill /f /PID {self.driver.service.process.pid} /T")
if sys.platform == 'win32':
with open("firefox_task_kill.bat", "w", ) as firefox_task_kill:
firefox_task_kill.write(f"taskkill /f /PID {self.driver.service.process.pid} /T")

def program_screen(self, initial_program="", environment="", coverage=False, poui=False):
"""
Expand Down Expand Up @@ -10445,7 +10447,7 @@ def restart_browser(self):

logger().info("Closing the Browser")
self.driver.close()
self.close_process()
# self.close_process()
logger().info("Starting the Browser")
self.Start()

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.16rc2'
__version__ = '1.20.16rc3'

0 comments on commit 10ec656

Please sign in to comment.