Skip to content

Commit

Permalink
Merge pull request #98 from Telefonica/fix/release
Browse files Browse the repository at this point in the history
Release Toolium 1.4.1
  • Loading branch information
rgonalo committed Feb 26, 2018
2 parents c65e39f + 1b128de commit 3ecb024
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -78,6 +78,7 @@ tmp
output
.eggs
.tox
.env

# Database
*.sqlite3
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.rst
Expand Up @@ -4,13 +4,15 @@ Toolium Changelog
v1.4.1
------

*In development*
*Release date: 2018-02-26*

- Fix README.rst format to be compatible with pypi
- Fix `after_scenario` error when toolium `before_feature` is not used
- Read `Config_environment` before properties initialization to read right properties file
- New config section [FirefoxArguments] to set firefox arguments from properties file, e.g. '-private'
- Add a config property `headless` in [Driver] section to enable headless mode in firefox and chrome
- New config properties 'monitor', 'bounds_x' and 'bounds_y' in [Driver] section to configure browser bounds and monitor
- Normalize filenames to avoid errors with invalid characters

v1.4.0
------
Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
1.4.1.dev0
1.4.1
2 changes: 1 addition & 1 deletion docs/browser_configuration.rst
Expand Up @@ -191,7 +191,7 @@ For example, to open firefox in a private browsing mode::
type: firefox

[FirefoxArguments]
-private
-private:

Chrome
~~~~~~
Expand Down
6 changes: 3 additions & 3 deletions toolium/driver_wrapper.py
Expand Up @@ -232,9 +232,9 @@ def connect(self, maximize=True):
else:
self.driver.maximize_window()

# Log window size
window_size = self.utils.get_window_size()
self.logger.debug('Window size: %s x %s', window_size['width'], window_size['height'])
# Log window size
window_size = self.utils.get_window_size()
self.logger.debug('Window size: %s x %s', window_size['width'], window_size['height'])

# Update baseline
self.update_visual_baseline()
Expand Down
6 changes: 4 additions & 2 deletions toolium/test/conf/properties.cfg
Expand Up @@ -8,8 +8,10 @@ explorer_driver_path:
edge_driver_path:
opera_driver_path:
phantomjs_driver_path:
# Browser bounds
monitor: 0
# Browser size and bounds
window_width:
window_height:
monitor:
bounds_x:
bounds_y:
# Driver options
Expand Down

0 comments on commit 3ecb024

Please sign in to comment.