Skip to content

Commit a8a721c

Browse files
committed
AccordionItemPanel are now open by default
This was possibly changed during cucumber/react-components#333 [1]. [1] cucumber/react-components#333
1 parent 95caf82 commit a8a721c

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

features/step_definitions/html_steps.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,6 @@ Then("the report should have an image attachment", async function () {
9494
{ runScripts: "dangerously" }
9595
);
9696

97-
const AccordionItemButton = assertAndReturn(
98-
dom.window.document.querySelector(
99-
'[data-accordion-component="AccordionItemButton"]'
100-
),
101-
"Expected to find an AccordionItemButton"
102-
);
103-
104-
assert(AccordionItemButton instanceof dom.window.HTMLElement);
105-
106-
AccordionItemButton.click();
107-
10897
const AccordionItemPanel = assertAndReturn(
10998
dom.window.document.querySelector(
11099
'[data-accordion-component="AccordionItemPanel"]'

0 commit comments

Comments
 (0)