Releases: spriteCloud/lapis-lazuli
Releases · spriteCloud/lapis-lazuli
Minor fixes
2.1.3 - Improved best practises in the project template
- NEW: We now support adding multiple configuration files by using
LapisLazuli::WorldModule::Config.add_config("config/config.yml")
- DEPRICATED:
LapisLazuli::WorldModule::Config.config_file = "config/config.yml"
- NEW: The generated template using
lapis_lazuli create <projectname>
has been completely reworked up to the new standards. See below for more details. - NEW: Updated Lapis Lazuli dependencies, now allowing Cucumber 3 (Beta)
- NEW: Opened browser now defaults to whatever
Watir
open when no:browser
option is given. (Currently Chrome, this was Firefox) - NEW: Now depending on
deep_merge
to be able to smart-merge 2 config files, with the same values together. - FIX: Resizing browser would sometime not work.
- FIX:
env_or_config()
did not throw an error if neither was found and no default was given. - FIX:
browser.get_http_status()
now properly returns the correct status code.
UPDATED TEMPLATE:
- More detailed
cucumber.yml
- Split up the feature files:
- Beginner:
basic.feature
(Includes a debug practise scenario) - Advanced:
account.feature
- Practise:
todo.feature
- Beginner:
- Added helper modules, modules made to simplify your tests.
- Added login / logout / register scenario's.
Bugfix release - Improved config file parsing
Lapis Lazuli 2.0.0 Multi find
Changes in existing behaviour, so bumped version to 2
- FIX: Element selector will now always default to :present?
- More info about default options.
- FIX: Multi_find was always matching all selected, this is changed to be :match_any, allowing to find all elements that match either one of multiple selectors
- For examples, see: http://www.testautomation.info/Lapis_Lazuli:Selecting_an_element
- Fixes: #41 & #25
- NEW: Updated error messaging when element is not found to be a more reader friendly in the console.
- NEW: Option to maximize window height before taking a screenshot to give full page size screenshots.
- Enable this feature by adding
screenshots_height: full
toconfig.yml
- Fixes #73
- Enable this feature by adding
- NEW: More documentation added about selecting elements at http://www.testautomation.info/Lapis_Lazuli:Selecting_an_element
Lapis Lazuli 1.1.0 Device Simulation
- Bump version to 1.1.0
- NEW: You can now specify a device simulation!
- More info: http://www.testautomation.info/Lapis_Lazuli:Device_Simulation
- config.yml can now contains a setting default_device
- lapis_lazuli create will now include a devices.yml file with some example devices
- NEW: Prepared the code to accept multiple config files that will be merged with eachother.
- NEW: Cleaned up the LL generated template
- FIX: Added dependency on thor & facets to support the project generator
- FIX: browser.restart now accepts arguments for browser settings
- FIX: Lapis Lazuli sometimes losing communication with Watir causing error:
- Failed to open TCP connection to 127.0.0.1:4444 (No connection could be made because the target machine actively refused it.
- FIX: Stale element error wasn't caught correctly in the wait :while function
- FIX: Not catching a Watir::Exception::UnknownObjectException which occured once every 20 times waiting for an element.
Developer notes:
- NEW: browser::init :device is a new option stored in the optional_data variable
- browser::init now simply sets variables to nil when they are empty
- browser::init added a check if :device is set and tries to set it if not.
- FIX: browser::init now properly duplicates a Selenium profile when caching it (this prevents internally changing an object outsite of LL)
- NEW: browser::create_driver optional_data[:device] is removed and put into a separate variable
- NEW: browser::create_driver If :device was set, load the devices.yml and check if the setting exists.
- NEW: browser::create_driver After the browser is defined, set the user agent
- Prevent overwriting an existing user-agent setting.
- If a profile or switch already exists, make sure the information is appended.
- Functionality differs between chrome and firefox
- Throw a warning if a device was set, but neither FF or Chrome was the browser.
- NEW: browser::create_driver after starting the browser instance, resize it to the configuration settings
- NEW: Prepared world/config.rb to accept multiple config files.
- Changed load_config_from_file(filename) to get the config settings from get_config_from_file(filename)
- Added get_config_from_file(filename) which will return the data loaded from the file
- Added add_config_from_file(filename) which will merge the file data with the existing data.
- Updated the self tester with the new device.yml file and default_device setting.
- NEW: Created a feature in the self tester for using bindings
- NEW: Self tester will now print version information when starting in env.rb
Bugfixes on template and wait function
- Config file of template was missing a variable
- Wait function gave an error message in some cases
Moving to watir
Lots of changes in this release:
- Get up to speed faster with a more comprehensive test suite template
- :context can now be used with the browser.wait function as well.
- Fixed wait :while not throw an error
- Fixed :throw => false not working for Wait
- Remove unused gem dependencies and include gems that are always used
- Lapis lazuli is now using watir instead of watir-webdriver
- Lapis lazuli is now using selenium-webdriver 3.x
Moving to watir
Lots of changes in this release:
- With this release we are using watir instead of watir-webdriver
- Get up to speed faster with a more comprehensive test suite template
- Remove unused gem dependencies and include gems that are always used
v0.9.0
v0.8.2
Updates the teelogger
dependency to version ~> 0.5
.