File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
src/test-utils/dom/dropdown Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -47,14 +47,26 @@ export default class DropdownWrapper extends ComponentWrapper {
4747 : new DropdownContentWrapper ( this . getElement ( ) ) ;
4848 }
4949
50+ /**
51+ * @param options
52+ * * expandToViewport (boolean) - Use this when the component under test is rendered with an `expandToViewport` flag.
53+ */
5054 findContent ( options = { expandToViewport : false } ) : ElementWrapper | null {
5155 return this . findDropdown ( options ) . findContent ( ) ;
5256 }
5357
58+ /**
59+ * @param options
60+ * * expandToViewport (boolean) - Use this when the component under test is rendered with an `expandToViewport` flag.
61+ */
5462 findHeader ( options = { expandToViewport : false } ) : ElementWrapper | null {
5563 return this . findDropdown ( options ) . findHeader ( ) ;
5664 }
5765
66+ /**
67+ * @param options
68+ * * expandToViewport (boolean) - Use this when the component under test is rendered with an `expandToViewport` flag.
69+ */
5870 findFooter ( options = { expandToViewport : false } ) : ElementWrapper | null {
5971 return this . findDropdown ( options ) . findFooter ( ) ;
6072 }
You can’t perform that action at this time.
0 commit comments