diff --git a/src/views/clusteroverview/SettingsTab/ExpandSection/ExpandSection.tsx b/src/views/clusteroverview/SettingsTab/ExpandSection/ExpandSection.tsx index 322d18873..d59285546 100644 --- a/src/views/clusteroverview/SettingsTab/ExpandSection/ExpandSection.tsx +++ b/src/views/clusteroverview/SettingsTab/ExpandSection/ExpandSection.tsx @@ -7,6 +7,7 @@ import './ExpandSection.scss'; type ExpandSectionProps = { className?: string; + dataTestID?: string; isDisabled?: boolean; isIndented?: boolean; toggleContent?: ReactNode; @@ -16,6 +17,7 @@ type ExpandSectionProps = { const ExpandSection: FC = ({ children, className, + dataTestID, isDisabled = false, isIndented = true, toggleContent = null, @@ -32,6 +34,7 @@ const ExpandSection: FC = ({ return ( handleToggle(expanded)} diff --git a/src/views/clusteroverview/SettingsTab/UserTab/components/GettingStartedSection/GettingStartedSection.tsx b/src/views/clusteroverview/SettingsTab/UserTab/components/GettingStartedSection/GettingStartedSection.tsx index 3619020bb..74821c3d0 100644 --- a/src/views/clusteroverview/SettingsTab/UserTab/components/GettingStartedSection/GettingStartedSection.tsx +++ b/src/views/clusteroverview/SettingsTab/UserTab/components/GettingStartedSection/GettingStartedSection.tsx @@ -17,18 +17,23 @@ const GettingStartedSection: FC = () => { const [quickStarts, setQuickStarts] = useKubevirtUserSettings('quickStart'); const run = runningTourSignal.value; return ( - + setQuickStarts({ ...quickStarts, dontShowWelcomeModal: !value }) } className="GettingStartedSection__switch-text" + data-test-id="welcome-information" isChecked={!quickStarts?.dontShowWelcomeModal} label={t('Welcome information')} /> { const { t } = useKubevirtTranslation(); return ( - + { const { t } = useKubevirtTranslation(); const { capabilitiesData, isLoading } = usePermissions(); return ( - + diff --git a/src/views/clusteroverview/SettingsTab/UserTab/user-tab.scss b/src/views/clusteroverview/SettingsTab/UserTab/user-tab.scss index 1eb65f888..60c5a1c6c 100644 --- a/src/views/clusteroverview/SettingsTab/UserTab/user-tab.scss +++ b/src/views/clusteroverview/SettingsTab/UserTab/user-tab.scss @@ -1,6 +1,5 @@ .permissions-tab { &--main { - width: 35vw; &__divider { margin: var(--pf-global--spacer--sm) 0 var(--pf-global--spacer--md) 0; }