소스 검색

fix: bugs/4641 use wait on route alias (#6048)

bubble
Tim Lai 4 년 전
committed by GitHub
부모
커밋
5bbd3e71bd
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -3
      test/e2e-cypress/tests/bugs/4641.js

+ 3
- 3
test/e2e-cypress/tests/bugs/4641.js 파일 보기

@@ -45,7 +45,7 @@ describe("#4641: The Logout button in Authorize popup not clearing API Key", ()
.get("#operations-default-get_4641_1") // expand the route details onClick
.click()
.within(clickTryItOutAndExecute)
.get("@request")
.wait("@request")
.its("request")
.then((req) => {
expect(req.headers, "request headers").to.have.property("api_key_1", "my_api_key")
@@ -66,7 +66,7 @@ describe("#4641: The Logout button in Authorize popup not clearing API Key", ()
.get("#operations-default-get_4641_1") // expand the route details onClick
.click()
.within(clickTryItOutAndExecute)
.get("@request")
.wait("@request")
.its("request")
.then((req) => {
expect(req.headers, "request headers").not.to.have.property("api_key_1")
@@ -89,7 +89,7 @@ describe("#4641: The Logout button in Authorize popup not clearing API Key", ()
.get("#operations-default-get_4641_2") // expand the route details onClick
.click()
.within(clickTryItOutAndExecute)
.get("@request")
.wait("@request")
.its("request")
.then((req) => {
expect(req.headers, "request headers").not.to.have.property("api_key_1")


불러오는 중...
취소
저장