test: fix custom properties spec (#16732)

This commit is contained in:
Sachin Chaurasiya 2024-06-20 15:07:27 +05:30 committed by GitHub
parent c9a017d8db
commit 1ad1d820d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -523,9 +523,9 @@ export const editCreatedProperty = (propertyName: string, type?: string) => {
/**
* @link https://docs.cypress.io/guides/references/configuration#Timeouts
* default responseTimeout is 30000ms which is not enough for the patch request
* so we need to increase the responseTimeout to 50000ms
* so we need to increase the responseTimeout to 70000ms for AUT environment in PATCH request
*/
cy.wait('@checkPatchForDescription', { responseTimeout: 50000 });
cy.wait('@checkPatchForDescription', { responseTimeout: 70000 });
cy.get('.ant-modal-wrap').should('not.exist');