Skip to content

Commit

Permalink
try re-adding wait for network
Browse files Browse the repository at this point in the history
  • Loading branch information
cconard96 committed Nov 29, 2024
1 parent 61603b5 commit 73ca55c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/cypress/e2e/Asset/custom_fields.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ describe("Custom Assets - Custom Fields", () => {
}

cy.findByRole('button', {name: 'Add'}).click();
cy.waitForNetworkIdle('/front/asset/customfielddefinition.form.php', 100);
});
cy.findByRole('button', {name: 'Create new field'}).siblings('.modal').should('not.be.visible');
cy.get(`.sortable-field[data-key="custom_${label.toLowerCase().replace(' ', '_')}"]`).should('be.visible');
Expand Down

0 comments on commit 73ca55c

Please sign in to comment.