From a01b4318176217eced51d81b85df8d2d57ac87b9 Mon Sep 17 00:00:00 2001 From: pankaj443 Date: Thu, 18 Jul 2024 12:33:15 +0530 Subject: [PATCH] Fix tests --- test/storybook.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/storybook.test.js b/test/storybook.test.js index 1cbcc3f7..e20f4f9b 100644 --- a/test/storybook.test.js +++ b/test/storybook.test.js @@ -221,8 +221,6 @@ describe('percy storybook', () => { // contains logs of story error expect(logger.stderr).toEqual([ - '[percy] Retrying Story: foo: bar', - '[percy] Retrying Story: foo: bar', '[percy] Failed to capture story: foo: bar', // error logs contain the client stack trace jasmine.stringMatching(/^\[percy\] Error: Story Error\n.*\/iframe\.html.*$/s), @@ -271,6 +269,8 @@ describe('percy storybook', () => { // contains logs of story error expect(logger.stderr).toEqual([ + '[percy] Retrying Story: foo: bar', + '[percy] Retrying Story: foo: bar', '[percy] Failed to capture story: foo: bar', // error logs contain the client stack trace jasmine.stringMatching(/^\[percy\] Error: Story Error\n.*\/iframe\.html.*$/s),