File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
itk_dev_shared_components/eflyt Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ## [ 2.14.1] - 2025-09-05
11+
12+ ### Fixed
13+
14+ - In case the "Godkend Alle" button does not exist, the robot will now correctly progress.
15+
1016## [ 2.14.0] - 2025-08-22
1117
1218### Changed
Original file line number Diff line number Diff line change @@ -144,9 +144,9 @@ def approve_case(browser: webdriver.Chrome):
144144 browser .find_element (By .ID , "ctl00_ContentPlaceHolder2_ptFanePerson_stcPersonTab1_btnGodkend" ).click ()
145145 browser .find_element (By .ID , "ctl00_ContentPlaceHolder2_ptFanePerson_stcPersonTab1_btnApproveYes" ).click ()
146146
147- approve_persons_button = browser .find_element (By .ID , "ctl00_ContentPlaceHolder2_ptFanePerson_stcPersonTab1_btnGodkendAlle" )
148- if approve_persons_button .is_enabled ():
149- approve_persons_button .click ()
147+ approve_persons_button = browser .find_elements (By .ID , "ctl00_ContentPlaceHolder2_ptFanePerson_stcPersonTab1_btnGodkendAlle" )
148+ if any ( approve_persons_button ) and approve_persons_button [ 0 ] .is_enabled ():
149+ approve_persons_button [ 0 ] .click ()
150150 else :
151151 # Approve each person individually
152152 person_count = len (browser .find_elements (By .XPATH , '//table[@id="ctl00_ContentPlaceHolder2_GridViewMovingPersons"]//tr' )) - 1
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " itk_dev_shared_components"
7- version = " 2.14.0 "
7+ version = " 2.14.1 "
88authors = [
99 { name =" ITK Development" , email =" itk-rpa@mkb.aarhus.dk" },
1010]
You can’t perform that action at this time.
0 commit comments