Skip to content

Commit

Permalink
updating tests to satisfy ci
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyfast committed Jun 7, 2024
1 parent 0259264 commit b45e24b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/test_a11y_baseline.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ def test_axe(page, config, nb):
"""

page.from_notebook(NOTEBOOKS / nb, CONFIGURATIONS / config)
assert page.test_axe(exclude=S.THIRD_PARTY).xfail()
assert page.test_axe(exclude=S.THIRD_PARTY).xfail(color_contrast_enhanced)
3 changes: 1 addition & 2 deletions tests/test_third.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
color_contrast,
color_contrast_enhanced,
focus_order_semantics,
region,
)
from nbconvert_a11y.test_utils import SELECTORS as S
from tests.conftest import CONFIGURATIONS, NOTEBOOKS
Expand All @@ -31,7 +30,7 @@ class DefaultTemplate(TestCase):
# then incrementally explain them in smaller tests.
# @mark.xfail(reason="there are problems in multiple upstreams.", raises=ExpectedFail)
def xfail_all(self):
self.page.test_axe().xfail(color_contrast, color_contrast_enhanced, focus_order_semantics, region)
self.page.test_axe().xfail(color_contrast, color_contrast_enhanced, focus_order_semantics)

# @mark.xfail(reason="a different theme is needed.", raises=ExpectedFail)
def xfail_pygments_highlight_default(self):
Expand Down

0 comments on commit b45e24b

Please sign in to comment.