From e13d0d417485731ba1c0c01dbbcf03a0aca64c8c Mon Sep 17 00:00:00 2001 From: aDeve Date: Wed, 12 Dec 2018 13:56:21 +0100 Subject: [PATCH] fix content type builder cypress test: add contains --- .../test/front/integration/createApi_specs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()