From 7c33ae9c49a57b623e75c04107a40268b33ca9d5 Mon Sep 17 00:00:00 2001 From: kyle Date: Fri, 15 Jun 2018 22:38:13 -0700 Subject: [PATCH] housekeeping: update e2e selectors (#4655) --- test/e2e/pages/main.js | 248 ++++++++++++++++++++--------------------- 1 file changed, 124 insertions(+), 124 deletions(-) diff --git a/test/e2e/pages/main.js b/test/e2e/pages/main.js index 04e77545..740f20b8 100644 --- a/test/e2e/pages/main.js +++ b/test/e2e/pages/main.js @@ -85,404 +85,404 @@ module.exports = { } }, apiWrapper: { - selector: ".swagger-ui .wrapper:nth-child(3)", + selector: "div.swagger-ui > div:nth-child(2) > div:nth-child(5) > section > div", elements: { petAPIWrapper: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1)" + selector: "div.swagger-ui div:nth-child(5) > section > div > span:nth-child(1) > div" }, petAPIWrapperBar: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) .opblock-tag" + selector: "div.swagger-ui div:nth-child(5) > section > div > span:nth-child(1) > div .opblock-tag" }, - + /** * Post pet/ api */ petOperationPostContainer: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-addPet" + selector: "div#operations-pet-addPet" }, petOperationPostTitle: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-addPet .opblock-summary-post span.opblock-summary-path span" + selector: "div#operations-pet-addPet .opblock-summary-post span.opblock-summary-path span" }, petOperationPostCollpase: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-addPet .opblock-summary-post" + selector: "div#operations-pet-addPet .opblock-summary-post" }, petOperationPostCollapseContainer: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-addPet>div:nth-child(2)" + selector: "div#operations-pet-addPet>div:nth-child(2)" }, petOperationPostTryBtn: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-addPet button.try-out__btn" + selector: "div#operations-pet-addPet button.try-out__btn" }, petOperationPostTryText: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-addPet textarea.body-param__text" + selector: "div#operations-pet-addPet textarea.body-param__text" }, petOperationPostExecuteBtn: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-addPet button.execute" + selector: "div#operations-pet-addPet button.execute" }, petOperationPostTryTextArea: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-addPet textarea" + selector: "div#operations-pet-addPet textarea" }, petOperationPostResultsBox: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-addPet pre.microlight" + selector: "div#operations-pet-addPet pre.microlight" }, petOperationPostMockCategoryID: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-addPet pre.microlight span:nth-child(17)" + selector: "div#operations-pet-addPet pre.microlight span:nth-child(17)" }, petOperationPostMockCategoryName: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-addPet pre.microlight span:nth-child(23)" + selector: "div#operations-pet-addPet pre.microlight span:nth-child(23)" }, petOperationPostMockName: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-addPet pre.microlight span:nth-child(31)" + selector: "div#operations-pet-addPet pre.microlight span:nth-child(31)" }, petOperationPostTagID: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-addPet pre.microlight span:nth-child(54)" + selector: "div#operations-pet-addPet pre.microlight span:nth-child(54)" }, petOperationPostTagName: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-addPet pre.microlight span:nth-child(60)" + selector: "div#operations-pet-addPet pre.microlight span:nth-child(60)" }, petOperationPostStatus: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-addPet pre.microlight span:nth-child(70)" + selector: "div#operations-pet-addPet pre.microlight span:nth-child(70)" }, - + /** * Put pet/ api */ petOperationPutContainer: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-updatePet" + selector: "div#operations-pet-updatePet" }, petOperationPutTitle: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-updatePet .opblock-summary-put span.opblock-summary-path span" + selector: "div#operations-pet-updatePet .opblock-summary-put span.opblock-summary-path span" }, petOperationPutCollpase: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-updatePet .opblock-summary-put" + selector: "div#operations-pet-updatePet .opblock-summary-put" }, petOperationPutCollapseContainer: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-updatePet>div:nth-child(2)" + selector: "div#operations-pet-updatePet>div:nth-child(2)" }, petOperationPutTryBtn: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-updatePet button.try-out__btn" + selector: "div#operations-pet-updatePet button.try-out__btn" }, petOperationPutTryText: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-updatePet textarea.body-param__text" + selector: "div#operations-pet-updatePet textarea.body-param__text" }, petOperationPutExecuteBtn: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-updatePet button.execute" + selector: "div#operations-pet-updatePet button.execute" }, petOperationPutTryTextArea: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-updatePet textarea" + selector: "div#operations-pet-updatePet textarea" }, petOperationPutResultsBox: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-updatePet pre.microlight" + selector: "div#operations-pet-updatePet pre.microlight" }, petOperationPutMockCategoryID: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-updatePet pre.microlight span:nth-child(17)" + selector: "div#operations-pet-updatePet pre.microlight span:nth-child(17)" }, petOperationPutMockCategoryName: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-updatePet pre.microlight span:nth-child(23)" + selector: "div#operations-pet-updatePet pre.microlight span:nth-child(23)" }, petOperationPutMockName: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-updatePet pre.microlight span:nth-child(31)" + selector: "div#operations-pet-updatePet pre.microlight span:nth-child(31)" }, petOperationPutTagID: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-updatePet pre.microlight span:nth-child(54)" + selector: "div#operations-pet-updatePet pre.microlight span:nth-child(54)" }, petOperationPutTagName: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-updatePet pre.microlight span:nth-child(60)" + selector: "div#operations-pet-updatePet pre.microlight span:nth-child(60)" }, petOperationPutStatus: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-updatePet pre.microlight span:nth-child(70)" + selector: "div#operations-pet-updatePet pre.microlight span:nth-child(70)" }, - + /** * Get /pet/findByTags */ petOperationGetByTagContainer: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-findPetsByTags" + selector: "div#operations-pet-findPetsByTags" }, petOperationGetByTagTitle: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-findPetsByTags .opblock-summary-get span.opblock-summary-path__deprecated span" + selector: "div#operations-pet-findPetsByTags .opblock-summary-get span.opblock-summary-path__deprecated span" }, petOperationGetByTagCollpase: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-findPetsByTags .opblock-summary-get" + selector: "div#operations-pet-findPetsByTags .opblock-summary-get" }, petOperationGetByTagCollapseContainer: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-findPetsByTags .ReactCollapse--collapse" + selector: "div#operations-pet-findPetsByTags .ReactCollapse--collapse" }, petOperationGetByTagTryBtn: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-findPetsByTags button.try-out__btn" + selector: "div#operations-pet-findPetsByTags button.try-out__btn" }, petOperationGetByTagTryAdded: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-findPetsByTags button.json-schema-form-item-add" + selector: "div#operations-pet-findPetsByTags button.json-schema-form-item-add" }, petOperationGetByTagExecuteBtn: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-findPetsByTags button.execute" + selector: "div#operations-pet-findPetsByTags button.execute" }, petOperationGetByTagTryTextArea: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-findPetsByTags textarea" + selector: "div#operations-pet-findPetsByTags textarea" }, petOperationGetByTagResultsBox: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-findPetsByTags pre.microlight" + selector: "div#operations-pet-findPetsByTags pre.microlight" }, petOperationGetByTagMockCategoryID: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-findPetsByTags pre.microlight span:nth-child(17)" + selector: "div#operations-pet-findPetsByTags pre.microlight span:nth-child(17)" }, petOperationGetByTagMockCategoryName: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-findPetsByTags pre.microlight span:nth-child(23)" + selector: "div#operations-pet-findPetsByTags pre.microlight span:nth-child(23)" }, petOperationGetByTagMockName: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-findPetsByTags pre.microlight span:nth-child(31)" + selector: "div#operations-pet-findPetsByTags pre.microlight span:nth-child(31)" }, petOperationGetByTagTagID: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-findPetsByTags pre.microlight span:nth-child(54)" + selector: "div#operations-pet-findPetsByTags pre.microlight span:nth-child(54)" }, petOperationGetByTagTagName: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-findPetsByTags pre.microlight span:nth-child(60)" + selector: "div#operations-pet-findPetsByTags pre.microlight span:nth-child(60)" }, petOperationGetByTagStatus: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-findPetsByTags pre.microlight span:nth-child(70)" + selector: "div#operations-pet-findPetsByTags pre.microlight span:nth-child(70)" }, /** * Get /pet/{petId} */ petOperationGetByIdContainer: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-getPetById" + selector: "div#operations-pet-getPetById" }, petOperationGetByIdTitle: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-getPetById .opblock-summary-get span.opblock-summary-path span" + selector: "div#operations-pet-getPetById .opblock-summary-get span.opblock-summary-path span" }, petOperationGetByIdCollpase: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-getPetById .opblock-summary-get" + selector: "div#operations-pet-getPetById .opblock-summary-get" }, petOperationGetByIdCollapseContainer: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-getPetById .ReactCollapse--collapse" + selector: "div#operations-pet-getPetById .ReactCollapse--collapse" }, petOperationGetByIdTryBtn: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-getPetById button.try-out__btn" + selector: "div#operations-pet-getPetById button.try-out__btn" }, petOperationGetByIdExecuteBtn: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-getPetById button.execute" + selector: "div#operations-pet-getPetById button.execute" }, petOperationGetByIdParameter: { - selector: ".swagger-ui .opblock-tag-section:nth-child(3) div#operations-pet-getPetById div.parameters-col_description input" - }, + selector: "div#operations-pet-getPetById div.parameters-col_description input" + }, petOperationGetByIdResultsBox: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-getPetById pre.microlight" - }, - + selector: "div#operations-pet-getPetById pre.microlight" + }, + /** * Delete pet/ */ petOperationDeleteContainer: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-deletePet" + selector: "div#operations-pet-deletePet" }, petOperationDeleteTitle: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-deletePet .opblock-summary-delete span.opblock-summary-path span" + selector: "div#operations-pet-deletePet .opblock-summary-delete span.opblock-summary-path span" }, petOperationDeleteCollpase: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-deletePet .opblock-summary-delete" + selector: "div#operations-pet-deletePet .opblock-summary-delete" }, petOperationDeleteCollapseContainer: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-deletePet>div:nth-child(2)" + selector: "div#operations-pet-deletePet>div:nth-child(2)" }, petOperationDeleteTryBtn: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-deletePet button.try-out__btn" + selector: "div#operations-pet-deletePet button.try-out__btn" }, petOperationDeleteExecuteBtn: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-deletePet button.execute" + selector: "div#operations-pet-deletePet button.execute" }, petOperationDeleteTryTextArea: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-deletePet textarea" + selector: "div#operations-pet-deletePet textarea" }, petOperationDeleteResultsBox: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-deletePet pre.microlight" + selector: "div#operations-pet-deletePet pre.microlight" }, petOperationDeleteMockCategoryID: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-deletePet pre.microlight span:nth-child(17)" + selector: "div#operations-pet-deletePet pre.microlight span:nth-child(17)" }, petOperationDeleteMockCategoryName: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-deletePet pre.microlight span:nth-child(23)" + selector: "div#operations-pet-deletePet pre.microlight span:nth-child(23)" }, petOperationDeleteMockName: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-deletePet pre.microlight span:nth-child(31)" + selector: "div#operations-pet-deletePet pre.microlight span:nth-child(31)" }, petOperationDeleteTagID: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-deletePet pre.microlight span:nth-child(54)" + selector: "div#operations-pet-deletePet pre.microlight span:nth-child(54)" }, petOperationDeleteTagName: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-deletePet pre.microlight span:nth-child(60)" + selector: "div#operations-pet-deletePet pre.microlight span:nth-child(60)" }, petOperationDeleteStatus: { - selector: ".swagger-ui .opblock-tag-section:nth-child(1) div#operations-pet-deletePet pre.microlight span:nth-child(70)" + selector: "div#operations-pet-deletePet pre.microlight span:nth-child(70)" }, /** * ***********Store************ */ storeAPIWrapper: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2)" + selector: "div.swagger-ui div:nth-child(5) > section > div > span:nth-child(2) > div" }, storeAPIWrapperBar: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) .opblock-tag" + selector: "div.swagger-ui div:nth-child(5) > section > div > span:nth-child(2) > div .opblock-tag" }, /** * Get /store/inventory */ storeOperationGetContainer: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-getInventory" + selector: "div#operations-store-getInventory" }, storeOperationGetTitle: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-getInventory .opblock-summary-get span.opblock-summary-path span" + selector: "div#operations-store-getInventory .opblock-summary-get span.opblock-summary-path span" }, storeOperationGetCollpase: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-getInventory .opblock-summary-get" + selector: "div#operations-store-getInventory .opblock-summary-get" }, storeOperationGetCollapseContainer: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-getInventory>div:nth-child(2)" + selector: "div#operations-store-getInventory>div:nth-child(2)" }, storeOperationGetTryBtn: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-getInventory button.try-out__btn" + selector: "div#operations-store-getInventory button.try-out__btn" }, storeOperationGetExecuteBtn: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-getInventory button.execute" + selector: "div#operations-store-getInventory button.execute" }, storeOperationResponseProps1: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-getInventory pre.example.microlight span:nth-child(6)" + selector: "div#operations-store-getInventory pre.example.microlight span:nth-child(6)" }, storeOperationResponseProps2: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-getInventory pre.example.microlight span:nth-child(12)" + selector: "div#operations-store-getInventory pre.example.microlight span:nth-child(12)" }, storeOperationResponseProps3: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-getInventory pre.example.microlight span:nth-child(18)" + selector: "div#operations-store-getInventory pre.example.microlight span:nth-child(18)" }, /** * Post /store/order */ storeOperationPostContainer: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-placeOrder" + selector: "div#operations-store-placeOrder" }, storeOperationPostTitle: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-placeOrder .opblock-summary-post span.opblock-summary-path span" + selector: "div#operations-store-placeOrder .opblock-summary-post span.opblock-summary-path span" }, storeOperationPostCollpase: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-placeOrder .opblock-summary-post" + selector: "div#operations-store-placeOrder .opblock-summary-post" }, storeOperationPostCollapseContainer: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-placeOrder>div:nth-child(2)" + selector: "div#operations-store-placeOrder>div:nth-child(2)" }, storeOperationPostTryBtn: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-placeOrder button.try-out__btn" + selector: "div#operations-store-placeOrder button.try-out__btn" }, storeOperationPostExecuteBtn: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-placeOrder button.execute" + selector: "div#operations-store-placeOrder button.execute" }, storeOperationPostResponseId: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-placeOrder pre.example.microlight span:nth-child(22)" + selector: "div#operations-store-placeOrder pre.example.microlight span:nth-child(22)" }, storeOperationPostResponsePetId: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-placeOrder pre.example.microlight span:nth-child(31)" + selector: "div#operations-store-placeOrder pre.example.microlight span:nth-child(31)" }, storeOperationPostResponseQuantity: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-placeOrder pre.example.microlight span:nth-child(40)" + selector: "div#operations-store-placeOrder pre.example.microlight span:nth-child(40)" }, storeOperationPostResponseStatus: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-placeOrder pre.example.microlight span:nth-child(66)" + selector: "div#operations-store-placeOrder pre.example.microlight span:nth-child(66)" }, storeOperationPostResponseComplete: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-placeOrder pre.example.microlight span:nth-child(75)" + selector: "div#operations-store-placeOrder pre.example.microlight span:nth-child(75)" }, /** * Delete /store/order/{orderId} */ storeOperationDeleteContainer: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-deleteOrder" + selector: "div#operations-store-deleteOrder" }, storeOperationDeleteTitle: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-deleteOrder .opblock-summary-delete span.opblock-summary-path span" + selector: "div#operations-store-deleteOrder .opblock-summary-delete span.opblock-summary-path span" }, storeOperationDeleteCollpase: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-deleteOrder .opblock-summary-delete" + selector: "div#operations-store-deleteOrder .opblock-summary-delete" }, storeOperationDeleteCollapseContainer: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-deleteOrder>div:nth-child(2)" + selector: "div#operations-store-deleteOrder>div:nth-child(2)" }, storeOperationDeleteTryBtn: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-deleteOrder button.try-out__btn" + selector: "div#operations-store-deleteOrder button.try-out__btn" }, storeOperationDeleteExecuteBtn: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-deleteOrder button.execute" + selector: "div#operations-store-deleteOrder button.execute" }, storeOperationGetResponseHeaders: { - selector: ".swagger-ui .opblock-tag-section:nth-child(2) div#operations-store-deleteOrder pre span" + selector: "div#operations-store-deleteOrder pre span" }, /** * *********User************** */ userAPIWrapper: { - selector: ".swagger-ui .opblock-tag-section:nth-child(3)" + selector: "div.swagger-ui div:nth-child(5) > section > div > span:nth-child(3) > div" }, userAPIWrapperBar: { - selector: ".swagger-ui .opblock-tag-section:nth-child(3) .opblock-tag" + selector: "div.swagger-ui div:nth-child(5) > section > div > span:nth-child(3) > div .opblock-tag" }, /** * Put /user/login */ userOperationPutContainer: { - selector: ".swagger-ui .opblock-tag-section:nth-child(3) div#operations-user-updateUser" + selector: "div#operations-user-updateUser" }, userOperationPutTitle: { - selector: ".swagger-ui .opblock-tag-section:nth-child(3) div#operations-user-updateUser .opblock-summary-put span.opblock-summary-path span" + selector: "div#operations-user-updateUser .opblock-summary-put span.opblock-summary-path span" }, userOperationPutCollpase: { - selector: ".swagger-ui .opblock-tag-section:nth-child(3) div#operations-user-updateUser .opblock-summary-put" + selector: "div#operations-user-updateUser .opblock-summary-put" }, userOperationPutCollapseContainer: { - selector: ".swagger-ui .opblock-tag-section:nth-child(3) div#operations-user-updateUser>div:nth-child(2)" + selector: "div#operations-user-updateUser>div:nth-child(2)" }, userOperationPutTryBtn: { - selector: ".swagger-ui .opblock-tag-section:nth-child(3) div#operations-user-updateUser button.try-out__btn" + selector: "div#operations-user-updateUser button.try-out__btn" }, userOperationPutExecuteBtn: { - selector: ".swagger-ui .opblock-tag-section:nth-child(3) div#operations-user-updateUser button.execute" + selector: "div#operations-user-updateUser button.execute" }, userOperationPutParameter: { - selector: ".swagger-ui .opblock-tag-section:nth-child(3) div#operations-user-updateUser div.parameters-col_description input" + selector: "div#operations-user-updateUser div.parameters-col_description input" }, userOperationPutResponseHeader: { - selector: ".swagger-ui .opblock-tag-section:nth-child(3) div#operations-user-updateUser div.parameters-col_description input" + selector: "div#operations-user-updateUser div.parameters-col_description input" }, /** * Delete /user */ userOperationDeleteContainer: { - selector: ".swagger-ui .opblock-tag-section:nth-child(3) div#operations-user-deleteUser" + selector: "div#operations-user-deleteUser" }, userOperationDeleteTitle: { - selector: ".swagger-ui .opblock-tag-section:nth-child(3) div#operations-user-deleteUser .opblock-summary-delete span.opblock-summary-path span" + selector: "div#operations-user-deleteUser .opblock-summary-delete span.opblock-summary-path span" }, userOperationDeleteCollpase: { - selector: ".swagger-ui .opblock-tag-section:nth-child(3) div#operations-user-deleteUser .opblock-summary-delete" + selector: "div#operations-user-deleteUser .opblock-summary-delete" }, userOperationDeleteCollapseContainer: { - selector: ".swagger-ui .opblock-tag-section:nth-child(3) div#operations-user-deleteUser>div:nth-child(2)" + selector: "div#operations-user-deleteUser>div:nth-child(2)" }, userOperationDeleteTryBtn: { - selector: ".swagger-ui .opblock-tag-section:nth-child(3) div#operations-user-deleteUser button.try-out__btn" + selector: "div#operations-user-deleteUser button.try-out__btn" }, userOperationDeleteExecuteBtn: { - selector: ".swagger-ui .opblock-tag-section:nth-child(3) div#operations-user-deleteUser button.execute" + selector: "div#operations-user-deleteUser button.execute" }, userOperationDeleteParameter: { - selector: ".swagger-ui .opblock-tag-section:nth-child(3) div#operations-user-deleteUser div.parameters-col_description input" + selector: "div#operations-user-deleteUser div.parameters-col_description input" }, userOperationDeleteResponseHeader: { - selector: ".swagger-ui .opblock-tag-section:nth-child(3) .opblock-delete div.parameters-col_description input" + selector: "div#operations-user-deleteUser div.parameters-col_description input" }, } }, /* Model Container */ modelWrapper: { - selector: ".swagger-ui .wrapper:nth-child(4)", + selector: "div.swagger-ui > div:nth-child(2) > div:nth-child(6)", elements: { modelContainer: { selector: ".swagger-ui .models"