Skip to content

Commit 198c889

Browse files
Add explicit status code assertion for Add Zone API
1 parent 712ba21 commit 198c889

File tree

1 file changed

+3
-0
lines changed
  • cypress/e2e/ui/Settings/Application-Settings

1 file changed

+3
-0
lines changed

cypress/e2e/ui/Settings/Application-Settings/zone.cy.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ function addZone() {
7575
})
7676
.should('be.enabled')
7777
.click(),
78+
onApiResponse: (interception) => {
79+
expect(interception.response.statusCode).to.equal(200);
80+
},
7881
});
7982
return cy.then(() => {
8083
return `Zone: ${INITIAL_ZONE_DESCRIPTION}`;

0 commit comments

Comments
 (0)