Skip to content

Commit ae8c51d

Browse files
committed
Add width & height to test button to ensure cypress can find it
1 parent cdcaded commit ae8c51d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react/cypress/component/auto/form/AutoFormDynamicFormInputChanges.cy.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ describeForEachAutoAdapter("AutoForm", ({ name, adapter: { AutoForm }, wrapper }
1212
<AutoForm action={api.widget.update} findBy={findBy} />
1313

1414
<div>
15-
<button id="setFindById1" onClick={() => setFindBy("1")} />
16-
<button id="setFindById2" onClick={() => setFindBy("2")} />
15+
<button style={{ width: 1, height: 1 }} id="setFindById1" onClick={() => setFindBy("1")} />
16+
<button style={{ width: 1, height: 1 }} id="setFindById2" onClick={() => setFindBy("2")} />
1717
</div>
1818
</>
1919
);

0 commit comments

Comments
 (0)