diff --git a/docs/pages/testing-playground.vue b/docs/pages/testing-playground.vue
index a357770c5..2a75a607e 100644
--- a/docs/pages/testing-playground.vue
+++ b/docs/pages/testing-playground.vue
@@ -8,8 +8,9 @@
-->
-
+
{
await takeSnapshot('KButton - Dropdown Opened', { widths: [400], minHeight: 512 });
});
- it('should render the slot when the slot has content', async () => {
+ it('should render the default slot when provided', async () => {
await renderComponent(
'KButton',
{ text: 'Button' },
{
default: {
element: 'span',
- innerHTML: 'Default Slot Test',
+ elementProps: { class: 'default-slot-class' },
+ innerHTML: 'Default Slot Content',
},
}
);
await takeSnapshot('KButton - With Default Slot', { widths: [400], minHeight: 512 });
});
+
});
});