Skip to content

Commit

Permalink
fix(toggle): update queries to control Toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
artemrys committed Sep 14, 2023
1 parent cdc142f commit 89d1f31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytest_splunk_addon_ui_smartx/components/controls/toggle.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ def __init__(self, browser, container):
{
"toggle_btn": Selector(
select=container.select
+ ' [data-test="option"] [data-test="label"]'
+ ' [data-test="option"] :not([data-test=’screen-reader-content’])'
),
"selected": Selector(
select=container.select
+ ' [data-test="option"][aria-checked="true"] [data-test="label"]'
+ ' [data-test="option"][aria-checked="true"] :not([data-test=’screen-reader-content’])'
),
}
)
Expand Down

0 comments on commit 89d1f31

Please sign in to comment.