@ionic/core 7.3.2 → 7.3.3-dev.11693533652.1969cc78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/components/action-sheet.js +8 -16
  2. package/components/alert.js +8 -16
  3. package/components/framework-delegate.js +21 -2
  4. package/components/ion-loading.js +8 -16
  5. package/components/ion-modal.js +21 -29
  6. package/components/ion-picker.js +8 -16
  7. package/components/ion-router-outlet.js +1 -0
  8. package/components/ion-toast.js +8 -16
  9. package/components/label.js +2 -2
  10. package/components/lock-controller.js +38 -0
  11. package/components/popover.js +15 -29
  12. package/dist/cjs/{framework-delegate-e8174951.js → framework-delegate-c0873a6f.js} +21 -2
  13. package/dist/cjs/index.cjs.js +2 -2
  14. package/dist/cjs/ion-action-sheet.cjs.entry.js +10 -18
  15. package/dist/cjs/ion-alert.cjs.entry.js +10 -18
  16. package/dist/cjs/ion-app_8.cjs.entry.js +2 -1
  17. package/dist/cjs/ion-datetime_3.cjs.entry.js +10 -18
  18. package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
  19. package/dist/cjs/ion-loading.cjs.entry.js +10 -18
  20. package/dist/cjs/ion-menu_3.cjs.entry.js +2 -2
  21. package/dist/cjs/ion-modal.cjs.entry.js +23 -31
  22. package/dist/cjs/ion-nav_2.cjs.entry.js +1 -1
  23. package/dist/cjs/ion-popover.cjs.entry.js +17 -31
  24. package/dist/cjs/ion-select_3.cjs.entry.js +2 -2
  25. package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
  26. package/dist/cjs/ion-toast.cjs.entry.js +10 -18
  27. package/dist/cjs/lock-controller-4ae2eb59.js +40 -0
  28. package/dist/cjs/{overlays-0ea06fcb.js → overlays-5c1706ed.js} +1 -1
  29. package/dist/collection/components/action-sheet/action-sheet.js +8 -16
  30. package/dist/collection/components/alert/alert.js +8 -16
  31. package/dist/collection/components/checkbox/test/color/checkbox.e2e.js +2 -2
  32. package/dist/collection/components/checkbox/test/item/checkbox.e2e.js +4 -4
  33. package/dist/collection/components/checkbox/test/label/checkbox.e2e.js +10 -10
  34. package/dist/collection/components/checkbox/test/legacy/basic/checkbox.e2e.js +1 -1
  35. package/dist/collection/components/checkbox/test/legacy/indeterminate/checkbox.e2e.js +1 -1
  36. package/dist/collection/components/checkbox/test/states/checkbox.e2e.js +4 -4
  37. package/dist/collection/components/datetime/test/custom/datetime.e2e.js +0 -7
  38. package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +48 -17
  39. package/dist/collection/components/input/test/bottom-content/input.e2e.js +7 -7
  40. package/dist/collection/components/input/test/card/input.e2e.js +1 -1
  41. package/dist/collection/components/input/test/color/input.e2e.js +15 -15
  42. package/dist/collection/components/input/test/fill/input.e2e.js +10 -10
  43. package/dist/collection/components/input/test/highlight/input.e2e.js +9 -9
  44. package/dist/collection/components/input/test/item/input.e2e.js +2 -2
  45. package/dist/collection/components/input/test/label-placement/input.e2e.js +16 -16
  46. package/dist/collection/components/input/test/legacy/basic/input.e2e.js +10 -10
  47. package/dist/collection/components/input/test/states/input.e2e.js +2 -2
  48. package/dist/collection/components/label/label.ios.css +2 -4
  49. package/dist/collection/components/label/label.md.css +2 -4
  50. package/dist/collection/components/loading/loading.js +8 -16
  51. package/dist/collection/components/modal/modal.js +21 -29
  52. package/dist/collection/components/picker/picker.js +8 -16
  53. package/dist/collection/components/popover/popover.js +15 -29
  54. package/dist/collection/components/popover/test/async/popover.e2e.js +42 -0
  55. package/dist/collection/components/radio/test/color/radio.e2e.js +2 -2
  56. package/dist/collection/components/radio/test/item/radio.e2e.js +3 -3
  57. package/dist/collection/components/radio/test/label-placement/radio.e2e.js +9 -9
  58. package/dist/collection/components/radio/test/states/radio.e2e.js +4 -4
  59. package/dist/collection/components/range/test/color/range.e2e.js +1 -1
  60. package/dist/collection/components/range/test/custom/range.e2e.js +1 -1
  61. package/dist/collection/components/range/test/item/range.e2e.js +3 -3
  62. package/dist/collection/components/range/test/label/range.e2e.js +12 -12
  63. package/dist/collection/components/range/test/legacy/a11y/range.e2e.js +3 -3
  64. package/dist/collection/components/range/test/legacy/active-bar-start/range.e2e.js +1 -1
  65. package/dist/collection/components/range/test/legacy/basic/range.e2e.js +1 -1
  66. package/dist/collection/components/range/test/states/range.e2e.js +4 -4
  67. package/dist/collection/components/router-outlet/router-outlet.js +1 -0
  68. package/dist/collection/components/select/test/card/select.e2e.js +1 -1
  69. package/dist/collection/components/select/test/color/select.e2e.js +3 -3
  70. package/dist/collection/components/select/test/fill/select.e2e.js +10 -10
  71. package/dist/collection/components/select/test/highlight/select.e2e.js +3 -3
  72. package/dist/collection/components/select/test/item/select.e2e.js +2 -2
  73. package/dist/collection/components/select/test/label/select.e2e.js +20 -20
  74. package/dist/collection/components/select/test/states/select.e2e.js +4 -4
  75. package/dist/collection/components/textarea/test/bottom-content/textarea.e2e.js +6 -6
  76. package/dist/collection/components/textarea/test/card/textarea.e2e.js +1 -1
  77. package/dist/collection/components/textarea/test/color/textarea.e2e.js +15 -15
  78. package/dist/collection/components/textarea/test/fill/textarea.e2e.js +10 -10
  79. package/dist/collection/components/textarea/test/highlight/textarea.e2e.js +9 -9
  80. package/dist/collection/components/textarea/test/item/textarea.e2e.js +2 -2
  81. package/dist/collection/components/textarea/test/label-placement/textarea.e2e.js +21 -21
  82. package/dist/collection/components/textarea/test/legacy/autogrow/textarea.e2e.js +5 -5
  83. package/dist/collection/components/textarea/test/states/textarea.e2e.js +2 -2
  84. package/dist/collection/components/toast/toast.js +8 -16
  85. package/dist/collection/components/toggle/test/color/toggle.e2e.js +2 -2
  86. package/dist/collection/components/toggle/test/item/toggle.e2e.js +4 -4
  87. package/dist/collection/components/toggle/test/label/toggle.e2e.js +9 -9
  88. package/dist/collection/components/toggle/test/legacy/enable-on-off-labels/toggle.e2e.js +2 -2
  89. package/dist/collection/components/toggle/test/legacy/sizes/toggle.e2e.js +1 -1
  90. package/dist/collection/components/toggle/test/states/toggle.e2e.js +3 -3
  91. package/dist/collection/utils/framework-delegate.js +21 -2
  92. package/dist/collection/utils/lock-controller.js +36 -0
  93. package/dist/docs.json +1 -1
  94. package/dist/esm/{framework-delegate-2b76c681.js → framework-delegate-aa433dea.js} +21 -2
  95. package/dist/esm/index.js +2 -2
  96. package/dist/esm/ion-action-sheet.entry.js +10 -18
  97. package/dist/esm/ion-alert.entry.js +10 -18
  98. package/dist/esm/ion-app_8.entry.js +2 -1
  99. package/dist/esm/ion-datetime_3.entry.js +10 -18
  100. package/dist/esm/ion-item_8.entry.js +2 -2
  101. package/dist/esm/ion-loading.entry.js +10 -18
  102. package/dist/esm/ion-menu_3.entry.js +2 -2
  103. package/dist/esm/ion-modal.entry.js +23 -31
  104. package/dist/esm/ion-nav_2.entry.js +1 -1
  105. package/dist/esm/ion-popover.entry.js +17 -31
  106. package/dist/esm/ion-select_3.entry.js +2 -2
  107. package/dist/esm/ion-tab_2.entry.js +1 -1
  108. package/dist/esm/ion-toast.entry.js +10 -18
  109. package/dist/esm/lock-controller-e8c6c051.js +38 -0
  110. package/dist/esm/{overlays-c3387ec0.js → overlays-e1dadfe6.js} +1 -1
  111. package/dist/esm-es5/framework-delegate-aa433dea.js +4 -0
  112. package/dist/esm-es5/index.js +1 -1
  113. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  114. package/dist/esm-es5/ion-alert.entry.js +1 -1
  115. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  116. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  117. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  118. package/dist/esm-es5/ion-loading.entry.js +1 -1
  119. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  120. package/dist/esm-es5/ion-modal.entry.js +1 -1
  121. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  122. package/dist/esm-es5/ion-popover.entry.js +1 -1
  123. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  124. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  125. package/dist/esm-es5/ion-toast.entry.js +1 -1
  126. package/dist/esm-es5/lock-controller-e8c6c051.js +4 -0
  127. package/dist/esm-es5/{overlays-c3387ec0.js → overlays-e1dadfe6.js} +1 -1
  128. package/dist/ionic/index.esm.js +1 -1
  129. package/dist/ionic/ionic.esm.js +1 -1
  130. package/dist/ionic/{p-958bde76.entry.js → p-091cd81e.entry.js} +1 -1
  131. package/dist/ionic/{p-d1356034.system.entry.js → p-0b68c41d.system.entry.js} +1 -1
  132. package/dist/ionic/p-0cc2bf5a.system.entry.js +4 -0
  133. package/dist/ionic/p-208f640c.entry.js +4 -0
  134. package/dist/ionic/p-2539e967.system.entry.js +4 -0
  135. package/dist/ionic/{p-74bd26b8.system.entry.js → p-28f5715a.system.entry.js} +1 -1
  136. package/dist/ionic/{p-b9312889.entry.js → p-341d5877.entry.js} +1 -1
  137. package/dist/ionic/p-38dd9aec.entry.js +4 -0
  138. package/dist/ionic/p-3ff018da.entry.js +4 -0
  139. package/dist/ionic/{p-8074bdd7.system.entry.js → p-45ee211b.system.entry.js} +1 -1
  140. package/dist/ionic/p-5009cb46.entry.js +4 -0
  141. package/dist/ionic/p-53b2a46f.js +4 -0
  142. package/dist/ionic/{p-5ef91692.js → p-582dc7c1.js} +1 -1
  143. package/dist/ionic/{p-79e30193.system.entry.js → p-5ba27716.system.entry.js} +1 -1
  144. package/dist/ionic/{p-c0d1e5a1.entry.js → p-5c17f888.entry.js} +1 -1
  145. package/dist/ionic/{p-8d9475b5.system.js → p-613d4042.system.js} +1 -1
  146. package/dist/ionic/p-647d15d4.system.entry.js +4 -0
  147. package/dist/ionic/p-653f2fc6.entry.js +4 -0
  148. package/dist/ionic/p-721933ff.system.js +1 -1
  149. package/dist/ionic/p-772f6c84.system.js +4 -0
  150. package/dist/ionic/p-87383d00.system.entry.js +4 -0
  151. package/dist/ionic/{p-db46fc66.system.js → p-8843b046.system.js} +1 -1
  152. package/dist/ionic/p-93e47822.entry.js +4 -0
  153. package/dist/ionic/{p-229df0d8.entry.js → p-98ebc376.entry.js} +1 -1
  154. package/dist/ionic/p-af0bc751.system.entry.js +4 -0
  155. package/dist/ionic/p-b0e9e0b8.system.entry.js +4 -0
  156. package/dist/ionic/p-b287ab05.js +4 -0
  157. package/dist/ionic/{p-81b46714.system.js → p-b32742f3.system.js} +1 -1
  158. package/dist/ionic/p-b3394798.system.entry.js +4 -0
  159. package/dist/ionic/{p-20087c90.entry.js → p-c759a704.entry.js} +1 -1
  160. package/dist/ionic/{p-6b9bf14c.system.entry.js → p-d1d3b740.system.entry.js} +1 -1
  161. package/dist/ionic/{p-8fa43732.system.entry.js → p-d693e765.system.entry.js} +1 -1
  162. package/dist/ionic/{p-5c96dc4e.entry.js → p-f7faa32d.entry.js} +1 -1
  163. package/dist/ionic/p-fabb7294.entry.js +4 -0
  164. package/dist/types/components/action-sheet/action-sheet.d.ts +1 -1
  165. package/dist/types/components/alert/alert.d.ts +1 -1
  166. package/dist/types/components/loading/loading.d.ts +1 -1
  167. package/dist/types/components/modal/modal.d.ts +1 -1
  168. package/dist/types/components/picker/picker.d.ts +1 -1
  169. package/dist/types/components/popover/popover.d.ts +1 -1
  170. package/dist/types/components/toast/toast.d.ts +1 -1
  171. package/dist/types/utils/lock-controller.d.ts +10 -0
  172. package/hydrate/index.js +127 -142
  173. package/package.json +1 -1
  174. package/dist/esm-es5/framework-delegate-2b76c681.js +0 -4
  175. package/dist/ionic/p-06f1f560.system.entry.js +0 -4
  176. package/dist/ionic/p-2936ec7f.system.entry.js +0 -4
  177. package/dist/ionic/p-29b3e70a.entry.js +0 -4
  178. package/dist/ionic/p-2bc49e5d.system.entry.js +0 -4
  179. package/dist/ionic/p-2da3e015.system.entry.js +0 -4
  180. package/dist/ionic/p-423d5a4d.entry.js +0 -4
  181. package/dist/ionic/p-564aaba3.entry.js +0 -4
  182. package/dist/ionic/p-61769039.entry.js +0 -4
  183. package/dist/ionic/p-74723f41.entry.js +0 -4
  184. package/dist/ionic/p-9b3c3564.entry.js +0 -4
  185. package/dist/ionic/p-b34c1ae1.js +0 -4
  186. package/dist/ionic/p-ccea9adc.system.entry.js +0 -4
  187. package/dist/ionic/p-d5db0834.system.entry.js +0 -4
  188. package/dist/ionic/p-d8538837.entry.js +0 -4
  189. package/dist/ionic/p-dd0b6889.system.entry.js +0 -4
@@ -0,0 +1,42 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import { expect } from "@playwright/test";
5
+ import { configs, test } from "../../../../utils/test/playwright/index";
6
+ /**
7
+ * This behavior does not vary across modes/directions
8
+ */
9
+ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
10
+ test.describe(title('popover: alignment with async component'), async () => {
11
+ test('should align popover centered with button when component is added async', async ({ page }) => {
12
+ await page.goto('/src/components/popover/test/async', config);
13
+ const ionPopoverDidPresent = await page.spyOnEvent('ionPopoverDidPresent');
14
+ const button = page.locator('#button');
15
+ await button.click();
16
+ await ionPopoverDidPresent.next();
17
+ await expect(page).toHaveScreenshot(screenshot(`popover-async`));
18
+ });
19
+ /**
20
+ * Framework delegate should fall back to returning the host
21
+ * component when no child content is passed otherwise
22
+ * the overlay will get stuck when trying to re-present.
23
+ */
24
+ test('should open popover even if nothing was passed', async ({ page }) => {
25
+ await page.setContent(`
26
+ <ion-popover></ion-popover>
27
+ `, config);
28
+ const popover = page.locator('ion-popover');
29
+ const ionPopoverDidPresent = await page.spyOnEvent('ionPopoverDidPresent');
30
+ const ionPopoverDidDismiss = await page.spyOnEvent('ionPopoverDidDismiss');
31
+ await popover.evaluate((el) => el.present());
32
+ await ionPopoverDidPresent.next();
33
+ await expect(popover).toBeVisible();
34
+ await popover.evaluate((el) => el.dismiss());
35
+ await ionPopoverDidDismiss.next();
36
+ await expect(popover).toBeHidden();
37
+ await popover.evaluate((el) => el.present());
38
+ await ionPopoverDidPresent.next();
39
+ await expect(popover).toBeVisible();
40
+ });
41
+ });
42
+ });
@@ -12,7 +12,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
12
12
  </ion-radio-group>
13
13
  `, config);
14
14
  const radio = page.locator('ion-radio');
15
- expect(await radio.screenshot()).toMatchSnapshot(screenshot(`radio-color-checked`));
15
+ await expect(radio).toHaveScreenshot(screenshot(`radio-color-checked`));
16
16
  });
17
17
  test('should not apply color when unchecked', async ({ page }) => {
18
18
  await page.setContent(`
@@ -21,7 +21,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
21
21
  </ion-radio-group>
22
22
  `, config);
23
23
  const radio = page.locator('ion-radio');
24
- expect(await radio.screenshot()).toMatchSnapshot(screenshot(`radio-color-unchecked`));
24
+ await expect(radio).toHaveScreenshot(screenshot(`radio-color-unchecked`));
25
25
  });
26
26
  });
27
27
  });
@@ -16,7 +16,7 @@ configs().forEach(({ title, screenshot, config }) => {
16
16
  </ion-list>
17
17
  `, config);
18
18
  const list = page.locator('ion-list');
19
- expect(await list.screenshot()).toMatchSnapshot(screenshot(`toggle-list`));
19
+ await expect(list).toHaveScreenshot(screenshot(`toggle-list`));
20
20
  });
21
21
  test('should render correctly in inset list', async ({ page }) => {
22
22
  await page.setContent(`
@@ -29,7 +29,7 @@ configs().forEach(({ title, screenshot, config }) => {
29
29
  </ion-list>
30
30
  `, config);
31
31
  const list = page.locator('ion-list');
32
- expect(await list.screenshot()).toMatchSnapshot(screenshot(`radio-inset-list`));
32
+ await expect(list).toHaveScreenshot(screenshot(`radio-inset-list`));
33
33
  });
34
34
  });
35
35
  });
@@ -48,7 +48,7 @@ configs({ directions: ['ltr'], modes: ['md'] }).forEach(({ title, screenshot, co
48
48
  </ion-list>
49
49
  `, config);
50
50
  const list = page.locator('ion-list');
51
- expect(await list.screenshot()).toMatchSnapshot(screenshot(`radio-long-label-in-item`));
51
+ await expect(list).toHaveScreenshot(screenshot(`radio-long-label-in-item`));
52
52
  });
53
53
  });
54
54
  });
@@ -21,7 +21,7 @@ configs().forEach(({ title, screenshot, config }) => {
21
21
  </ion-radio-group>
22
22
  `, config);
23
23
  const radio = page.locator('ion-radio');
24
- expect(await radio.screenshot()).toMatchSnapshot(screenshot(`radio-label-start-justify-start`));
24
+ await expect(radio).toHaveScreenshot(screenshot(`radio-label-start-justify-start`));
25
25
  });
26
26
  test('should render an end justification with label in the start position', async ({ page }) => {
27
27
  await page.setContent(`
@@ -30,7 +30,7 @@ configs().forEach(({ title, screenshot, config }) => {
30
30
  </ion-radio-group>
31
31
  `, config);
32
32
  const radio = page.locator('ion-radio');
33
- expect(await radio.screenshot()).toMatchSnapshot(screenshot(`radio-label-start-justify-end`));
33
+ await expect(radio).toHaveScreenshot(screenshot(`radio-label-start-justify-end`));
34
34
  });
35
35
  test('should render a space between justification with label in the start position', async ({ page }) => {
36
36
  await page.setContent(`
@@ -39,7 +39,7 @@ configs().forEach(({ title, screenshot, config }) => {
39
39
  </ion-radio-group>
40
40
  `, config);
41
41
  const radio = page.locator('ion-radio');
42
- expect(await radio.screenshot()).toMatchSnapshot(screenshot(`radio-label-start-justify-space-between`));
42
+ await expect(radio).toHaveScreenshot(screenshot(`radio-label-start-justify-space-between`));
43
43
  });
44
44
  });
45
45
  test.describe('radio: end placement', () => {
@@ -50,7 +50,7 @@ configs().forEach(({ title, screenshot, config }) => {
50
50
  </ion-radio-group>
51
51
  `, config);
52
52
  const radio = page.locator('ion-radio');
53
- expect(await radio.screenshot()).toMatchSnapshot(screenshot(`radio-label-end-justify-start`));
53
+ await expect(radio).toHaveScreenshot(screenshot(`radio-label-end-justify-start`));
54
54
  });
55
55
  test('should render an end justification with label in the end position', async ({ page }) => {
56
56
  await page.setContent(`
@@ -59,7 +59,7 @@ configs().forEach(({ title, screenshot, config }) => {
59
59
  </ion-radio-group>
60
60
  `, config);
61
61
  const radio = page.locator('ion-radio');
62
- expect(await radio.screenshot()).toMatchSnapshot(screenshot(`radio-label-end-justify-end`));
62
+ await expect(radio).toHaveScreenshot(screenshot(`radio-label-end-justify-end`));
63
63
  });
64
64
  test('should render a space between justification with label in the end position', async ({ page }) => {
65
65
  await page.setContent(`
@@ -68,7 +68,7 @@ configs().forEach(({ title, screenshot, config }) => {
68
68
  </ion-radio-group>
69
69
  `, config);
70
70
  const radio = page.locator('ion-radio');
71
- expect(await radio.screenshot()).toMatchSnapshot(screenshot(`radio-label-end-justify-space-between`));
71
+ await expect(radio).toHaveScreenshot(screenshot(`radio-label-end-justify-space-between`));
72
72
  });
73
73
  });
74
74
  test.describe('radio: fixed placement', () => {
@@ -79,7 +79,7 @@ configs().forEach(({ title, screenshot, config }) => {
79
79
  </ion-radio-group>
80
80
  `, config);
81
81
  const radio = page.locator('ion-radio');
82
- expect(await radio.screenshot()).toMatchSnapshot(screenshot(`radio-label-fixed-justify-start`));
82
+ await expect(radio).toHaveScreenshot(screenshot(`radio-label-fixed-justify-start`));
83
83
  });
84
84
  test('should render an end justification with label in the fixed position', async ({ page }) => {
85
85
  await page.setContent(`
@@ -88,7 +88,7 @@ configs().forEach(({ title, screenshot, config }) => {
88
88
  </ion-radio-group>
89
89
  `, config);
90
90
  const radio = page.locator('ion-radio');
91
- expect(await radio.screenshot()).toMatchSnapshot(screenshot(`radio-label-fixed-justify-end`));
91
+ await expect(radio).toHaveScreenshot(screenshot(`radio-label-fixed-justify-end`));
92
92
  });
93
93
  test('should render a space between justification with label in the fixed position', async ({ page }) => {
94
94
  await page.setContent(`
@@ -97,7 +97,7 @@ configs().forEach(({ title, screenshot, config }) => {
97
97
  </ion-radio-group>
98
98
  `, config);
99
99
  const radio = page.locator('ion-radio');
100
- expect(await radio.screenshot()).toMatchSnapshot(screenshot(`radio-label-fixed-justify-space-between`));
100
+ await expect(radio).toHaveScreenshot(screenshot(`radio-label-fixed-justify-space-between`));
101
101
  });
102
102
  });
103
103
  });
@@ -12,7 +12,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
12
12
  </ion-radio-group>
13
13
  `, config);
14
14
  const radio = page.locator('ion-radio');
15
- expect(await radio.screenshot()).toMatchSnapshot(screenshot(`radio-disabled`));
15
+ await expect(radio).toHaveScreenshot(screenshot(`radio-disabled`));
16
16
  });
17
17
  test('should render disabled checked radio correctly', async ({ page }) => {
18
18
  await page.setContent(`
@@ -21,7 +21,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
21
21
  </ion-radio-group>
22
22
  `, config);
23
23
  const radio = page.locator('ion-radio');
24
- expect(await radio.screenshot()).toMatchSnapshot(screenshot(`radio-checked-disabled`));
24
+ await expect(radio).toHaveScreenshot(screenshot(`radio-checked-disabled`));
25
25
  });
26
26
  test('should render checked radio correctly', async ({ page }) => {
27
27
  await page.setContent(`
@@ -30,7 +30,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
30
30
  </ion-radio-group>
31
31
  `, config);
32
32
  const radio = page.locator('ion-radio');
33
- expect(await radio.screenshot()).toMatchSnapshot(screenshot(`radio-checked`));
33
+ await expect(radio).toHaveScreenshot(screenshot(`radio-checked`));
34
34
  });
35
35
  test('should render unchecked radio correctly', async ({ page }) => {
36
36
  await page.setContent(`
@@ -39,7 +39,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
39
39
  </ion-radio-group>
40
40
  `, config);
41
41
  const radio = page.locator('ion-radio');
42
- expect(await radio.screenshot()).toMatchSnapshot(screenshot(`radio-unchecked`));
42
+ await expect(radio).toHaveScreenshot(screenshot(`radio-unchecked`));
43
43
  });
44
44
  });
45
45
  });
@@ -14,7 +14,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
14
14
  </ion-range>
15
15
  `, config);
16
16
  const range = page.locator('ion-range');
17
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-color`));
17
+ await expect(range).toHaveScreenshot(screenshot(`range-color`));
18
18
  });
19
19
  });
20
20
  });
@@ -8,7 +8,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
8
8
  test('should be customizable', async ({ page }) => {
9
9
  await page.goto(`/src/components/range/test/custom`, config);
10
10
  const range = page.locator('ion-range');
11
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-custom`));
11
+ await expect(range).toHaveScreenshot(screenshot(`range-custom`));
12
12
  });
13
13
  });
14
14
  });
@@ -14,7 +14,7 @@ configs().forEach(({ title, screenshot, config }) => {
14
14
  </ion-list>
15
15
  `, config);
16
16
  const list = page.locator('ion-list');
17
- expect(await list.screenshot()).toMatchSnapshot(screenshot(`range-list`));
17
+ await expect(list).toHaveScreenshot(screenshot(`range-list`));
18
18
  });
19
19
  test('should render correctly in inset list', async ({ page }) => {
20
20
  await page.setContent(`
@@ -25,7 +25,7 @@ configs().forEach(({ title, screenshot, config }) => {
25
25
  </ion-list>
26
26
  `, config);
27
27
  const list = page.locator('ion-list');
28
- expect(await list.screenshot()).toMatchSnapshot(screenshot(`range-inset-list`));
28
+ await expect(list).toHaveScreenshot(screenshot(`range-inset-list`));
29
29
  });
30
30
  });
31
31
  });
@@ -38,7 +38,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
38
38
  </ion-item>
39
39
  `, config);
40
40
  const item = page.locator('ion-item');
41
- expect(await item.screenshot()).toMatchSnapshot(screenshot(`range-item-color`));
41
+ await expect(item).toHaveScreenshot(screenshot(`range-item-color`));
42
42
  });
43
43
  });
44
44
  });
@@ -11,7 +11,7 @@ configs().forEach(({ title, screenshot, config }) => {
11
11
  <ion-range legacy="true"></ion-range>
12
12
  `, config);
13
13
  const range = page.locator('ion-range');
14
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-no-items-no-label`));
14
+ await expect(range).toHaveScreenshot(screenshot(`range-no-items-no-label`));
15
15
  });
16
16
  test('should render label in the start placement', async ({ page }) => {
17
17
  await page.setContent(`
@@ -20,7 +20,7 @@ configs().forEach(({ title, screenshot, config }) => {
20
20
  </ion-range>
21
21
  `, config);
22
22
  const range = page.locator('ion-range');
23
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-no-items-start`));
23
+ await expect(range).toHaveScreenshot(screenshot(`range-no-items-start`));
24
24
  });
25
25
  test('should render label in the end placement', async ({ page }) => {
26
26
  await page.setContent(`
@@ -29,7 +29,7 @@ configs().forEach(({ title, screenshot, config }) => {
29
29
  </ion-range>
30
30
  `, config);
31
31
  const range = page.locator('ion-range');
32
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-no-items-end`));
32
+ await expect(range).toHaveScreenshot(screenshot(`range-no-items-end`));
33
33
  });
34
34
  test('should render label in the fixed placement', async ({ page }) => {
35
35
  await page.setContent(`
@@ -38,7 +38,7 @@ configs().forEach(({ title, screenshot, config }) => {
38
38
  </ion-range>
39
39
  `, config);
40
40
  const range = page.locator('ion-range');
41
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-no-items-fixed`));
41
+ await expect(range).toHaveScreenshot(screenshot(`range-no-items-fixed`));
42
42
  });
43
43
  });
44
44
  test.describe('range: start and end items', () => {
@@ -50,7 +50,7 @@ configs().forEach(({ title, screenshot, config }) => {
50
50
  </ion-range>
51
51
  `, config);
52
52
  const range = page.locator('ion-range');
53
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-items-no-label`));
53
+ await expect(range).toHaveScreenshot(screenshot(`range-items-no-label`));
54
54
  });
55
55
  test('should render label in the start placement', async ({ page }) => {
56
56
  await page.setContent(`
@@ -61,7 +61,7 @@ configs().forEach(({ title, screenshot, config }) => {
61
61
  </ion-range>
62
62
  `, config);
63
63
  const range = page.locator('ion-range');
64
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-items-start`));
64
+ await expect(range).toHaveScreenshot(screenshot(`range-items-start`));
65
65
  });
66
66
  test('should render label in the end placement', async ({ page }) => {
67
67
  await page.setContent(`
@@ -72,7 +72,7 @@ configs().forEach(({ title, screenshot, config }) => {
72
72
  </ion-range>
73
73
  `, config);
74
74
  const range = page.locator('ion-range');
75
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-items-end`));
75
+ await expect(range).toHaveScreenshot(screenshot(`range-items-end`));
76
76
  });
77
77
  test('should render label in the fixed placement', async ({ page }) => {
78
78
  await page.setContent(`
@@ -83,24 +83,24 @@ configs().forEach(({ title, screenshot, config }) => {
83
83
  </ion-range>
84
84
  `, config);
85
85
  const range = page.locator('ion-range');
86
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-items-fixed`));
86
+ await expect(range).toHaveScreenshot(screenshot(`range-items-fixed`));
87
87
  });
88
88
  });
89
89
  test.describe('range: label prop', () => {
90
90
  test('should render label in the start placement', async ({ page }) => {
91
91
  await page.setContent(`<ion-range label-placement="start" label="Volume"></ion-range>`, config);
92
92
  const range = page.locator('ion-range');
93
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-label-prop-start`));
93
+ await expect(range).toHaveScreenshot(screenshot(`range-label-prop-start`));
94
94
  });
95
95
  test('should render label in the end placement', async ({ page }) => {
96
96
  await page.setContent(`<ion-range label-placement="end" label="Volume"></ion-range>`, config);
97
97
  const range = page.locator('ion-range');
98
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-label-prop-end`));
98
+ await expect(range).toHaveScreenshot(screenshot(`range-label-prop-end`));
99
99
  });
100
100
  test('should render label in the fixed placement', async ({ page }) => {
101
101
  await page.setContent(`<ion-range label-placement="fixed" label="Volume"></ion-range>`, config);
102
102
  const range = page.locator('ion-range');
103
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-label-prop-fixed`));
103
+ await expect(range).toHaveScreenshot(screenshot(`range-label-prop-fixed`));
104
104
  });
105
105
  });
106
106
  });
@@ -114,7 +114,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
114
114
  </ion-range>
115
115
  `, config);
116
116
  const range = page.locator('ion-range');
117
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-label-truncate`));
117
+ await expect(range).toHaveScreenshot(screenshot(`range-label-truncate`));
118
118
  });
119
119
  });
120
120
  });
@@ -19,14 +19,14 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
19
19
  const rangeHandle = range.locator('.range-knob-handle');
20
20
  await rangeHandle.evaluate((el) => el.classList.add('ion-focused'));
21
21
  await page.waitForChanges();
22
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-focus`));
22
+ await expect(range).toHaveScreenshot(screenshot(`range-focus`));
23
23
  const box = (await rangeHandle.boundingBox());
24
24
  const centerX = box.x + box.width / 2;
25
25
  const centerY = box.y + box.height / 2;
26
26
  await page.mouse.move(centerX, centerY);
27
27
  await page.mouse.down();
28
28
  await page.waitForChanges();
29
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-active`));
29
+ await expect(range).toHaveScreenshot(screenshot(`range-active`));
30
30
  });
31
31
  });
32
32
  });
@@ -43,7 +43,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
43
43
  const rangeHandle = range.locator('.range-knob-handle');
44
44
  await rangeHandle.evaluate((el) => el.classList.add('ion-focused'));
45
45
  await page.waitForChanges();
46
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-focus-with-pin`));
46
+ await expect(range).toHaveScreenshot(screenshot(`range-focus-with-pin`));
47
47
  });
48
48
  });
49
49
  });
@@ -8,7 +8,7 @@ configs().forEach(({ title, screenshot, config }) => {
8
8
  test('should not have visual regressions', async ({ page }) => {
9
9
  await page.goto(`/src/components/range/test/legacy/active-bar-start`, config);
10
10
  await page.setIonViewport();
11
- expect(await page.screenshot()).toMatchSnapshot(screenshot(`range-activeBarStart-diff`));
11
+ await expect(page).toHaveScreenshot(screenshot(`range-activeBarStart-diff`));
12
12
  });
13
13
  });
14
14
  });
@@ -8,7 +8,7 @@ configs().forEach(({ title, screenshot, config }) => {
8
8
  test('should not have visual regressions', async ({ page }) => {
9
9
  await page.goto(`/src/components/range/test/legacy/basic`, config);
10
10
  await page.setIonViewport();
11
- expect(await page.screenshot()).toMatchSnapshot(screenshot(`range-diff`));
11
+ await expect(page).toHaveScreenshot(screenshot(`range-diff`));
12
12
  });
13
13
  });
14
14
  });
@@ -14,7 +14,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
14
14
  </ion-range>
15
15
  `, config);
16
16
  const range = page.locator('ion-range');
17
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-enabled`));
17
+ await expect(range).toHaveScreenshot(screenshot(`range-enabled`));
18
18
  });
19
19
  test('should render disabled state', async ({ page }) => {
20
20
  await page.setContent(`
@@ -25,7 +25,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
25
25
  </ion-range>
26
26
  `, config);
27
27
  const range = page.locator('ion-range');
28
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-disabled`));
28
+ await expect(range).toHaveScreenshot(screenshot(`range-disabled`));
29
29
  });
30
30
  test('should render disabled state with a value', async ({ page }) => {
31
31
  await page.setContent(`
@@ -36,7 +36,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
36
36
  </ion-range>
37
37
  `, config);
38
38
  const range = page.locator('ion-range');
39
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-disabled-value`));
39
+ await expect(range).toHaveScreenshot(screenshot(`range-disabled-value`));
40
40
  });
41
41
  test('should render disabled state with ticks', async ({ page }) => {
42
42
  await page.setContent(`
@@ -47,7 +47,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
47
47
  </ion-range>
48
48
  `, config);
49
49
  const range = page.locator('ion-range');
50
- expect(await range.screenshot()).toMatchSnapshot(screenshot(`range-disabled-ticks`));
50
+ await expect(range).toHaveScreenshot(screenshot(`range-disabled-ticks`));
51
51
  });
52
52
  });
53
53
  });
@@ -174,6 +174,7 @@ export class RouterOutlet {
174
174
  this.ionNavDidChange.emit();
175
175
  return true;
176
176
  }
177
+ // TODO: FW-5048 - Remove this code in favor of using lock controller from utils
177
178
  async lock() {
178
179
  const p = this.waitPromise;
179
180
  let resolve;
@@ -16,7 +16,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
16
16
  </ion-card>
17
17
  `, config);
18
18
  const card = page.locator('ion-card');
19
- expect(await card.screenshot()).toMatchSnapshot(screenshot(`select-card`));
19
+ await expect(card).toHaveScreenshot(screenshot(`select-card`));
20
20
  });
21
21
  });
22
22
  });
@@ -13,7 +13,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
13
13
  </ion-select>
14
14
  `, config);
15
15
  const select = page.locator('ion-select');
16
- expect(await select.screenshot({ animations: 'disabled' })).toMatchSnapshot(screenshot(`select-no-fill-color`));
16
+ await expect(select).toHaveScreenshot(screenshot(`select-no-fill-color`));
17
17
  });
18
18
  });
19
19
  test.describe('input: fill solid', () => {
@@ -24,7 +24,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
24
24
  </ion-select>
25
25
  `, config);
26
26
  const select = page.locator('ion-select');
27
- expect(await select.screenshot({ animations: 'disabled' })).toMatchSnapshot(screenshot(`select-solid-color`));
27
+ await expect(select).toHaveScreenshot(screenshot(`select-solid-color`));
28
28
  });
29
29
  });
30
30
  test.describe('input: fill outline', () => {
@@ -35,7 +35,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
35
35
  </ion-select>
36
36
  `, config);
37
37
  const select = page.locator('ion-select');
38
- expect(await select.screenshot({ animations: 'disabled' })).toMatchSnapshot(screenshot(`select-outline-color`));
38
+ await expect(select).toHaveScreenshot(screenshot(`select-outline-color`));
39
39
  });
40
40
  });
41
41
  });
@@ -17,7 +17,7 @@ configs({ modes: ['md'] }).forEach(({ title, screenshot, config }) => {
17
17
  </ion-select>
18
18
  `, config);
19
19
  const select = page.locator('ion-select');
20
- expect(await select.screenshot()).toMatchSnapshot(screenshot(`select-fill-solid`));
20
+ await expect(select).toHaveScreenshot(screenshot(`select-fill-solid`));
21
21
  });
22
22
  test('should render correctly with floating label', async ({ page }) => {
23
23
  await page.setContent(`
@@ -31,7 +31,7 @@ configs({ modes: ['md'] }).forEach(({ title, screenshot, config }) => {
31
31
  </ion-select>
32
32
  `, config);
33
33
  const select = page.locator('ion-select');
34
- expect(await select.screenshot()).toMatchSnapshot(screenshot(`select-fill-solid-label-floating`));
34
+ await expect(select).toHaveScreenshot(screenshot(`select-fill-solid-label-floating`));
35
35
  });
36
36
  test('should not have visual regressions with shaped solid', async ({ page }) => {
37
37
  await page.setContent(`
@@ -45,7 +45,7 @@ configs({ modes: ['md'] }).forEach(({ title, screenshot, config }) => {
45
45
  </ion-select>
46
46
  `, config);
47
47
  const select = page.locator('ion-select');
48
- expect(await select.screenshot()).toMatchSnapshot(screenshot(`select-fill-shaped-solid`));
48
+ await expect(select).toHaveScreenshot(screenshot(`select-fill-shaped-solid`));
49
49
  });
50
50
  test('padding and border radius should be customizable', async ({ page }) => {
51
51
  await page.setContent(`
@@ -67,7 +67,7 @@ configs({ modes: ['md'] }).forEach(({ title, screenshot, config }) => {
67
67
  </ion-select>
68
68
  `, config);
69
69
  const select = page.locator('ion-select');
70
- expect(await select.screenshot()).toMatchSnapshot(screenshot(`select-fill-shaped-solid-custom`));
70
+ await expect(select).toHaveScreenshot(screenshot(`select-fill-shaped-solid-custom`));
71
71
  });
72
72
  });
73
73
  test.describe('select: fill outline', () => {
@@ -82,7 +82,7 @@ configs({ modes: ['md'] }).forEach(({ title, screenshot, config }) => {
82
82
  </ion-select>
83
83
  `, config);
84
84
  const select = page.locator('ion-select');
85
- expect(await select.screenshot()).toMatchSnapshot(screenshot(`select-fill-outline`));
85
+ await expect(select).toHaveScreenshot(screenshot(`select-fill-outline`));
86
86
  });
87
87
  test('should render correctly with floating label', async ({ page }) => {
88
88
  await page.setContent(`
@@ -96,7 +96,7 @@ configs({ modes: ['md'] }).forEach(({ title, screenshot, config }) => {
96
96
  </ion-select>
97
97
  `, config);
98
98
  const select = page.locator('ion-select');
99
- expect(await select.screenshot()).toMatchSnapshot(screenshot(`select-fill-outline-label-floating`));
99
+ await expect(select).toHaveScreenshot(screenshot(`select-fill-outline-label-floating`));
100
100
  });
101
101
  test('should not have visual regressions with shaped outline', async ({ page }) => {
102
102
  await page.setContent(`
@@ -110,7 +110,7 @@ configs({ modes: ['md'] }).forEach(({ title, screenshot, config }) => {
110
110
  </ion-select>
111
111
  `, config);
112
112
  const select = page.locator('ion-select');
113
- expect(await select.screenshot()).toMatchSnapshot(screenshot(`select-fill-shaped-outline`));
113
+ await expect(select).toHaveScreenshot(screenshot(`select-fill-shaped-outline`));
114
114
  });
115
115
  test('padding and border radius should be customizable', async ({ page }) => {
116
116
  await page.setContent(`
@@ -132,7 +132,7 @@ configs({ modes: ['md'] }).forEach(({ title, screenshot, config }) => {
132
132
  </ion-select>
133
133
  `, config);
134
134
  const select = page.locator('ion-select');
135
- expect(await select.screenshot()).toMatchSnapshot(screenshot(`select-fill-shaped-outline-custom`));
135
+ await expect(select).toHaveScreenshot(screenshot(`select-fill-shaped-outline-custom`));
136
136
  });
137
137
  });
138
138
  });
@@ -156,7 +156,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
156
156
  </ion-select>
157
157
  `, config);
158
158
  const select = page.locator('ion-select');
159
- expect(await select.screenshot()).toMatchSnapshot(screenshot(`select-fill-outline-slotted-label`));
159
+ await expect(select).toHaveScreenshot(screenshot(`select-fill-outline-slotted-label`));
160
160
  });
161
161
  test('should render the notch correctly with a slotted label after the select was originally hidden', async ({ page, }) => {
162
162
  await page.setContent(`
@@ -177,7 +177,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
177
177
  `, config);
178
178
  const select = page.locator('ion-select');
179
179
  await select.evaluate((el) => el.style.removeProperty('display'));
180
- expect(await select.screenshot()).toMatchSnapshot(screenshot(`select-fill-outline-hidden-slotted-label`));
180
+ await expect(select).toHaveScreenshot(screenshot(`select-fill-outline-hidden-slotted-label`));
181
181
  });
182
182
  });
183
183
  test.describe(title('select: notch cutout'), () => {
@@ -100,7 +100,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
100
100
  <ion-select label="Label" class="select-expanded"></ion-select>
101
101
  `, config);
102
102
  const select = page.locator('ion-select');
103
- expect(await select.screenshot({ animations: 'disabled' })).toMatchSnapshot(screenshot(`select-no-fill-highlight`));
103
+ await expect(select).toHaveScreenshot(screenshot(`select-no-fill-highlight`));
104
104
  });
105
105
  });
106
106
  test.describe('select: solid', () => {
@@ -109,7 +109,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
109
109
  <ion-select fill="solid" label="Label" class="select-expanded"></ion-select>
110
110
  `, config);
111
111
  const select = page.locator('ion-select');
112
- expect(await select.screenshot({ animations: 'disabled' })).toMatchSnapshot(screenshot(`select-solid-highlight`));
112
+ await expect(select).toHaveScreenshot(screenshot(`select-solid-highlight`));
113
113
  });
114
114
  });
115
115
  test.describe('select: outline', () => {
@@ -118,7 +118,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
118
118
  <ion-select fill="outline" label="Label" class="select-expanded"></ion-select>
119
119
  `, config);
120
120
  const select = page.locator('ion-select');
121
- expect(await select.screenshot({ animations: 'disabled' })).toMatchSnapshot(screenshot(`select-outline-highlight`));
121
+ await expect(select).toHaveScreenshot(screenshot(`select-outline-highlight`));
122
122
  });
123
123
  });
124
124
  });
@@ -19,7 +19,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
19
19
  </ion-list>
20
20
  `, config);
21
21
  const list = page.locator('ion-list');
22
- expect(await list.screenshot()).toMatchSnapshot(screenshot(`select-list-no-fill`));
22
+ await expect(list).toHaveScreenshot(screenshot(`select-list-no-fill`));
23
23
  });
24
24
  test('should render correctly in inset list with no fill', async ({ page }) => {
25
25
  await page.setContent(`
@@ -35,7 +35,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
35
35
  </ion-list>
36
36
  `, config);
37
37
  const list = page.locator('ion-list');
38
- expect(await list.screenshot()).toMatchSnapshot(screenshot(`select-inset-list-no-fill`));
38
+ await expect(list).toHaveScreenshot(screenshot(`select-inset-list-no-fill`));
39
39
  });
40
40
  });
41
41
  });