From 872e382c5ffa8890f40fb60dffd541136df1869a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Gorej?= Date: Tue, 16 May 2023 14:57:00 +0200 Subject: [PATCH] fix(oas31): fix deep linking for Webhooks and Callbacks (#8680) Refs #8679 --- src/core/plugins/oas3/components/callbacks.jsx | 2 +- src/core/plugins/oas31/components/webhooks.jsx | 2 +- test/e2e-cypress/tests/features/webhooks.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/plugins/oas3/components/callbacks.jsx b/src/core/plugins/oas3/components/callbacks.jsx index 8e96a0dce65..2280b40b5ee 100644 --- a/src/core/plugins/oas3/components/callbacks.jsx +++ b/src/core/plugins/oas3/components/callbacks.jsx @@ -26,7 +26,7 @@ const Callbacks = ({ callbacks, specPath, specSelectors, getComponent }) => { { { }) it("should render an operation component", () => { cy.visit(baseUrl) - .get(".webhooks #operations--postnewPet > .opblock-summary") + .get(".webhooks #operations-webhooks-postnewPet > .opblock-summary") .should("exist") .should("contains.text", "POST") .should("contains.text", "newPet") @@ -23,4 +23,4 @@ describe("Render Webhooks Component", () => { .should("not.exist") }) }) -}) \ No newline at end of file +})