Skip to content

Commit

Permalink
remove redundant test
Browse files Browse the repository at this point in the history
  • Loading branch information
falkoschindler committed Aug 2, 2024
1 parent a702ae1 commit b54adf7
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/test_element_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,20 +100,6 @@ def test_find_within_marker2():
assert texts(ElementFilter(kind=ui.label).not_within(marker='a')) == ['Label 3']


def test_find_within_marker_combination():
with ui.card().mark('a'):
ui.label('Label 1')
with ui.card().mark('b'):
ui.label('Label 2')
with ui.card().mark('a'):
ui.label('Label 3')
with ui.card().mark('b'):
ui.label('Label 4')

assert texts(ElementFilter(kind=ui.label).within(marker='a b')) == ['Label 2']
assert texts(ElementFilter(kind=ui.label).within(marker='a').within(marker='b')) == ['Label 2']


def test_find_within_instance():
ui.button('button A')
ui.label('label A')
Expand Down

0 comments on commit b54adf7

Please sign in to comment.