diff --git a/packages/volto/cypress/tests/core/controlpanels/dexterity-controlpanel-schema.js b/packages/volto/cypress/tests/core/controlpanels/dexterity-controlpanel-schema.js index f3f853e4ba..296f071a6a 100644 --- a/packages/volto/cypress/tests/core/controlpanels/dexterity-controlpanel-schema.js +++ b/packages/volto/cypress/tests/core/controlpanels/dexterity-controlpanel-schema.js @@ -29,7 +29,7 @@ describe('ControlPanel: Dexterity Content-Types Schema', () => { // Add field cy.get('button[id=addfield]').click(); cy.wait(2000); - cy.get('.modal .react-select-container').click().type('Choice{enter}'); + cy.get('.modal div[id="field-factory"]').click().type('Choice{enter}'); cy.get('.modal input[id="field-title"]') .type('Color') .should('have.value', 'Color');