Skip to content

Commit 931c084

Browse files
authored
Fix for issue 183 - update axe-core version (#184)
* Fix for issue 183 - update axe-core version - Updating axe-core to >=4.0.2 - Updating unit tests * Fix for issue 183 - update axe-core version - Update README.rst with correct axe-core version
1 parent 270c8cd commit 931c084

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ axe-selenium-python
33

44
axe-selenium-python integrates aXe and selenium to enable automated web accessibility testing.
55

6-
**This version of axe-selenium-python is using axe-core@3.3.2.**
6+
**This version of axe-selenium-python is using axe-core@4.0.2.**
77

88
.. image:: https://img.shields.io/badge/license-MPL%202.0-blue.svg
99
:target: https://github.com/mozilla-services/axe-selenium-python/blob/master/LICENSE.txt

axe_selenium_python/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

axe_selenium_python/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
},
1818
"homepage": "https://github.com/kimberlythegeek/axe-selenium-python#readme",
1919
"dependencies": {
20-
"axe-core": ">=3.1.0"
20+
"axe-core": ">=4.0.2"
2121
}
2222
}

axe_selenium_python/tests/test_axe.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ def test_run_axe_sample_page_firefox(firefox_driver):
4040
"""Run axe against sample page and verify JSON output is as expected."""
4141
data = _perform_axe_run(firefox_driver)
4242

43-
assert len(data["inapplicable"]) == 60
43+
assert len(data["inapplicable"]) == 61
4444
assert len(data["incomplete"]) == 0
45-
assert len(data["passes"]) == 7
45+
assert len(data["passes"]) == 6
4646
assert len(data["violations"]) == 8
4747

4848

@@ -51,9 +51,9 @@ def test_run_axe_sample_page_chrome(chrome_driver):
5151
"""Run axe against sample page and verify JSON output is as expected."""
5252
data = _perform_axe_run(chrome_driver)
5353

54-
assert len(data["inapplicable"]) == 60
54+
assert len(data["inapplicable"]) == 61
5555
assert len(data["incomplete"]) == 0
56-
assert len(data["passes"]) == 7
56+
assert len(data["passes"]) == 6
5757
assert len(data["violations"]) == 8
5858

5959

0 commit comments

Comments
 (0)