diff --git a/x-pack/plugins/uptime/e2e/page_objects/login.tsx b/x-pack/plugins/uptime/e2e/page_objects/login.tsx index 79d9af39f1c4f..fa2abc525ee82 100644 --- a/x-pack/plugins/uptime/e2e/page_objects/login.tsx +++ b/x-pack/plugins/uptime/e2e/page_objects/login.tsx @@ -8,12 +8,12 @@ import { Page } from '@elastic/synthetics'; export function loginPageProvider({ page, - isRemote, + isRemote = false, username = 'elastic', password = 'changeme', }: { page: Page; - isRemote: boolean; + isRemote?: boolean; username?: string; password?: string; }) { diff --git a/x-pack/plugins/uptime/public/components/settings/add_connector_flyout.tsx b/x-pack/plugins/uptime/public/components/settings/add_connector_flyout.tsx index e111d4c615ae5..d69bcfee7efae 100644 --- a/x-pack/plugins/uptime/public/components/settings/add_connector_flyout.tsx +++ b/x-pack/plugins/uptime/public/components/settings/add_connector_flyout.tsx @@ -72,6 +72,7 @@ export const AddConnectorFlyout = ({ focusInput, isDisabled }: Props) => { return ( <> + {addFlyoutVisible ? ConnectorAddFlyout : null} setAddFlyoutVisibility(true)} @@ -83,7 +84,6 @@ export const AddConnectorFlyout = ({ focusInput, isDisabled }: Props) => { defaultMessage="Add connector" /> - {addFlyoutVisible ? ConnectorAddFlyout : null} ); };