From c6cc8bb8aa5c8c03d66d1c05ff9a4cca2f7528d1 Mon Sep 17 00:00:00 2001 From: Peter Colapietro Date: Tue, 5 Oct 2021 11:57:03 -0400 Subject: [PATCH] chore: take in changes from #3509 to illustrate build failures --- .../cypress/integration/03-storybook/storybook.spec.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tasks/e2e/cypress/integration/03-storybook/storybook.spec.js b/tasks/e2e/cypress/integration/03-storybook/storybook.spec.js index 7ceb47dab876..7c92f8e3e8b3 100644 --- a/tasks/e2e/cypress/integration/03-storybook/storybook.spec.js +++ b/tasks/e2e/cypress/integration/03-storybook/storybook.spec.js @@ -32,11 +32,14 @@ describe( Step2_2_BlogPostsCellMock ) + // Slow! cy.exec(`cd ${BASE_DIR}; yarn rw storybook --build`, { timeout: 300_0000, - }) // Slow! - .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', () => {