diff --git a/tasks/e2e/cypress/integration/03-storybook/storybook.spec.js b/tasks/e2e/cypress/integration/03-storybook/storybook.spec.js index 58ac28b8f741..7c92f8e3e8b3 100644 --- a/tasks/e2e/cypress/integration/03-storybook/storybook.spec.js +++ b/tasks/e2e/cypress/integration/03-storybook/storybook.spec.js @@ -32,14 +32,14 @@ describe( Step2_2_BlogPostsCellMock ) + // Slow! cy.exec(`cd ${BASE_DIR}; yarn rw storybook --build`, { timeout: 300_0000, - }) // Slow! - .its('stderr') - .should('eq', '') - .and() - .its('code') - .should('eq', 0) + }).then((result) => { + const { code, stderr } = result + expect(code).to.eq(0) + expect(stderr).to.not.contain('ERR!') + }) }) it('1. Component: BlogPost', () => {