We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6b1136 commit 0b8f64bCopy full SHA for 0b8f64b
packages/vuetify/src/components/VExpansionPanel/__tests__/VExpansionPanels.spec.browser.tsx
@@ -47,6 +47,20 @@ const stories = {
47
}
48
49
describe('VExpansionPanels', () => {
50
+ it('responds to title click', async () => {
51
+ render(() => (
52
+ <VExpansionPanels>
53
+ <VExpansionPanel title="Header" text="Content" />
54
+ </VExpansionPanels>
55
+ ))
56
+
57
+ const title = screen.getByCSS('.v-expansion-panel-title')
58
59
+ await userEvent.click(title)
60
61
+ expect(title).toHaveClass('v-expansion-panel-title--active')
62
+ })
63
64
it('supports v-model', async () => {
65
const model = ref()
66
render(() => (
0 commit comments