Skip to content

Commit

Permalink
Update oas3 endpoint view
Browse files Browse the repository at this point in the history
Fix all tests in test_active_docs_v3
  • Loading branch information
mastastny committed Dec 18, 2024
1 parent 3dc9e6d commit e1e76f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testsuite/ui/widgets/oas3.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Endpoint(ParametrizedView):

PARAMETERS = ("endpoint_method", "endpoint_path")
ROOT = ParametrizedLocator(
"//span[@data-path={endpoint_path|quote}]/.."
"//span[@data-path={endpoint_path|quote}]/../.."
"/span[text()={endpoint_method|quote}]"
'/ancestor::div[contains(@id, "operations")]'
)
Expand Down

0 comments on commit e1e76f5

Please sign in to comment.