From 57d86831f47b7aed4333dc86037b1a4e1887eead Mon Sep 17 00:00:00 2001 From: zoobestik Date: Thu, 24 Aug 2023 01:54:19 +0200 Subject: [PATCH] test(KTL-1189); add highlight only tests --- .../basics.e2e.ts-basics-highlight-only-1.png | Bin 0 -> 9718 bytes .../basics.e2e.ts-basics-highlight-only-1.png | Bin 0 -> 9115 bytes .../basics.e2e.ts-basics-highlight-only-1.png | Bin 0 -> 22287 bytes .../basics.e2e.ts-basics-highlight-only-1.png | Bin 0 -> 23479 bytes tests/basics.e2e.ts | 17 +++++++++++++++++ 5 files changed, 17 insertions(+) create mode 100644 tests/__screenshots__/dev/Desktop-Chrome/basics.e2e.ts-basics-highlight-only-1.png create mode 100644 tests/__screenshots__/github_linux/Desktop-Chrome/basics.e2e.ts-basics-highlight-only-1.png create mode 100644 tests/__screenshots__/github_linux/Desktop-Firefox/basics.e2e.ts-basics-highlight-only-1.png create mode 100644 tests/__screenshots__/github_mac/Desktop-Safari/basics.e2e.ts-basics-highlight-only-1.png diff --git a/tests/__screenshots__/dev/Desktop-Chrome/basics.e2e.ts-basics-highlight-only-1.png b/tests/__screenshots__/dev/Desktop-Chrome/basics.e2e.ts-basics-highlight-only-1.png new file mode 100644 index 0000000000000000000000000000000000000000..81179713f296a01d32e3100cbddf26a666d73d2d GIT binary patch literal 9718 zcmeHNc~nzZw~w_-TLC{mKSflCEfnfU0hOr;A+^-fh(If?hzQXJh>CzFkPt`+mgiK3 z2q<$Btq7$E5uzYuqD~N|C{x0efDB;>1Ok~L!@HNh_x^ity+8V`_10Ttt-H>-x##S= z_rCl5_HUniZ+sW%XZF#~k020;8RFZok3k?CfbM&5KG+B}0@BcNpjn4K=Jyq(s$=&Q z1hNN$`1;TfNyV}u(qmyFRlOkmBmK7zCjZF6JlHFK{7t&ZO?>fk`Msw<;jgxrPTXON zTx)xO3-Aqz$|Z{?apCReQLMPo4_SpV8y{{A{VZa8BrE*advX8#W%r$3>*}{$e;{2R z-GQ;WXnxy7>}~Cms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zJv z=GNX{cu0uYZ#Y|afz$~X3DV9%wtm;|Dn1%w$G?Bgy1&Op=FZc+a>lLDGEAWC9_PNf z-}T8$&4<=+yr49!(x75bOWX@HmYX3~UdWnGd$CzEo8kimIg1noNKFGMN9xLeq~on0 zbf^dQ_y#z8Ly_(=xCa7Z34AOdaHCd$SFW(vstJ)MZjbqwq6c>rE$w2onzr6Iub#cY>*!k^m(kDK}{)(<1> zsdr4E#C<@Xmrs8W4n9qJ5@OQ0AN6`{Jyi2$Apka66ykr~J`feM`LRQ^fJTMthE22` zcy10)Kfs%vzVzo@CNTG0SLrxd^#aV|?SCq8j$!y{zW-@V7msYLvIav0R5uoKAtt7^ z*b@t8zA9_5O8C=?Vz-#%%S%%^0K45|fh1lEp{!0xdBjmzrrA>yjsbNe-_^sTEJZyR z4qM%ikyQh3OKMzalB9xyauOONwA)UDy?dzlzXaRQjzU1+r#=4*Pj`A@j>XKxuoAKW zhBKEm&Viex3Pe6g*Zd zOuq!L{3}%a3$0xfwf2nGLi8^Ok+o&Dwyf5c)!MT9YpKZ^s;r^P8mg?J%Kt4?;gz3! z34AF~0)7jyR`2`^D$+IBUxWSs4eV=-v!ctUfUg?&kY`eeSGGWIefTAC3fZwW4Q%$= zt$wm{`X~h4)NaiGbMIvTpYKOe@2$Sud;R_%aOm2^|Ci3$e#+z??Bw_R!I!HL#NoiN KtG+t@^S=X_Adc+- literal 0 HcmV?d00001 diff --git a/tests/__screenshots__/github_linux/Desktop-Chrome/basics.e2e.ts-basics-highlight-only-1.png b/tests/__screenshots__/github_linux/Desktop-Chrome/basics.e2e.ts-basics-highlight-only-1.png new file mode 100644 index 0000000000000000000000000000000000000000..0884faf4c5fa8e70dd581f0ed2a15b82745c9288 GIT binary patch literal 9115 zcmeI2X;f3mm%xL#bZaZ7kwrnU!Lw zip=4T1_oyeUQF|~?$2NP>X1Xy7TTpGr>5?m9tEnujK17;JvZE?+O4>F*G`k@Pd(+f zjxTae(1rDSx!vCn!NYY--WSW&yIt_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_z z=1W8)#ilDOvQ#ygt3{iso@Q}xC23zfXhfqg$@@vRY8J*bA08}!p1MdQcNZM$CDT~p z)=B_t|BXc@)%M^a7+Qn!@!v1j0XX2k0l9CHok;G?1sof5ap*;S=K<1x=!1QHg+*dd z2JDpApni@~US!OUt+~MH39o7GMO>m#j)De2;%5&oGUmNsOdvgX-b^^mJMg=)^E`+{ z=u&RTB4ZxBg@TsvEqIR+h2$#RMvw?3mk*D8A8P)tV0Ew_^Dt{dY!;2maunFums$6g zyvVD7p%dVk9cfnv7Ae`!Lu7WAgF6)JxR|1VI19~hZF~a;f|EbLh+Ylaz*sMn(FMW@ zW0GTxg@>SYy4pLbYO~x$b}04I+yvsOJOB81W2?d`Kz$|IbCHMSQK6zZN13>Sn;r~E zIVO4yoMPGck>}kco?>B)iyieNhlwL<9xC4qG4y_VQi*X^wg%}rNTzqT8i)FLOTV1h^66+{&IVnn!VqA!EA;yIm7vH3V_$`e1EsVIF z{NE`juO;aY0DuDS>;D3XKQNn@@#sFfy4Kfe9>*HU*Wh_~?FE#g!77KHzqfh097clPD| UgZh~u$bnyuS{x}obpE%008wYC`~Uy| literal 0 HcmV?d00001 diff --git a/tests/__screenshots__/github_mac/Desktop-Safari/basics.e2e.ts-basics-highlight-only-1.png b/tests/__screenshots__/github_mac/Desktop-Safari/basics.e2e.ts-basics-highlight-only-1.png new file mode 100644 index 0000000000000000000000000000000000000000..bc2ecde8445e99e340ec496fd13d11d8d2ffac37 GIT binary patch literal 23479 zcmeHPXIN9&);<&!E2v```i!HfAYcO#DT*BxhZgC~Fu_6-A_)*ekx^6}u}}nr=qN=L zA}s+z3O1A|K@|_c^(G z^2DK~i?kO30I>AP;r-44Fb_ObZPu6%zEM#OckoRG=6q-$P}-zB2!7ZPJ#{4T_;Fw} zc&q`aB%cM;XS;weZSVyEYWGzDHSk?!_PhJ4|8AWJ+*kYev1;>d$AER@Y5=eYj_lv- z8l^JKh<@e+%`)pr{UyPEpTcL(99Lue>>V(dX}xSM&2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ff --git a/tests/basics.e2e.ts b/tests/basics.e2e.ts index 808a813a..63699e8b 100644 --- a/tests/basics.e2e.ts +++ b/tests/basics.e2e.ts @@ -27,6 +27,23 @@ test.describe('basics', () => { await prepareNetwork(page, baseURL); // offline mode }); + test('highlight only', async ({ page }) => { + await gotoHtmlWidget( + page, + { selector: 'code' }, + `${printlnCode('Hello, world!')}`, + ); + + const editor = page.locator(WIDGET_SELECTOR); + + await expect(editor).toHaveCount(1); // playground loaded + await expect(editor.locator(TARGET_SELECTOR)).not.toBeVisible(); // default target JVN + await expect(editor.locator(VERSION_SELECTOR)).not.toBeVisible(); // latest version marker + await expect(editor.locator(RUN_SELECTOR)).not.toBeVisible(); + + await expectScreenshot(page, 'highlight view'); + }); + test('simple usage', async ({ page }) => { await gotoHtmlWidget( page,