From 9db9287854b31e29f3b6dfe659630252b01a4622 Mon Sep 17 00:00:00 2001 From: "bernardo.cardoso" Date: Tue, 10 Dec 2024 17:26:43 +0000 Subject: [PATCH 1/3] add focus on segment Ionic theme --- .../components/segment-button/segment-button.ionic.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/src/components/segment-button/segment-button.ionic.scss b/core/src/components/segment-button/segment-button.ionic.scss index c5e45aba653..70ed7dbe468 100644 --- a/core/src/components/segment-button/segment-button.ionic.scss +++ b/core/src/components/segment-button/segment-button.ionic.scss @@ -79,6 +79,13 @@ color: var(--color-disabled); } +// Segment Button: Focused +// -------------------------------------------------- + +:host(.ion-focused) .button-inner { + @include globals.focused-state(); +} + // Segment Button: Indicator // -------------------------------------------------- From b1a97121b5a5c096a2492f263928c8385aa4d6a4 Mon Sep 17 00:00:00 2001 From: "bernardo.cardoso" Date: Tue, 10 Dec 2024 17:51:59 +0000 Subject: [PATCH 2/3] added segment test and snapshots --- .../segment/test/states/segment.e2e.ts | 29 ++++++++++++++++++ ...ionic-md-ltr-light-Mobile-Chrome-linux.png | Bin 0 -> 4496 bytes ...onic-md-ltr-light-Mobile-Firefox-linux.png | Bin 0 -> 5156 bytes ...ionic-md-ltr-light-Mobile-Safari-linux.png | Bin 0 -> 3947 bytes 4 files changed, 29 insertions(+) create mode 100644 core/src/components/segment/test/states/segment.e2e.ts create mode 100644 core/src/components/segment/test/states/segment.e2e.ts-snapshots/segment-focused-ionic-md-ltr-light-Mobile-Chrome-linux.png create mode 100644 core/src/components/segment/test/states/segment.e2e.ts-snapshots/segment-focused-ionic-md-ltr-light-Mobile-Firefox-linux.png create mode 100644 core/src/components/segment/test/states/segment.e2e.ts-snapshots/segment-focused-ionic-md-ltr-light-Mobile-Safari-linux.png diff --git a/core/src/components/segment/test/states/segment.e2e.ts b/core/src/components/segment/test/states/segment.e2e.ts new file mode 100644 index 00000000000..1d01b05d7fa --- /dev/null +++ b/core/src/components/segment/test/states/segment.e2e.ts @@ -0,0 +1,29 @@ +import { expect } from '@playwright/test'; +import { configs, test } from '@utils/test/playwright'; + +configs({ modes: ['ionic-md'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => { +test.describe(title('segment: states'), () => { + test('should render focused segment correctly', async ({ page }) => { + await page.setContent( + ` + + + Bookmarks + + + Reading List + + + Shared Links + + + `, + config + ); + + const segment = page.locator('ion-segment'); + + await expect(segment).toHaveScreenshot(screenshot(`segment-focused`)); + }); + }); +}); \ No newline at end of file diff --git a/core/src/components/segment/test/states/segment.e2e.ts-snapshots/segment-focused-ionic-md-ltr-light-Mobile-Chrome-linux.png b/core/src/components/segment/test/states/segment.e2e.ts-snapshots/segment-focused-ionic-md-ltr-light-Mobile-Chrome-linux.png new file mode 100644 index 0000000000000000000000000000000000000000..f523a360c9320c05fcfceab7f031ef072792734b GIT binary patch literal 4496 zcmb7IXE>bC*M5*h?_I3&Bgm>@L-eQ#(WCbgt3?Td=#e0ZUN&|SUG$J3dJCc~*6MAE zEI|^YTkU<`->3I_|DXQzVV>ujYi6#QbMABQdrq8z-UDh14hjGOsI?xd8vy`O9QZFm zMhx~I)bwlMhse+9fhtfl%DD*u^x9hLD#k%Mzn4Oc8E0C6U2g&Xy+}Ht59S^X9RQxJ za6I^h#bN%N4-K;=`IME14NTR{)vC;hcXs!Wu2qa{#sSvzM9nfM%p=r6kgy|JPWwwH`|N6l*4@% z)SHB#*6bwSg$g(|pICUq3|6{!{2P|OK9R()uV-ase3)`iefVQzgO!;Xzp`R4jdDRF zGqbX!{eK$VGzt6ry>D$GnOi=f>ab^heZ4*8xWBLO@Xu1~;ob%pF*!N;<5HdMJ5Di) zmS?bqb=~LBpTBtV!uH=L-g&-PZPn!H}h#BMxnx`KEB+r_8A5@T=Qd4*w|hb zyMq*aq?x0xzQkJZz!l*x9&9|8^JQL-@bMH9dr&e)rISe^5c=t8Y;r+yy4nhno-XCJ z_(dauMfaTqub`mI@A(GBS+4X!|D#`XrKP3P!w6BUMmKCJm%H)V(@V&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FsjfO9@t}&le7WTJkjbM&ztr8urE1)jtepEy zEI=#*+C%Pj*68CBM`dkpY@nhq98LS3#RYMjmaGC0Y|AT=3-cEO<0ZCu9==&p%p_tO zBomEE3JsKgdqOXWgUf|mx3-q|AEoEMdCB}^Kk+J%H4spA`V52Sr!sFDY+c+&yN^gG zq&&KG3X$m3M}?a2d7`;#dg^5 z5@J+{*>_p!e?8>+?tdiAqL?Gi&g{2f{|tgiyoq|S8SB`kO#c5rDbA#%rpCHMgsHSC mqTR0vcmL3mnb2+dd3KHlfqL8Ut`(e>0RW?@u23d#8vH*hsh?2* literal 0 HcmV?d00001 From bc4ff95ccf6d63dd1287fee2363145fab2c91308 Mon Sep 17 00:00:00 2001 From: "bernardo.cardoso" Date: Tue, 10 Dec 2024 18:00:45 +0000 Subject: [PATCH 3/3] fix lint --- .../components/segment/test/states/segment.e2e.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/core/src/components/segment/test/states/segment.e2e.ts b/core/src/components/segment/test/states/segment.e2e.ts index 1d01b05d7fa..9f63b5c68b0 100644 --- a/core/src/components/segment/test/states/segment.e2e.ts +++ b/core/src/components/segment/test/states/segment.e2e.ts @@ -2,9 +2,9 @@ import { expect } from '@playwright/test'; import { configs, test } from '@utils/test/playwright'; configs({ modes: ['ionic-md'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => { -test.describe(title('segment: states'), () => { + test.describe(title('segment: states'), () => { test('should render focused segment correctly', async ({ page }) => { - await page.setContent( + await page.setContent( ` @@ -19,11 +19,11 @@ test.describe(title('segment: states'), () => { `, config - ); + ); - const segment = page.locator('ion-segment'); + const segment = page.locator('ion-segment'); - await expect(segment).toHaveScreenshot(screenshot(`segment-focused`)); + await expect(segment).toHaveScreenshot(screenshot(`segment-focused`)); }); - }); -}); \ No newline at end of file + }); +});