Skip to content

Commit 41e69dd

Browse files
committed
Will now change tab to correct view when adding notes.
1 parent bee3e54 commit 41e69dd

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

changelog.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.7.1] - 2024-09-24
11+
12+
### Fixed
13+
- Will now change tab when adding notes
14+
1015
## [2.7.0] - 2024-09-16
1116

1217
### Added
@@ -168,7 +173,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
168173

169174
- Initial release
170175

171-
[Unreleased]: https://github.com/itk-dev-rpa/ITK-dev-shared-components/compare/2.7.0...HEAD
176+
[Unreleased]: https://github.com/itk-dev-rpa/ITK-dev-shared-components/compare/2.7.1...HEAD
177+
[2.7.1]: https://github.com/itk-dev-rpa/ITK-dev-shared-components/releases/tag/2.7.1
172178
[2.7.0]: https://github.com/itk-dev-rpa/ITK-dev-shared-components/releases/tag/2.7.0
173179
[2.6.1]: https://github.com/itk-dev-rpa/ITK-dev-shared-components/releases/tag/2.6.1
174180
[2.6.0]: https://github.com/itk-dev-rpa/ITK-dev-shared-components/releases/tag/2.6.0

itk_dev_shared_components/eflyt/eflyt_case.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ def check_all_approved(browser: webdriver.Chrome) -> bool:
174174

175175
def add_note(browser: webdriver.Chrome, message: str):
176176
"""Add a note to a case."""
177+
change_tab(browser, 0)
177178
message = f"{date.today().strftime('%Y-%m-%d')} Besked fra Robot: {message}"
178179
browser.find_element(By.ID, "ctl00_ContentPlaceHolder2_ptFanePerson_ncPersonTab_ButtonVisOpdater").click()
179180

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "itk_dev_shared_components"
7-
version = "2.7.0"
7+
version = "2.7.1"
88
authors = [
99
{ name="ITK Development", email="itk-rpa@mkb.aarhus.dk" },
1010
]

0 commit comments

Comments
 (0)