From 0e148a85f52cc431a6d5537210e6605f06f463f7 Mon Sep 17 00:00:00 2001 From: Ed Manlove Date: Wed, 31 Jul 2019 20:39:50 -0400 Subject: [PATCH 01/12] Fixed compatibility issues with import exceptions. --- AngularJSLibrary/__init__.py | 5 ++++- CHANGES.rst | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/AngularJSLibrary/__init__.py b/AngularJSLibrary/__init__.py index 656ab62..081bfd8 100644 --- a/AngularJSLibrary/__init__.py +++ b/AngularJSLibrary/__init__.py @@ -5,7 +5,10 @@ from selenium.common.exceptions import TimeoutException from SeleniumLibrary.locators import ElementFinder -from exceptions import AttributeError +try: + from exceptions import AttributeError +except ImportError: + pass import time js_wait_for_angularjs = """ diff --git a/CHANGES.rst b/CHANGES.rst index dad0473..35585f2 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -10,6 +10,9 @@ Changes: - Added error and informative message when unable to find root element or root component. [anthonyfromtheuk][HelioGuilherme66][emanlove] +- Modified for Python 3 compatibility + [emanlove] + 0.0.9 (2018-09-08) ------------------ Fixes: From e46cc31bfbd6aa956a928a005e500992d42b8b4f Mon Sep 17 00:00:00 2001 From: Ed Manlove Date: Wed, 31 Jul 2019 21:11:59 -0400 Subject: [PATCH 02/12] Preparing for the 0.0.10 release. --- AngularJSLibrary/__init__.py | 2 +- CHANGES.rst | 10 ++++++++-- setup.py | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/AngularJSLibrary/__init__.py b/AngularJSLibrary/__init__.py index 03cccaf..b76737e 100644 --- a/AngularJSLibrary/__init__.py +++ b/AngularJSLibrary/__init__.py @@ -169,7 +169,7 @@ def _sldriver(self): class AngularJSLibrary: ROBOT_LIBRARY_SCOPE = 'GLOBAL' - ROBOT_LIBRARY_VERSION = '0.0.10dev1' + ROBOT_LIBRARY_VERSION = '0.0.10' def __init__(self, root_selector=None, diff --git a/CHANGES.rst b/CHANGES.rst index da6bb31..c3cf2e2 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,10 +1,10 @@ Changelog ========= -0.0.10 (unreleased) +0.0.10 (2019-07-31) --------- Changes: -- Updated library documentation. +- Updated library and keyword documentation. [aaltat][emanlove] - Added error and informative message when unable to find root element or root component. @@ -16,6 +16,12 @@ Changes: - Documented discrepancy between the ``Set Ignore Implicit Angular Wait`` keyword argument and the equivalent import library argument. [HelioGuilherme66][aaltat][emanlove] +- Update for compatibility with SeleniumLibrary 4.0. + [aaltat][emanlove] + +- Fixed major issue with setup test environment under Windows documentation. + [emanlove] + 0.0.9 (2018-09-08) ------------------ Fixes: diff --git a/setup.py b/setup.py index 9e1b176..0744c81 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup( name='robotframework-angularjs', - version='0.0.10dev1', + version='0.0.10', description="""An AngularJS extension to Robotframework's Selenium2Library""", long_description=long_description, long_description_content_type='text/x-rst', From 3b671c9c71b5442b340d3758027d9507aa15b66d Mon Sep 17 00:00:00 2001 From: Ed Manlove Date: Wed, 31 Jul 2019 21:26:41 -0400 Subject: [PATCH 03/12] Bumping version to 0.0.11dev1 --- AngularJSLibrary/__init__.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AngularJSLibrary/__init__.py b/AngularJSLibrary/__init__.py index b76737e..c9a955d 100644 --- a/AngularJSLibrary/__init__.py +++ b/AngularJSLibrary/__init__.py @@ -169,7 +169,7 @@ def _sldriver(self): class AngularJSLibrary: ROBOT_LIBRARY_SCOPE = 'GLOBAL' - ROBOT_LIBRARY_VERSION = '0.0.10' + ROBOT_LIBRARY_VERSION = '0.0.11dev1' def __init__(self, root_selector=None, diff --git a/setup.py b/setup.py index 0744c81..57aa0a2 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup( name='robotframework-angularjs', - version='0.0.10', + version='0.0.11dev1', description="""An AngularJS extension to Robotframework's Selenium2Library""", long_description=long_description, long_description_content_type='text/x-rst', From b3fed80b4bb984aee5aecb2217e03ec8249c6ae1 Mon Sep 17 00:00:00 2001 From: Ed Manlove Date: Wed, 31 Jul 2019 21:32:22 -0400 Subject: [PATCH 04/12] Updated keyword documentation for 0.0.10 release. --- docs/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.html b/docs/index.html index 1a69475..4220fdd 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5,7 +5,7 @@ - +