CHANGELOG
All notable changes to this project will be documented in this file.
[3.2.9] - 12-FEB-2020
Fixed
- Fixed
UIElement.wait_until_value_is
,List.wait_until_item_count_is
, andTable.wait_until_row_count_is
' methods.
[3.2.8] - 08-FEB-2020
Fixed
- Fixed
UIElement.visible?
method that was broken in release 3.2.7.
[3.2.7] - 05-FEB-2020
Added
- Added
Audio.crossorigin
andVideo.crossorigin
methods. - Added
Audio.preload
andVideo.preload
methods. - Added
Video.poster
method. - Updated
PageObject.verify_ui_states
andPageSection.verify_ui_states
methods to support verification of thecrossorigin
,preload
, andposter
properties.
[3.2.6] - 31-JAN-2020
Changed
Audio.volume
andVideo.volume
methods now return aFloat
.
[3.2.5] - 25-JAN-2020
Added
- Added
UIElement.content_editable?
method. - Updated
PageObject.verify_ui_states
andPageSection.verify_ui_states
methods to support verification of thecontent_editable
property.
Fixed
- Fixed
UIElement.aria_multiselectable?
method.
[3.2.4] - 16-JAN-2020
Added
- Added
Range
typeUIElement
to support interaction with and verification of HTML5 Input Range Slider Objects.
[3.2.3] - 29-DEC-2019
Added
- Additional methods to support WCAG 2.x accessibility testing and verification:
UIElement.aria_valuemax
methodUIElement.aria_valuemin
methodUIElement.aria_valuenow
methodUIElement.aria_valuetext
methodUIElement.aria_orientation
methodUIElement.aria_keyshortcuts
methodUIElement.aria_roledescription
methodUIElement.aria_autocomplete
methodUIElement.aria_modal?
methodUIElement.aria_busy?
methodUIElement.aria_multiline?
methodUIElement.aria_multiselectable?
methodUIElement.aria_controls
method
- Updated
PageObject.verify_ui_states
andPageSection.verify_ui_states
methods to support verification of the following properties:aria_valuemax
aria_valuemin
aria_valuenow
aria_valuetext
aria_orientation
aria_roledescription
aria_autocomplete
aria_modal
aria_keyshortcuts
aria_multiline
aria_multiselectable
aria_controls
[3.2.2] - 16-OCT-2019
Added
- Added device profiles for iPhone 11, 11 Pro, and 11 Pro Max (iOS 13.1) with Mobile Safari browser.
- Added
Table.wait_until_row_count_is
andTable.wait_until_row_count_changes
methods. - Added
CheckBox.indeterminate?
method. - Updated
PageObject.verify_ui_states
andPageSection.verify_ui_states
methods to support verification ofindeterminate
property. - Updated device profiles for iPad Pro 12.9" 3rd Generation (iOS 13.1) with Mobile Safari browser.
[3.2.1] - 03-OCT-2019
Changed
CheckBox.visible?
,CheckBox.disabled?
, andCheckBox.get_value
methods now work with React and Ember checkboxes with proxy elements.Radio.visible?
,Radio.disabled?
, andRadio.get_value
methods now work with React and Ember radio buttons with proxy elements.
[3.2.0] - 28-JULY-2019
Added
- Added support for connecting to and running your tests on cloud hosted browsers on the LambdaTest cloud platform.
- Added
UIElement.obscured?
andUIElement.inspect
methods. - Added
Video.wait_until_ready_state_is
andAudio.wait_until_ready_state_is
methods.
Changed
Video.ready_state
andAudio.ready_state
methods now return an Integer result.
[3.1.11] - 20-JUNE-2019
Added
- Added
SelectList.get_group_count
andSelectList.get_group_headings
methods. - Updated
PageObject.verify_ui_states
andPageSection.verify_ui_states
methods to support verification ofgroupcount
andgroup_headings
properties ofSelectList
objects.
[3.1.10] - 21-MAY-2019
Fixed
- Improved compatibility with React and Chosen select lists.
[3.1.9] - 16-MAY-2019
Added
- Added support for enabling popups when testing on BrowserStack cloud hosted Safari, IE, and Edge browsers.
- Added support for enabling all cookies when testing on BrowserStack cloud hosted Safari browsers.
Changed
List.get_list_items
andList.get_list_item
methods now strip leading and trailing whitespace from returned values.
[3.1.8] - 08-MAY-2019
Added
- Added
Link.href
method. - Updated
PageObject.verify_ui_states
andPageSection.verify_ui_states
methods to support verification ofhref
property.
Changed
- Updated device profiles for iPhone 7 (iOS 12.2) with Mobile Firefox browser and iPad (iOS 12.2) with Mobile Firefox browser.
- Updated device profiles for iPhone 7 (iOS 12.2) with Mobile Edge browser and iPad (iOS 12.2) with Mobile Edge browser.
- Updated device profiles for iPhone 7 (iOS 12.2) with Mobile Chrome browser and iPad (iOS 12.2) with Mobile Chrome browser.
[3.1.7] - 01-FEB-2019
Added
- Added
UIElement.title
andPageObject.title
methods. - Added
Video.video_height
, andVideo.video_width
methods. - Updated
PageObject.verify_ui_states
andPageSection.verify_ui_states
methods to support verification oftitle
property.
[3.1.6] - 20-JAN-2019
Added
- Updated
PageObject.verify_ui_states
andPageSection.verify_ui_states
methods to support verification ofname
property.
[3.1.5] - 06-JAN-2019
Added
- Additional methods to support WCAG 2.x accessibility testing and verification:
UIElement.aria_rowcount
method.UIElement.aria_colcount
method.UIElement.aria_sort
method.UIElement.aria_haspopup?
method.UIElement.aria_pressed?
method.
- Updated
PageObject.verify_ui_states
andPageSection.verify_ui_states
methods to support verification ofaria_rowcount
,aria_colcount
,aria_sort
,aria_pressed
, andaria_haspopup
properties.
[3.1.4] - 2018-12-12
Fixed
PageObject.audio
,PageObject.audios
,PageObject.video
, andPageObject.videos
methods now correctly instantiate HTML 5 Audio and Video objects at the page level.
[3.1.3] - 2018-12-08
Added
- Additional methods to support WCAG 2.x accessibility testing and verification:
UIElement.aria_invalid?
method.UIElement.aria_checked?
method.UIElement.aria_readonly?
method.
- Updated
PageObject.verify_ui_states
andPageSection.verify_ui_states
methods to support verification ofaria_invalid
,aria_checked
, andaria_readonly
properties.
[3.1.2] - 2018-12-03
Added
- Added
Audio.current_time
(setter),Audio.play
, andAudio.pause
methods. - Added
Video.current_time
(setter),Video.play
, andVideo.pause
methods.
[3.1.1] - 2018-11-30
Added
- Added device profiles for iPhone XR, XS, and XS Max (iOS 12.1) with Mobile Safari browser.
- Added device profiles for iPad Pro 11" and iPad Pro 12.9" 3rd Generation (iOS 12.1) with Mobile Safari browser.
Changed
- Updated device profiles for iPhone 7 (iOS 12) with Mobile Firefox browser and iPad (iOS 12) with Mobile Firefox browser.
- Updated device profiles for iPhone 7 (iOS 12) with Mobile Edge browser and iPad (iOS 12) with Mobile Edge browser.
- Updated device profiles for iPhone 7 (iOS 12) with Mobile Chrome browser and iPad (iOS 12) with Mobile Chrome browser.
[3.1.0] - 2018-11-10
Added
- Adding greater support for WCAG 2.x accessibility testing and verification:
UIElement.role
method.UIElement.tabindex
method.UIElement.aria_labelledby
method.UIElement.aria_describedby
method.UIElement.aria_live
method.UIElement.aria_selected?
method.UIElement.aria_hidden?
method.UIElement.aria_expanded?
method.UIElement.aria_required?
method.
- Updated
PageObject.verify_ui_states
andPageSection.verify_ui_states
methods to support verification of the following properties:role
tabindex
aria-labelledby
aria-describedby
aria-live
aria-selected
aria-hidden
aria-expanded
aria-required
[3.0.20] - 2018-11-08
Changed
PageObject.verify_ui_states
andPageSection.verify_ui_states
methods now ignore case and whitespace when verifying text captions and values when running tests against Microsoft Edge browsers to accommodate known Edge WebDriver Issue #11322543.- Updated
PageObject.populate_data_fields
andPageSection.populate_data_fields
methods to accept optionalintegrity_check
parameter.
[3.0.19] - 2018-10-10
Added
- Added support for testing file downloads with locally hosted instances of Chrome or Firefox desktop browsers.
Changed
Audio.current_time
,Audio.duration
,Video.current_time
, andVideo.duration
methods now return aFloat
.
Removed
- Removed support for legacy Firefox version 47.0.1.
- Removed deprecated
TestCentricity::WebDriverConnect.set_webdriver_path
method.
[3.0.18] - 2018-10-02
Added
UIElement.style
method.- Updated
PageObject.verify_ui_states
andPageSection.verify_ui_states
methods to support verification ofstyle
property.
Changed
- Updated device profiles for iPhone 7 (iOS 12) with Mobile Firefox browser and iPad (iOS 12) with Mobile Firefox browser.
- Updated device profiles for iPhone 7 (iOS 12) with Mobile Edge browser and iPad (iOS 12) with Mobile Edge browser.
- Updated device profiles for iPhone 7 (iOS 12) with Mobile Chrome browser and iPad (iOS 12) with Mobile Chrome browser.
Removed
- Removed
iPhone
,iPhone4
, andiPhone5
device profiles.
[3.0.17] - 2018-10-01
Added
UIElement.aria_disabled?
andUIElement.aria_label
methods.- Updated
PageObject.verify_ui_states
andPageSection.verify_ui_states
methods to support verification ofaria-label
andaria-disabled
properties.
[3.0.16] - 2018-09-21
Added
Image.src
andImage.alt
method.- Added
Video
andAudio
typeUIElement
to support verification of HTML5 Video and Audio Objects.
[3.0.15] - 2018-09-19
Added
UIElement.hover_at
method.- Added support for specifying IP Geolocation when testing on BrowserStack cloud hosted browsers.
[3.0.14] - 2018-09-17
Added
- Added support for testing file uploads in browsers running on remote cloud hosted services as well as in Selenium Grid and Dockerized Selenium Grid environments.
[3.0.13] - 2018-08-10
Fixed
- Improved response times of
List.get_item_count
andList.get_list_items
methods by shorteningwait
time.
[3.0.12] - 2018-08-09
Added
PageSection.hover
method.List.hover_item
method.
[3.0.11] - 2018-08-05
Added
UIElement.count
method.
[3.0.10] - 2018-07-20
Added
Image.broken?
method.UIElement.highlight
andUIElement.unhighlight
methods.
Changed
PageObject.verify_ui_states
andPageSection.verify_ui_states
methods now takes screenshots that display a red dashed rectangular highlight around any UI element with property states that do not match expected results.
Removed
- Removed deprecated
DataObject.set_current
method.
[3.0.9] - 2018-07-05
Added
- Added
List.choose_item
andList.get_selected_item
methods. - Added
SelectList.set
method.
[3.0.8] - 2018-06-28
Added
- Added
PageObject.wait_for_ajax
method.
Changed
PageObject.verify_ui_states
andPageSection.verify_ui_states
methods now accept optionalfail_message
string parameter to add context to error messages when UI verifications raise an exception.
[3.0.7] - 2018-06-21
Added
- Added support for connecting to and running your tests in desktop and emulated mobile web browsers hosted on Selenium Grid and Dockerized Selenium Grid environments.
- Added
Environ.report_header
method that can be used to provide formatted test environment information in HTML test results.
Deprecated
- Deprecated
TestCentricity::WebDriverConnect.set_webdriver_path
method because the correct WebDriver is now automatically set.
[3.0.6] - 2018-06-14
Added
- Added support for connecting to and running your tests on cloud hosted browsers on the Gridlastic cloud platform.
- Added support for specifying Selenium WebDriver version, browser-specific WebDriver version (for Firefox, IE, and Safari), and browser console logs when running tests on BrowserStack hosted browsers. Refer to section 8.5.1 (Remote desktop browsers on the BrowserStack service) in the README.
Changed
- Updated device profiles for iPhone 7 (iOS 11) with Mobile Firefox browser and iPad (iOS 11) with Mobile Firefox browser.
- Updated device profiles for iPhone 7 (iOS 11) with Mobile Edge browser and iPad (iOS 11) with Mobile Edge browser.
- Updated device profiles for iPhone 7 (iOS 11) with Mobile Chrome browser and iPad (iOS 11) with Mobile Chrome browser.
[3.0.5] - 2018-05-17
Added
- Added
Environ.headless
method. Will returntrue
if testing against a headless instance of Chrome or Firefox.
[3.0.4] - 2018-05-12
Fixed
- Refactored
SelectList
methods to work with Capybara version 3.x.
[3.0.3] - 2018-05-09
Changed
- Pinning to Capybara version 2.18.0 because Capybara 3.x breaks several
SelectList
methods.
[3.0.2] - 2018-05-09
Changed
PageManager.find_page
method now raises an exception if the requested page object has not been defined and instantiated.
[3.0.1] - 2018-04-28
Changed
- Updated device profiles for iPhone 7 (iOS 11) with Mobile Firefox browser and iPad (iOS 10) with Mobile Firefox browser.
- Updated device profiles for iPhone 7 (iOS 11) with Mobile Edge browser and iPad (iOS 10) with Mobile Edge browser.
- Updated device profiles for iPhone 7 (iOS 11) with Mobile Chrome browser and iPad (iOS 10) with Mobile Chrome browser.
[3.0.0] - 2018-04-25
Added
- The TestCentricityâ„¢ Web gem now works with Selenium-WebDriver version 3.11 and geckodriver version 0.20.1 (or later) to support testing of the latest versions of Firefox web browsers.
- Support for testing on locally hosted "headless" Chrome or Firefox browsers has been added.
- Support for headless browser testing using Poltergeist and PhantomJS has been removed.
- Support for Legacy FirefoxDriver (used in Firefox versions < 48) has been added.
Fixed
TestCentricity::WebDriverConnect.set_webdriver_path
method now sets the path to the appropriate geckodriver file for OS X or Windows when testing on locally hosted Firefox browsers.
[2.4.3] - 2018-04-11
Changed
- Updated device profiles for iPhone 7 (iOS 11) with Mobile Firefox browser and iPad (iOS 10) with Mobile Firefox browser.
[2.4.1] - 2018-03-27
Added
- Added device profiles for iPad (iOS 10) with MS Edge browser.
[2.4.0] - 2018-03-25
Changed
- Updated
TestCentricity::WebDriverConnect.initialize_web_driver
method to read theAPP_FULL_RESET
,APP_NO_RESET
, andNEW_COMMAND_TIMEOUT
Environment Variables and set the correspondingfullReset
,noReset
, andnewCommandTimeout
Appium capabilities for iOS and Android physical devices and simulators. Also reads theWDA_LOCAL_PORT
Environment Variable and sets thewdaLocalPort
Appium capability for iOS physical devices only.
[2.3.19] - 2018-03-14
Fixed
- Fixed device profile for
android_phone
- Generic Android Phone.
[2.3.18] - 2018-03-11
Changed
- Updated
SelectList.define_list_elements
method to accept value for:list_trigger
element. - Updated
SelectList.choose_option
to respect:list_item
value and to click on:list_trigger
element, if one is specified. - Updated
PageSection
andPageObject
UI element object declaration methods to no longer useclass_eval
pattern. - Updated device profiles for iPhone 7 (iOS 10) with Chrome browser and iPad (iOS 10) with Chrome browser.
Fixed
- Fixed
SelectList.choose_option
to also accept:text
,:value
, and:index
option hashes across all types of select list objects.
[2.3.17] - 2018-03-08
Added
- Added
List.wait_until_item_count_is
andList.wait_until_item_count_changes
methods.
Changed
UIElement.wait_until_value_is
andList.wait_until_item_count_is
methods now accept comparison hash.
[2.3.16] - 2018-03-04
Added
- Added
PageSection.double_click
,PageObject.right_click
, andPageObject.send_keys
methods.
[2.3.15] - 2018-03-02
Added
- Added
PageObject.wait_until_exists
andPageObject.wait_until_gone
methods.
Fixed
- Fixed bug in
UIElement.get_object_type
method that could result in aNoMethodError obj not defined
error. - Fixed bug in
PageObject.verify_ui_states
andPageSection.verify_ui_states
methods that failed to enqueue errors when UI elements could not be found.
[2.3.14] - 2018-02-28
Changed
- Updated device profiles for iPhone 7 (iOS 10) with MS Edge browser.
[2.3.13] - 2018-02-09
Added
- Added
AppiumServer.start
,AppiumServer.running?
, andAppiumServer.stop
methods for starting and stopping the Appium Server prior to executing tests on iOS physical devices or simulators, or Android virtual device emulators.
[2.3.12] - 2018-02-07
Added
- Added
Environ.is_simulator?
andEnviron.is_web?
methods.
[2.3.11] - 2018-02-02
Added
- Added support for running tests in Mobile Safari browser on physical iOS devices.
Changed
- Updated device profiles for iPhone 7 (iOS 10) with Mobile Firefox browser and iPad (iOS 10) with Mobile Firefox browser.
[2.3.10] - 2018-01-31
Added
- Added support for running tests in mobile Chrome or Android browsers on Android Studio virtual device emulators.
- Added
displayed?
,get_all_items_count
, andget_all_list_items
methods toPageSection
class. - Added
get_all_items_count
, andget_all_list_items
methods toList
class.
[2.3.9] - 2018-01-27
Changed
- Updated
PageObject.populate_data_fields
andPageSection.populate_data_fields
methods to accept optionalwait_time
parameter. - Updated device profiles for iPhone 7 (iOS 10) with MS Edge browser, iPhone 7 (iOS 10) with Chrome browser, and iPhone 7 (iOS 10) with Firefox browser.
- Updated device profiles for iPad (iOS 10) with Chrome browser and iPad (iOS 10) with Firefox browser.
[2.3.8] - 2018-01-23
Fixed
- Fixed locator resolution for Indexed PageSection Objects.
[2.3.7] - 2018-01-18
Added
- Added
width
,height
,x
,y
, anddisplayed?
methods toUIElement
class.
[2.3.6] - 2017-12-21
Added
- Added
TextField.clear
method for deleting the contents of text fields. This method should trigger theonchange
event for the associated text field.
Changed
TextField.clear
method now works with mostnumber
type fields.
[2.3.5] - 2017-12-19
Changed
- Updated
PageObject.populate_data_fields
andPageSection.populate_data_fields
methods to be compatible with Redactor editor fields. - Updated device profiles for iPhone 7 (iOS 10) with MS Edge browser, iPhone 7 (iOS 10) with Chrome browser, and iPhone 7 (iOS 10) with Firefox browser.
[2.3.4] - 2017-12-12
Fixed
- Fixed bug in
PageObject.populate_data_fields
andPageSection.populate_data_fields
methods that prevented deletion of data in number type textfields and textarea controls.
[2.3.3] - 2017-12-09
Added
- Added device profile for iPhone 7 (iOS 10) with MS Edge browser.
Fixed
- Corrected device profiles for iPad (iOS 10) with Mobile Chrome browser and iPad (iOS 10) with Mobile Firefox browser.
[2.3.1] - 2017-12-07
Added
- When testing using remotely hosted browsers on the BrowserStack service, the BrowserStack Local instance is automatically started if the
TUNNELING
Environment Variable is set totrue
.Environ.tunneling
will be set to true if the BrowserStack Local instance is succesfully started. - Added
TestCentricity::WebDriverConnect.close_tunnel
method to close BrowserStack Local instance when Local testing is enabled. Refer to the Remotely hosted desktop and mobile web browsers section for information on usage.
[2.2.1] - 2017-11-29
Changed
SelectList.choose_option
method now accepts index values for Chosen list objects.
[2.2.0] - 2017-11-29
Changed
- CSS selectors or XPath expressions may be used as locators for all types of UI Elements, including tables.
[2.1.10] - 2017-11-14
Added
- Added device profiles for iPhone 7 (iOS 10) with Mobile Firefox browser and iPad (iOS 10) with Mobile Firefox browser.
[2.1.9] - 2017-11-13
Fixed
- Fixed bug in
SelectList.choose_option
,SelectList.get_options
,SelectList.get_option_count
, andSelectList.get_selected_option
methods which did not recognize grouped option in Chosen list objects.
[2.1.8] - 2017-11-09
Added
- Added
PageSection.verify_list_items
method for Indexed PageSection Objects.
[2.1.7] - 2017-11-07
Changed
- Updated
PageObject.populate_data_fields
andPageSection.populate_data_fields
methods to use backspace characters to delete contents of a textfield instead of usingclear
, which was preventingonchange
JavaScript events from being triggered in some browsers.
[2.1.6] - 2017-10-31
Fixed
- Fixed bug in
TestCentricity::WebDriverConnect.set_webdriver_path
method that was failing to set the path to the appropriate chromedriver file for OS X and Windows.
[2.1.5] - 2017-10-28
Added
- Added
get_min
,get_max
, andget_step
methods toTextField
class. - Updated
PageObject.verify_ui_states
andPageSection.verify_ui_states
methods to support verification ofmin
,max
, andstep
attributes for textfields.
Fixed
- Fixed Chrome and Firefox support for setting browser language via the
LOCALE
Environment Variable. This capability now works for emulated mobile browsers hosted in a local instance of Chrome or Firefox.
[2.1.4] - 2017-10-24
Added
- Added suppression of the Info Bar that displays "Chrome is being controlled by automated test software" on locally hosted instances of the Chrome browser.
[2.1.3] - 2017-10-17
Added
- Added support for "tiling" or cascading multiple browser windows when the
BROWSER_TILE
andPARALLEL
Environment Variables are set to true. For each concurrent parallel thread being executed, the position of each browser will be offset by 100 pixels right and 100 pixels down. For parallel test execution, use the parallel_tests gem to decrease overall test execution time.
[2.1.2] - 2017-10-01
Added
- Added device profiles for Microsoft Lumia 950, Blackberry Leap, Blackberry Passport, and Kindle Fire HD 10
- Added ability to set browser language support via the
LOCALE
Environment Variable for local instances of Chrome browsers
[2.1.0] - 2017-09-23
Added
- Added device profiles for iPhone 8, iPhone 8 Plus, iPhone X devices running iOS 11
- Added device profile for iPad Pro 10.5" with iOS 11
Changed
- Updated iPhone 7 and iPhone 7 Plus profiles to iOS 10
- Updated Google Pixel and Google Pixel XL profiles to Android 8
- Added device profiles for iPhone 7 (iOS 10) with Mobile Chrome browser and iPad (iOS 10) with Mobile Chrome browser
- The
TestCentricity::WebDriverConnect.initialize_web_driver
method now sets theEnviron
object to the correct device connection states for local and cloud hosted browsers.
Fixed
- The
TestCentricity::WebDriverConnect.initialize_web_driver
method no longer callsinitialize_browser_size
when running tests against cloud hosted mobile web browser, which was resulting in Appium throwing exceptions for unsupported method calls. - The
TestCentricity::WebDriverConnect.set_webdriver_path
method now correctly sets the path for Chrome webDrivers when theHOST_BROWSER
Environment Variable is set tochrome
. Tests against locally hosted emulated mobile web browser running on a local instance of Chrome will now work correctly.