Skip to content

Commit

Permalink
Skip Wikipedia tests on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Nov 5, 2023
1 parent bf73e8f commit de90754
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_sites.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# pylint: disable=unused-argument,expression-not-assigned

import os
from contextlib import suppress

import pytest

from pomace import shared
from pomace.models import Page

Expand All @@ -21,6 +24,7 @@ def test_locator_uses_are_persisted(expect, browser):
expect(bad_locator.uses) <= 0


@pytest.mark.skipif("CI" in os.environ, reason="Wikipedia is blocked on CI")
def test_type_actions_are_supported(expect, browser):
page = Page.at("https://www.wikipedia.org")

Expand All @@ -30,6 +34,7 @@ def test_type_actions_are_supported(expect, browser):
expect(shared.client.url).endswith("wikipedia.org/wiki/Foobar")


@pytest.mark.skipif("CI" in os.environ, reason="Wikipedia is blocked on CI")
def test_modifier_keys_are_supported(expect, browser):
page = Page.at("https://www.wikipedia.org")

Expand Down

0 comments on commit de90754

Please sign in to comment.