From 22ba9212046b33096b7a7ba3d12ab5f391f2973a Mon Sep 17 00:00:00 2001 From: Nik Tverd Date: Thu, 29 Feb 2024 18:37:20 +0600 Subject: [PATCH] feat: delay added --- .github/workflows/playwright.yml | 2 +- ...er-stories-Default-dark-chromium-linux.png | Bin 1967 -> 2055 bytes ...nder-stories-Width-dark-chromium-linux.png | Bin 2056 -> 1598 bytes .../Button/__tests__/Button.visual.test.tsx | 10 ++++++---- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index df884d9a6..a4b3adf24 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -17,7 +17,7 @@ jobs: - name: Install Playwright Browsers run: npx playwright install --with-deps - name: Run Playwright tests - run: npm run playwright + run: npm run playwright:docker env: CI: 'true' - name: Upload Playwright playwright report to GitHub Actions Artifacts diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-stories-Default-dark-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-stories-Default-dark-chromium-linux.png index 0432b16496b79b195db221f1040695f499488948..3a2cb6a44a52925a4d0dcd70626849608c39fda7 100644 GIT binary patch literal 2055 zcma)-`#TegAIB$i&8;;o7Gb(L9G57!qGfIsl1Vh?7Roi0OUr#yF1dCgow+5qxpc-% zYKeVW$4El6O@>jn#ZKm$v-1yppYuGQ&*%Na=XpLqyr0+SdFQyfILOPY$pQcXc_&9Z zcafHf`nSwl*4+UPXc>ks0RU2DC%ZEq2^CxhCLB3`Q0fOi@jKD5S$N-D z);-tY?BQbN{YP}#KYGjL8CNN*R@*;{I8dzr-t_TKnmGH{6i8JrS1UICXF#f!v-&TP z-oPWDYjq{66Ba(~bAjhBuy}N$a9Uu!#hw|@KlgHed-2#7rl|ZC%|d8F<8G`aRtl!+ zmuef@ozsmAUS47VZY9p5jX_X-`}B-{$LLmwjDm^|nH&H!_sRuIJt&;{4@>wFo75H^ zh#Y*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S*7eGQpw&rjL?rJV1Iu!1!W{f^;G0tb-_S;@o+Kn6cE?&yvQ4+++D2MCiQY#N z4w_aK+~Hs2AAMQsMF9n;)>rECLn6?%ySL>4jYZyO-th&}Od`a+Qp8RHB*9uMZ25iY4!t5L|4zHA2b1)N`pNf{T!N~ty)mvHmf zI&}$jnkhXhrwZt&Av&Vh#d;s%8a2szqh?ZC15GAB3cWfZo~_@Gc8T2 z9tH}e8#M*3%eCDrL**}TzC=&CkemtZ*piw-brarWL%{H$s)kG1$}@jT&p;-yuCdOh z>ix(Unoz36BE5~)g5t<;o+7B{nNJeKn!;GaRN~#fP7xjNcWG+B6fJ5MZTe1?{n$uB z9WP0a9=_mF@h6qEA;I?MeTe#4N#CnOKRj8kf9hsAItEu%bLLlAvA_-Q@Mc4lHC=(U9c9+pv3c-<6e%7{oSAzP7HBi?L3r)|b)Sv3CZ zX+kL0)IA~Whc4{w3`^^R(qj7hDaiwvaJ&^yA=ehVAh{cRk=zkx<8zcoduGy+F6@|r ze_rJ^{%NO!!s=YkW)6MM9QAXa8yUW^JhV#eSy>{$FtuXWiID37RFiGN$~Ol(nF^+ zNdt;^TM-lN!yb{QrzmQ!w~tR09Pbzd{-aI(g~RyV+$P-wbhCvJ4Ua{2u1+NME&kSd xsIbCRihcCxF-7|44|n54|1TK*7i9ejd_7(?jos6~^v?(ku(xrBlB@!f{|zvA&IkYi diff --git a/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-stories-Width-dark-chromium-linux.png b/src/components/Button/__snapshots__/Button.visual.test.tsx-snapshots/Button-render-stories-Width-dark-chromium-linux.png index c28a6efc30f7fe4a871faf5f4d81f2977c1bdc56..cde905859ffe024743005a3e242b6e176034c2e0 100644 GIT binary patch literal 1598 zcmbtVXHb&~5dEYGM*t~GB2_wqNNCcc^fn-h7o-S;ASy*_3;{Wcjx-5!6a|hD(I`SF zfkZ$-zyLxhp#+DP14Ir&BuJN{gu@wc&Yw4PKX%{j?#%w!dGBrdMHhP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b3UchBYZ2X-f+H1Cg#UTrJ`vc;G%c_*uj~Ks;ZQwMr^|)M)kNaym7@zo3J@$g%hnN&PsW9FhO<(?7eA05VPjkdW?Eu`s3Ru22H zs%q&EwK#P{Ggd`z-?4+2C_JmVCAo(WQ_wfU_7Y6i;<6gm&xcZ<3azp66BGH_On1)U zP<}tjk&-eOo7mtVD)*K<`;1okn4?hMKz*&DcK<59KeYzLD&JND}vH^=mlqCNLD$;*HOr9jZyC4&eo7R$cISqo`nM@_~@tEik!D39>`7w{I?F89Y7$;&3kG0a}?Aw}4?jjWi^dKNy{LNpj zO*LggYv1&)?48Pl2rIqmZL+Zmx^J3MFCPYCC9yfV`DsG|uPD=O)X$0cQNw?4&^5Kq zND_MN%c3=%b?-5Q2`U%{-JslT8#B;tiOQ7h+`Nff{Eoh!u9LN7!u?coBW>N*!ooqC ziyc`VE(96^t_l{yN+@A{hre7u=9=b;-+WIWBbt%46H<&IGQ_JZ|C;Ziv__BtCK1p^XH4 zSLm71)e9=pXk2BDv9=imw*k-0^q)05#LXnV%D);B@#x|aG^5{8AH0R3z4YYZ`;W^m zg2#L9nYT6@xI%1 { - test('render stories ', async ({mount, expectScreenshot}) => { + test('render stories ', async ({page, mount, expectScreenshot}) => { await mount(); - + await page.waitForTimeout(1000); await expectScreenshot(); }); - test('render stories ', async ({mount, expectScreenshot}) => { + test('render stories ', async ({page, mount, expectScreenshot}) => { await mount(); + await page.waitForTimeout(1000); await expectScreenshot(); }); - test('render stories ', async ({mount, expectScreenshot}) => { + test('render stories ', async ({page, mount, expectScreenshot}) => { await mount(); + await page.waitForTimeout(1000); await expectScreenshot(); });