Curl test fix
This commit is contained in:
parent
20e64a6674
commit
b8e367dacd
|
|
@ -14,9 +14,8 @@ describe("Test curl import flow", function() {
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
cy.importCurl();
|
cy.importCurl();
|
||||||
cy.xpath(apiwidget.EditApiName).should("be.visible");
|
|
||||||
cy.RunAPI();
|
cy.RunAPI();
|
||||||
cy.ResponseStatusCheck("200 OK");
|
cy.ResponseStatusCheck("201 CREATED");
|
||||||
cy.get("@curlImport").then(response => {
|
cy.get("@curlImport").then(response => {
|
||||||
cy.expect(response.response.body.responseMeta.success).to.eq(true);
|
cy.expect(response.response.body.responseMeta.success).to.eq(true);
|
||||||
cy.get(apiwidget.ApiName)
|
cy.get(apiwidget.ApiName)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user