Skip to content

Releases: Telefonica/toolium

3.3.0

26 Nov 14:19
24436f5
Compare
Choose a tag to compare
  • 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

13 Sep 10:20
1fa042a
Compare
Choose a tag to compare
  • 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

15 Jul 09:34
d44ad1a
Compare
Choose a tag to compare
  • Fix export_poeditor_project method allowing empty export response
  • Add key=value expressions for selecting elements in the context storage
  • Upgrade Faker version to 25.9.*
  • Fix result for action before the feature with error and background to fail scenarios

3.1.4

25 Mar 14:24
b5e6588
Compare
Choose a tag to compare
  • 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

06 Feb 09:20
1a0f0f1
Compare
Choose a tag to compare
  • Fix PageElements class initialization when custom page element classes don't have all optional attributes

3.1.2

05 Feb 08:30
9b3662a
Compare
Choose a tag to compare
  • Upgrade Pillow version to 10.1.* to fix compatibility with Python 3.12

3.1.1

02 Feb 09:19
f19dfdb
Compare
Choose a tag to compare
  • 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

19 Sep 10:45
dba06cc
Compare
Choose a tag to compare
  • 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

08 Jun 10:41
1013af1
Compare
Choose a tag to compare
  • 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

09 May 07:57
106e42f
Compare
Choose a tag to compare
  • 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