Skip to content

Commit

Permalink
Mark flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
alisaifee committed Feb 27, 2023
1 parent 4d10a06 commit 9d2b71b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_pageelement.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import unittest

import hiro
import pytest

from holmium.core import Element, Locators, Page
from tests.utils import get_driver, make_temp_page
Expand Down Expand Up @@ -57,6 +58,7 @@ class SimplePage(Page):
assert page.elements[0].text == "simple_id"
assert page.elements[1].text == "simple_class"

@pytest.mark.xfail
def test_basic_element_with_only_if(self):
class SimplePage(Page):
id_el = Element(Locators.ID, "simple_id")
Expand Down

0 comments on commit 9d2b71b

Please sign in to comment.