diff --git a/src/core/plugins/oas3/components/callbacks.jsx b/src/core/plugins/oas3/components/callbacks.jsx index 8e96a0dc..2280b40b 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 +})