From 27a5c011cd2c0220a357915feaeb45157bd82478 Mon Sep 17 00:00:00 2001 From: Gary Ritchie Date: Sun, 20 Oct 2019 18:37:13 -0700 Subject: [PATCH 1/2] Update axe-core to 3.3.2 - used integrity value from https://github.com/pa11y/pa11y-runner-axe/blob/master/package-lock.json --- README.rst | 2 +- axe_selenium_python/package-lock.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 4940254..5ab12c2 100755 --- a/README.rst +++ b/README.rst @@ -3,7 +3,7 @@ axe-selenium-python axe-selenium-python integrates aXe and selenium to enable automated web accessibility testing. -**This version of axe-selenium-python is using axe-core@3.1.2.** +**This version of axe-selenium-python is using axe-core@3.3.2.** .. image:: https://img.shields.io/badge/license-MPL%202.0-blue.svg :target: https://github.com/mozilla-services/axe-selenium-python/blob/master/LICENSE.txt diff --git a/axe_selenium_python/package-lock.json b/axe_selenium_python/package-lock.json index 78cdcb6..c4291e8 100644 --- a/axe_selenium_python/package-lock.json +++ b/axe_selenium_python/package-lock.json @@ -5,9 +5,9 @@ "requires": true, "dependencies": { "axe-core": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-3.1.2.tgz", - "integrity": "sha512-e1WVs0SQu3tM29J9a/mISGvlo2kdCStE+yffIAJF6eb42FS+eUFEVz9j4rgDeV2TAfPJmuOZdRetWYycIbK7Vg==" + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-3.3.2.tgz", + "integrity": "sha512-lRdxsRt7yNhqpcXQk1ao1BL73OZDzmFCWOG0mC4tGR/r14ohH2payjHwCMQjHGbBKm924eDlmG7utAGHiX/A6g==" } } } From c76aac2309c45dfe88b49b4b292cb9c9a74bd0a5 Mon Sep 17 00:00:00 2001 From: Gary Date: Mon, 21 Oct 2019 10:10:18 -0700 Subject: [PATCH 2/2] fix tests for firefox and chrome drivers --- axe_selenium_python/tests/test_axe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/axe_selenium_python/tests/test_axe.py b/axe_selenium_python/tests/test_axe.py index a6d53e9..e57f114 100755 --- a/axe_selenium_python/tests/test_axe.py +++ b/axe_selenium_python/tests/test_axe.py @@ -40,7 +40,7 @@ def test_run_axe_sample_page_firefox(firefox_driver): """Run axe against sample page and verify JSON output is as expected.""" data = _perform_axe_run(firefox_driver) - assert len(data["inapplicable"]) == 50 + assert len(data["inapplicable"]) == 60 assert len(data["incomplete"]) == 0 assert len(data["passes"]) == 7 assert len(data["violations"]) == 8 @@ -51,7 +51,7 @@ def test_run_axe_sample_page_chrome(chrome_driver): """Run axe against sample page and verify JSON output is as expected.""" data = _perform_axe_run(chrome_driver) - assert len(data["inapplicable"]) == 50 + assert len(data["inapplicable"]) == 60 assert len(data["incomplete"]) == 0 assert len(data["passes"]) == 7 assert len(data["violations"]) == 8