Releases: Telefonica/toolium
Releases · Telefonica/toolium
3.3.0
- Allow negative indexes for list elements in context searches. Example: [CONTEXT:element.-1]
- Add support for JSON strings to the DICT and LIST` replacement. Example: [DICT:{"key": true}], [LIST:[null]]
- Add REPLACE replacement, to replace a substring with another. Example: [REPLACE:[CONTEXT:some_url]::https::http]
- Add TITLE replacement, to apply Python's title() function. Example: [TITLE:the title]
- Add ROUND replacement, float number to a string with the indicated number of decimals. Example: [ROUND:3.3333::2]
- Remove accents from generated file names to avoid errors in some filesystems
- Update Appium-Python-Client requirement to enable 3 and 4 versions
- Deprecate set_text method in InputText class to make it compatible with Appium-Python-Client 3 and 4
3.2.0
- Add run_storage dictionary to context to store information during the whole test execution
- Update current ChainMap context storages (context.storage, context.feature_storage and context.run_storage)
- Allow to store values from steps into desire storage by using [key], [FEATURE:key] and [RUN:key]
3.1.5
3.1.4
- Add ignore_empty optional parameter to POEditor configuration to ignore empty translations
- Ignore not found excluded elements in visual tests
- Fix duration calling to Appium swipe method
- Fix [STRING_WITH_LENGTH_NN] replacement for string with length inside a longer string
3.1.3
- Fix
PageElements
class initialization when custom page element classes don't have all optional attributes
3.1.2
- Upgrade Pillow version to 10.1.* to fix compatibility with Python 3.12
3.1.1
- Add support for Python 3.12
- Upgrade Sphinx version from 4.* to 7.* to fix readthedocs theme format
- Upgrade readthedocs-sphinx-search to 0.3.2 to fix security vulnerability
- Do not log warning messages when toolium system properties are used
3.1.0
- Update [CONTEXT:a.b.c] replacement to allow lists access, e.g. [CONTEXT:list.1] to access the second element of list
- Add capabilities configured in [Capabilities] section also to Appium tests to use platformName and browserName w3c capabilities instead of Appium ones
- platformVersion Appium capability must be a string
- Add optional parameter to compare_downloaded_files method to allow to compare files with different names
- Remove Python 3.7 support (Python 3.7 reached the end of its life on June 27th, 2023)
- Update _android_automatic_context_selection method to be compatible with latest chromedriver versions
3.0.2
- context.storage must be initialized before dynamic environment steps in before_feature method
- Mark scenario as failed when a dynamic environment step fails in before_scenario
- Mark all feature scenarios as failed when a dynamic environment step fails in before_feature and after_feature
- Configure minimal Appium-Python-Client version to 2.3.0 to avoid import errors
3.0.1
- Allow to search in context.storage using [CONTEXT:a.b.c] replacement when before_feature method is not used
- Execute after scenario methods also when a scenario is skipped to assure that scenario preconditions are cleaned
- Fix [LANG:key] replacement bug when it contains carriage returns
- context.storage must be initialized before dynamic environment steps
- Fix error in Python 3.11 executing nose2 tests