carina

Carina automation framework (TestNG): Web, Mobile, API, DB etc testing...

APACHE-2.0 License

Stars
954
Committers
91

Bot releases are visible (Hide)

carina - 7.2.11 (2021-09-15)

Published by avabishchevich about 3 years ago

Enhancements

  • [#1471][#1466][#1465][#1457] Improvements of the screenshots generation
  • [#1463][#1461][#1433] Registered a number of capabilities as integer
  • [#1459] Simplified all the logger error messages
  • [#1456][#1454] Maven repositories usage improvements

Fixes

  • [#1458] Removed hardcoded pause/wait operating with AbstractUIObjectList

Known Issues

  • N/A

Dependencies Updates

  • Zebrunner TestNG Agent 1.6.1 -> 1.6.2

Migration Steps

  • Update in your project pom.xml version for carina-core dependency to 7.2.11
  • Update in your project pom.xml com.zebrunner.agent-core version to 1.6.2 or RELEASE
  • Rebuild the project mvn -U clean compile install
  • Be sure to use with Zebrunner CE 1.8+
carina - 7.2.10 (2021-09-09)

Published by avabishchevich about 3 years ago

Enhancements

  • [#1449] Integrated a new generation of Zebrunner Test Case Management integration modules. A lot of integration aspects are available from the test code starting from now!
  • Released 7.2.10 carina-archetype and carina-cucumber as well!
  • [#1450] Embedded result_sorting for local emailable reports by default
  • [#1380] IAndroidUtils: made openURL call from the mobile interface in DriverHelper

Fixes

  • [#1452] qaprosoft_3rdparty repository is now used for released artifacts only
  • [#1451] Hid the exception 'WARN! Value not resolved by key: azure_container_name'
  • [#1438] Deadlock in com.qaprosoft.carina.core.foundation.report.ReportContext.getBaseDir when running tests in parallel
  • [#1433] Provided the idleTimeout capability as an integer
  • [#1409] Component methods used xpaths from other Components
  • [#1328] Fixed the error: Gives wrong information in logs for copying emailable report to the reports folder

Known Issues

  • N/A

Dependencies Updates

  • N/A

Migration Steps

  • Update in your project pom.xml version for carina-core dependency to 7.2.10
  • Update in your project pom.xml com.zebrunner.agent-core version to 1.6.1 or RELEASE
  • Rebuild the project mvn -U clean compile install
  • Be sure to use with Zebrunner CE 1.8+
carina - 7.1.9 (2021-08-06)

Published by avabishchevich about 3 years ago

Enhancements

  • [#1430] Added the possibility to have suiteId in @TestRailCases annotation
  • [#1413] Reused a new approach for test case management keys registration
  • [#1327] Decommissioned device names from all the loggers
  • [#1196] Documented the usage steps for test_run_rules, check them here

Fixes

  • [#1421] Hiding of API request fields logic failed with a blank response
  • [#1412] Fixed the issue with eu-central-1: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256
  • [#1411] No provider related exceptions are now caught

Known Issues

  • N/A

Dependencies Updates

  • N/A

Migration Steps

  • Update in your project pom.xml version for carina-core dependency to 7.1.9
  • Update in your project pom.xml com.zebrunner.agent-core version to 1.6.0 or RELEASE
  • Rebuild the project mvn -U clean compile install
  • Be sure to use with Zebrunner CE 1.8+
carina - 7.1.8 (2021-06-28)

Published by avabishchevich over 3 years ago

Enhancements

  • [#1324][#1331] Added Azure Storage support
  • [#1308][#1405] Refactored and improved localization feature
  • [#1130] Added the ability to encrypt data for the API request/response, more details here
  • [#1348] Removed non-W3C platform and browser_version capabilities
  • [#1350] Generated a new archetype based on 7.1.8 changes
  • [#1340] Disabled automatic screenshot capturing for skipped tests
  • [#1384] Do not provide capabilities if value from is NULL as string
  • [#1390][#1396] Decommissioned appium recorder and all related artifacts
  • [#1392] Parametrized chrome closure operation
    #do driver close and quit (recommended for native chromedriver usage on Windows to fix issue with out of space)
    chrome_closure=true
    
  • [#1360][#1383] Bumped up to the latest RELEASE version for carina and zebrunner agent

Fixes

  • [#1349] Fixed javadocs warnings
  • [#1369] Ignore javascript error: Cannot read property 'outerHTML' of null for screenshoting
  • [#1397] Fixed compilation failures in carina-archetype

Known Issues

  • N/A

Dependencies Updates

  • commons-io 2.5 -> 2.7
  • guava 25.0-jre -> 29.0-jre
  • commons-beanutils 1.9.2 -> 1.9.4

Migration Steps

  • Update in your project pom.xml version for carina-core dependency to 7.1.8
  • Update in your project pom.xml com.zebrunner.agent-core version to 1.6.0 or RELEASE
  • Rebuild the project mvn -U clean compile install
  • Be sure to use with Zebrunner CE 1.8+
carina - 7.0.5 (2021-05-11)

Published by avabishchevich over 3 years ago

Enhancements

  • [#1325] Introduced a new selenium_url config parameter
  • [#1315] Added documentation on how to use encryption for api/database/testdata content
  • [#1277] Provided localization of list of extendedwebelement

Fixes

  • [#1345] regression: exception on quitDriver call
  • [#1312] Chromedriver on windows used a lot of space without cleanup
  • [#1311] Resources couldn't be downloaded correctly without 'mvn install' command

Known Issues

  • N/A

Dependencies Updates

  • com.zebrunner.agent-testng-pluggable 1.4.0 -> 1.5.0

Migration Steps

  • Update in your project pom.xml version for carina-core dependency to 7.0.5
  • Update in your project pom.xml com.zebrunner.agent-core version to 1.5.0
  • Rebuild the project mvn -U clean compile install
  • Be sure to use with Zebrunner CE 1.8+
carina - 7.0.3 (2021-04-12)

Published by avabishchevich over 3 years ago

Enhancements

  • [#1298] Provided the runtime method to register app_version/build number
  • [#1282][#1074][#1045][#721] Documentation improvements
  • [#1273] Removed enable_l10n property as module is enabled by default
  • [#1250] Supported BeforeTest/AfterTest driver lifecycle
  • [#801] Improved API module adding XML Response Comparison
  • [#1302][#1301] Covering more use-cases by unit tests

Fixes

  • [#1306] Driver initialized in BeforeClass didn't close after class tests were finished
  • [#1296] Fixed the ability to run web tests via Zebrunner's launcher on SauceLabs Selenium grid
  • [#1261] Demo (Slides) link was included in an emailable report even if no PNG screenshots were generated by a test
  • [#1248] Numbers were shifted in "Setting up cucumber test with carina"

Known Issues

  • N/A

Dependencies Updates

  • jackson-databind 2.9.10.4 -> 2.9.10.7
  • com.zebrunner.agent-testng-pluggable 1.2.4 -> 1.4.0

Migration Steps

  • Update in your project pom.xml version for carina-core dependency to 7.0.3
  • Update in your project pom.xml com.zebrunner.agent-core version to 1.4.0
  • Rebuild the project mvn -U clean compile install
    Important: install goal required as misprints were fixed in MobileCapabilities class. It should redownload and show compilation failures if any.
  • Be sure to use with Zebrunner CE 1.6+
carina - 7.0.2 (2021-03-11)

Published by avabishchevich over 3 years ago

Enhancements

  • [#1254] Copied the final emailable-report.html to the run-specific results folder
  • [#1253] Removed Jira ticket/task registration support via test description
  • [#1247] Documented extended getDriver() usage with custom capabilities
  • [#1232] Organized the display of generated artifacts in a local emailable report
  • [#1231] Local report: renamed "Demo" to "Slides"
  • [#1230] Returned thumbnails display for a local screenshots gallery
  • [#1206] Provided a link to mobile video recording inside the default emailable report

Fixes

  • [#1265] Couldn't initiate edge/opera/safari driver with getDriver(new AbstractCapabilities().getCapability())
  • [#1263] Couldn't change the path to a folder where testing reports are saved
  • [#1147] Annotation @CaseInsensitiveXPath didn't work properly with xpath that contains syntax like '$1'

Known Issues

  • N/A

Dependencies Updates

  • jackson-databind from 2.9.10.4 to 2.9.10.7
  • com.zebrunner.agent-testng-pluggable 1.2.4 -> 1.4.0

Migration Steps

  • Update in your project pom.xml version for carina-core dependency to 7.0.2
  • Update in your project pom.xml com.zebrunner.agent-core version to 1.4.0
  • Rebuild the project mvn -U clean compile
  • Be sure to use with Zebrunner CE 1.6+
carina - 7.0.1 (2021-02-10)

Published by avabishchevich over 3 years ago

Enhancements

  • [#1242] Adjusted carina-demo archetype based on 7.0.1 changes
  • [#1240] Added Exception for not implemented methods
  • [#850] Registered links to apk/ipa on test startup to zebrunner reporting run
  • [#789] Provided BDD documentation (cucumber)

Fixes

  • [#1228] Removed the"Spring Plugins" repository
  • [#1243] Fixed NullPointerException in log appender
  • [#582] Hardcoded parameters in carina archetype (-Dname and -Durl)

Known Issues

  • N/A

Dependencies Updates

  • com.zebrunner.agent-testng-pluggable 1.2.3 -> 1.2.4

Migration Steps

  • Update in your project pom.xml version for carina-core dependency to 7.0.1
  • Update in your project pom.xml com.zebrunner.agent-core version to 1.1.3
  • Rebuild the project
  • Be sure to use with Zebrunner CE 1.5+
carina - 7.0.0 (2021-01-26)

Published by avabishchevich over 3 years ago

Enhancements

  • [#551] switched to Java11
  • [#1237][#1212][#1211][#1208][#1179][#1174][#1164] Removed deprecated features
  • [#1236] Declared default boolean config parameters as NULL (false) to minimize logger messages during start
  • [#1235] Register and upload generated artifacts to Zebrunner Reporting
  • [#1233] Updated the default "./reports/qa" path to "./reports"
  • [#1221] Deprecated Timer class and removed the default usage in core
  • [#1209][#1161] Replaced STF_ENABLED capability by enableAdb to do remote adb connect

    MCloud Selenium Grid STF integrated is determined on the server side by STF_URL and STF_TOKEN variables

  • [#1204] Added the ability to generate a carina-based project from the archetype without carina-demo sources
  • [#800] Documented a new proxy range support in documentation
  • [#789] Provided BDD documentation (cucumber)

Fixes

  • [#1225] Added support for setting intl.accept_languages as part of capabilities in Chrome BROWSER_LANGUAGE support
  • [#1222] iOS L10N Localization support was not extended to ExtendedFindBy

Known Issues

  • Smart failures rerun is too sensitive to dependencies and other special use-cases
  • [#1242] adjust carina-demo archetype based on 7.0.0 changes

Dependencies Updates

  • added agent-testng-pluggable from com.zebrunner
  • removed unused alice-client, zafira-client, mote-repack, jacoco-maven-plugin
  • bump up aws-java-sdk 1.11.386 -> 1.11.923
  • bump up java-client 7.3.0 -> 7.4.1

Migration Steps

  • Upgrade your IDE environment to use Java 11.
    • For eclipse we also recommend to install TestNG plugin, maven-dependency-plugin connector and lombok
  • Update in your project pom.xml version for carina-core dependency to 7.0.0, rebuild the project and fix compilation failures if any

    ask for assistance if you don't know howto fix something

  • Integrate your favorite logger and new zebrunner agent if needed based on document.

    make sure to register net.bytebuddy as a dependency.

  • Declare maven-dependency-plugin
  • Declare customized javaagent argLine
  • Update every TestNG suite xml file declaring https for DTD url <!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
  • Be sure to use with Zebrunner CE 1.4+

Example of the movement for carina-demo can be found here.

carina - 6.5.47 (2021-01-17)

Published by vdelendik almost 4 years ago

Enhancements

  • Adjusted driver sessions artifacts generation for Zebrunner CE 1.4+ release
    • Introduced new driver_recorder property which could generate driver sessions log/video artifacts using the carina.
    • Property is disabled by default and can be enable for Selenium/Appium hubs which doesn't support video/logs recordings

Fixes

  • [#1225] Add support for setting intl.accept_languages as part of capabilities in Chrome BROWSER_LANGUAGE support

Dependencies Updates

  • N/A

Migration Steps

  • Update in your project pom.xml version for carina-core dependency to 6.5.47 and rebuild the project
  • Be sure to use with Zebrunner CE 1.4+
carina - 6.5.46 (2020-11-23)

Published by avabishchevich almost 4 years ago

6.5.46 (2020-11-23)

Enhancements

  • [#1197] Added more conditions to skip taking screenshots
  • [#1173] Minimized test configuration logging at the beginning of the test

Fixes

  • [#1180] No exceptions are now raised for opera/ie/edge/safari if English locales are provided
  • [#1163] Fixed IllegalArgumentException for L10N on jdk8

Known Issues

  • N/A

Dependencies Updates

  • N/A

Migration Steps

  • Update in your project pom.xml version for carina-core dependency to 6.5.46 and rebuild the project
  • Be sure to use with Zebrunner CE 1.2+
carina - 6.5.45 (2020-11-09)

Published by avabishchevich almost 4 years ago

6.5.45 (2020-11-09)

Enhancements

  • [#1177] Exclude DriverListener logic for the most problematic screenshot generation methods
  • [#1169] All direct adb commands now follow adbExecTimeout capabilities as Appium do

Fixes

  • [#1175] Handled the exception in ProxyPool and replaced it with an error message that the "lsof" utility was not found
  • [#1172] Video recording for driver started in BeforeSuite was not assigned to all tests
  • [#1165] Cleaned debug log messages
  • [#1162] refindElement using fluent waiters produced several regressions

Known Issues

  • N/A

Dependencies Updates

  • com.itextpdf 5.0.6 -> 5.5.13.2

Migration Steps

  • Update in your project pom.xml version for carina-core dependency to 6.5.45 and rebuild the project
  • Be sure to use with Zebrunner CE 1.2+
carina - 7.0.0-beta1 (2020-11-08)

Published by avabishchevich almost 4 years ago

7.0.0-beta1 (2020-11-09)

Enhancements

  • Removed a lot of deprecated classes and methods
  • Removed custom event firing driver listeners and decrease code complexety for driver manipulations
  • [#1104] Migrated to TestNG 7.3.0+
  • [#1072] Replaced deprecated zafira-client by plugable zebrunner agent
  • [#816] Moved cucumber reports outside of artifacts

Fixes

  • [#1128] Resize browser is now executed using a fluent wait
  • [#1118] Exception on driver.quit operation marked TestNG tests as failed

Known Issues

  • Unable to track driver sessions and their artifacts
  • Platform name calculation is corrupted
    Above limitation should be fixed in 1.0.1 zebrunner java-agent-testng

Dependencies Updates

  • com.itextpdf 5.0.6 -> 5.5.13.2

Migration Steps

  • Update in your project pom.xml version for carina-core dependency to 7.0.0-beta1 and rebuild the project
  • Be sure to use with Zebrunner CE 1.2+
carina - 6.5.44 (2020-11-02)

Published by avabishchevich almost 4 years ago

6.5.44 (2020-11-02)

Enhancements

  • Refactored Zebrunner driver listeners to use custom selenoid with AWS S3 support. For details visit Zebrunner CE release notes
  • Reused capabilities to generate valid artifacts links for embedded selenoid and external hub providers like Zebrunner Device Farm, Browserstack, Saucelabs etc
// selenoid push automatically video, log and metadata if appropriate capability enabled
capabilities.enableVideo=true
capabilities.enableLog=true
capabilities.enableMetadata=true
// carina generate relative artifact link and register it Zebrunner Reporting with new names "Video", "Log" and "Metadata"
  • Added single property to run tests in headless mode
headless_mode=true
  • [#1050] Added Java 9+ support for L10N feature. Already certified Java versions from 8 to 11.
  • [#1145] Ported two driver test examples into the archetype
  • [#995] AbstractPage.saveAsPdf was migrated to the last itextpdf
  • Released 6.5.44 carina-archetype which uses Java 11 by default

Fixes

  • Fixed element detection logic mostly for Mobile and React applications
  • Video, Log and Metadata artifacts are registered only after driver when they become available
  • [#1148] Interaction with Web elements found by @FindBy(id="..") is not stable
  • [#1141] Getting null pointer exception on multiple browser launch
  • Fixed screenshoting issue for Safari browsers and terminated driver cases
  • Fixed cucumber example test in carina-archetype
  • Fized set of sonar complains
  • Added more debug logs for BrowserMob shutdown/kill operations

Known Issues

  • N/A

Dependencies Updates

  • com.itextpdf 5.0.6 -> 5.5.13.2

Migration Steps

  • Update in your project pom.xml version for carina-core dependency to 6.5.44 and rebuild the project
  • Be sure to use with Zebrunner CE 1.2+
carina - 6.4.43 (2020-10-12)

Published by avabishchevich about 4 years ago

6.4.43 (2020-10-12)

Enhancements

[#1119] Removed the necessity to override several mandatory arguments. Ability to inject specific carina sub-module as dependency simplified a lot.

Fixes

[#1131] The default value for VideoAnalyzer was set to false
[#1123] Read all properties once, now they are used whenever needed/required

Known Issues

  • N/A

Dependencies Updates

  • zafira-client 4.2.72 -> 4.2.74

Migration Steps

  • Update in your project pom.xml version for carina-core dependency to 6.4.43 and rebuild the project
carina - 6.4.41 (2020-09-21)

Published by avabishchevich about 4 years ago

6.4.41 (2020-09-21)

Enhancements

[#1082] Headless tests are now started/executed using a single property
[#1021] Replaced hub_mode by optional capabilities.provider
[#544] 6.x: refactored the jira updater

Fixes

[#1078] Could not assign a custom retry analyzer since AbstractListener override its usage

Known Issues

  • N/A

Dependencies Updates

  • N/A

Migration Steps

  • Update in your project pom.xml version for carina-core dependency to 6.4.41 and rebuild the project
  • Adjust a custom jira updater if any due to the removed_jira_suite_id, jira_create_new_ticket, jira_project and jira_project_short_ config params.
carina - 6.4.40 (2020-09-07)

Published by avabishchevich about 4 years ago

6.4.40 (2020-09-07)

Enhancements

[#1089] Redesigned low-level elements manipulation using fluent waits for selenium hub under the huge load.
It should provide more stability and fix the issue when the hub returns an empty response under the load: Unable to determine type from: <. Last 1 characters read: <
[#544] Removed unused Jira properties: jira_suite_id, jira_create_new_ticket, jira_project and jira_project_short

Fixes

[#1099] Build-snapshot: Caught exceptions during server log reading
[#1098] Fixed the error: refindElement: searchContext was null for By.id: [id] (By.id: [id])
[#1097] Thumbnail images were not generated anymore by Carina
[#1081] Carina report: Link to a test case was wrong
[#1052] Fixed the stack overflow while trying to read the configuration
[#1042] Rerun failed tests did not work as expected
[#1075] Priority was unworking (closed as vendor issue)

Known Issues

  • N/A

Dependencies Updates

  • N/A

Migration Steps

  • Update in your project pom.xml version for carina-core dependency to 6.4.40 and rebuild the project
  • Adjust custom jira updater if any due to the removed jira_suite_id, jira_create_new_ticket, jira_project and jira_project_short config params.
carina - 6.4.39 (2020-08-07)

Published by avabishchevich about 4 years ago

6.4.39 (2020-08-07)

Enhancements

[#1087] Switched to the 4.2.72 zafira-client to support the latest Zebrunner Cloud reporting changes
[#1079] Build-snapshot: Added exception handling in getting screenshot links for the report
[#1076] Maven Support for Carina Dependencies

Fixes

[#1084] [Mobile] ExtendedWebElement's check() and uncheck() methods did not work
[#1077] Fixed the problem with firefox_preferences in _config.properties

Known Issues

  • N/A

Dependencies Updates

  • rest-assured 2.9.0 -> 4.3.0
  • org.json 20090211 -> 20160810
  • netty-all 4.1.17.Final -> 4.1.42.Final
  • commons-text 1.7 -> 1.8
  • appium java-client 7.2.0 -> 7.3.0
  • poi-ooxml 3.11-beta3 -> 4.1.2

Migration Steps

  • Update in your project pom.xml version for carina-core dependency to 6.4.39 and rebuild the project
  • Replace in your test code if any otherwise compilation failure will be detected:
    import com.jayway.restassured.response.Response
    by
    import io.restassured.response.Response;
carina - 6.4.38 (2020-07-13)

Published by avabishchevich over 4 years ago

6.4.38 (2020-07-13)

Enhancements

WinAppDriver support implementation to test Windows desktop applications
PageOpeningStrategy introduced. It allows to determine page/screen loading state by marker element visibility, url equality or both these conditions (option by default)
[#1053] Updated core archetype switching to slf4j and removing old log4j dependencies
[#1032] Added XML schema validator for carina-api module
[#825] Added the ability to change rqPath, rsPath, propertiesPath for api verification calls
[#1060] Provided the ability to disable thread_count manipulation by core

thread_count=custom

Fixes

[#1070] Device class did not instantiate properly
[#1067] No loggers in catch block for the killProcessByPort method
[#1042] Rerun failed tests did not work as expected
[#821] setHeaders() method was parsing a partial header if a header was "complex"

Known Issues

  • N/A

Dependencies Updates

N/A

Migration Steps

  • Update in your project pom.xml version for carina-core dependency to 6.4.38 and rebuild the project
carina - 6.4.37 (2020-06-11)

Published by avabishchevich over 4 years ago

6.4.37 (2020-06-11)

Enhancements

Rest-assured and org.json dependencies updated in carina-api module.
Important! Take a look at the required Migration Steps due to the renamed packages!
[#1035] Updated java docs for a set of files/modules
[#1048] Upgraded the Apache commons-text dependency 1.7->1.8
[#1031] Default URL configuration property was reset to empty by default
[#936] Bumped up to 7.3.0 Appium Java Client
[#935] Updated the dependency in pom.xml after getting Apache POI Warnings
Hid system listener messages to debug

Fixes

[#1046] Excluded screenshot capturing for "Illegal base64 character 2e" failure
[#1043] Rerun failures due to the index bound array exception fixed
[#1035] javadoc failures were fixed for the set of files/modules
[#1033] Console showed a decrypted/actual password for the encrypted text
[#963] Stop test execution in case of mistakes with custom_capabilities property
[#910] "Base ClassLoader No Longer from URLClassLoader" was fixed starting from Java 9

Known Issues

  • N/A

Dependencies Updates

  • rest-assured 2.9.0 -> 4.3.0
  • org.json 20090211 -> 20160810
  • netty-all 4.1.17.Final -> 4.1.42.Final
  • commons-text 1.7 -> 1.8
  • appium java-client 7.2.0 -> 7.3.0
  • poi-ooxml 3.11-beta3 -> 4.1.2

Migration Steps

  • Update in your project pom.xml version for carina-core dependency to 6.4.37 and rebuild the project
  • Replace in your test code if any otherwise compilation failure will be detected:
    import com.jayway.restassured.response.Response
    by
    import io.restassured.response.Response;