瀏覽代碼

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

bubble
Tim Lai 3 年之前
committed by GitHub
父節點
當前提交
64ae7af565
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      test/e2e-cypress/tests/features/oas3-request-body-required.js

+ 1
- 0
test/e2e-cypress/tests/features/oas3-request-body-required.js 查看文件

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


Loading…
取消
儲存