From e1e76f5749e3893e85b089186ca359c9c30e75ef Mon Sep 17 00:00:00 2001 From: Marek Stastny Date: Wed, 18 Dec 2024 12:00:08 +0100 Subject: [PATCH] Update oas3 endpoint view Fix all tests in test_active_docs_v3 --- testsuite/ui/widgets/oas3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/ui/widgets/oas3.py b/testsuite/ui/widgets/oas3.py index 696bc35f..96525db3 100644 --- a/testsuite/ui/widgets/oas3.py +++ b/testsuite/ui/widgets/oas3.py @@ -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")]' )