fix(cypress): oas3-request-body-required flakineess (#6583)

This commit is contained in:
Tim Lai
2020-11-03 10:38:49 -08:00
committed by GitHub
parent 45f0374a1f
commit 64ae7af565

View File

@@ -41,6 +41,7 @@ describe("OpenAPI 3.0 Validation for Required Request Body and Request Body Fiel
// Execute // Execute
.get(".execute.opblock-control__btn") .get(".execute.opblock-control__btn")
.click() .click()
.get(".opblock-body .opblock-section .opblock-section-request-body .parameters:nth-child(1) > .parameters-col_description input")
.should("not.have.class", "invalid") .should("not.have.class", "invalid")
// cURL component should exist // cURL component should exist
.get(".responses-wrapper .curl-command") .get(".responses-wrapper .curl-command")