diff --git a/test-projects/access-control/cypress/integration/field/admin-ui.js b/test-projects/access-control/cypress/integration/field/admin-ui.js index d67b8ae58d1..419af1fc5d9 100644 --- a/test-projects/access-control/cypress/integration/field/admin-ui.js +++ b/test-projects/access-control/cypress/integration/field/admin-ui.js @@ -203,14 +203,14 @@ describe('Access Control Fields > Admin UI', () => { }); }); - it('does not show non-updatable inputs', () => { + it('show non-updatable inputs as disabled', () => { fieldAccessVariations .filter(({ update, read }) => !update && read) .forEach(access => { const field = getFieldName(access); cy.get(`label[for="ks-input-${field}"]`) - .should('not.exist') - .then(() => cy.get(`#ks-input-${field}`).should('not.exist')); + .should('exist') + .then(() => cy.get(`#ks-input-${field}`).should('be.disabled')); }); });