diff --git a/packages/strapi-plugin-content-type-builder/test/front/integration/createApi_specs.js b/packages/strapi-plugin-content-type-builder/test/front/integration/createApi_specs.js index 2739bafd37..5611fc04be 100644 --- a/packages/strapi-plugin-content-type-builder/test/front/integration/createApi_specs.js +++ b/packages/strapi-plugin-content-type-builder/test/front/integration/createApi_specs.js @@ -152,7 +152,7 @@ describe('Test CTB', () => { cy.get('#attributesList li') .first() - .should('have.text', 'updatedNameString'); + .contains('updatedName'); // Yield el in .nav containing 'About' cy.get('button#saveData') .click()