Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,13 @@ export function ControlGroup({
}}
>
<SortableContext items={controlsInOrder} strategy={rectSortingStrategy}>
<EuiFlexGroup className="controlGroup" alignItems="center" gutterSize="s" wrap={true}>
<EuiFlexGroup
component="ul"
className="controlGroup"
alignItems="center"
gutterSize="s"
wrap={true}
>
{controlsInOrder.map(({ id, type }) => (
<ControlRenderer
key={id}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export const ControlPanel = <ApiType extends DefaultControlApi = DefaultControlA

return (
<EuiFlexItem
component="li"
ref={setNodeRef}
style={{
transition,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ export class DashboardPageControls extends FtrService {

public async rangeSliderEnsurePopoverIsClosed(controlId: string) {
this.log.debug(`Closing popover for Range Slider: ${controlId}`);
const controlLabel = await this.find.byXPath(`//div[@data-control-id='${controlId}']//label`);
const controlLabel = await this.find.byXPath(`//li[@data-control-id='${controlId}']//label`);
await controlLabel.click();
await this.testSubjects.waitForDeleted(`rangeSlider__slider`);
}
Expand Down