diff --git a/resources/js/components/onboarding/step-create-account.tsx b/resources/js/components/onboarding/step-create-account.tsx index 98c7269a..5096d496 100644 --- a/resources/js/components/onboarding/step-create-account.tsx +++ b/resources/js/components/onboarding/step-create-account.tsx @@ -77,7 +77,7 @@ export function StepCreateAccount({ const realEstateEnabled = features['real-estate']; const [mode, setMode] = useState('select'); const [selectedMode, setSelectedMode] = useState<'manual' | 'connected'>( - 'manual', + openBankingEnabled ? 'connected' : 'manual', ); const [isAddingAnother, setIsAddingAnother] = useState(false); const [isSubmitting, setIsSubmitting] = useState(false); @@ -512,7 +512,7 @@ export function StepCreateAccount({
{subscriptionsEnabled && ( - + Standard )} -
- +
+

{__('Connected')} @@ -650,7 +650,7 @@ export function StepCreateAccount({

{subscriptionsEnabled && cheapestMonthlyPrice !== null && ( -

+

{__('From')}{' '} {formatCurrency( cheapestMonthlyPrice * 100, @@ -667,8 +667,8 @@ export function StepCreateAccount({ {openBankingEnabled && selectedMode === 'connected' && subscriptionsEnabled && ( -

-

+

+

{__( "Connected accounts are a Standard Plan feature. You'll choose a plan at the end of the onboarding.", )} diff --git a/tests/Browser/OnboardingFlowTest.php b/tests/Browser/OnboardingFlowTest.php index 1bba94b5..321320f7 100644 --- a/tests/Browser/OnboardingFlowTest.php +++ b/tests/Browser/OnboardingFlowTest.php @@ -317,7 +317,7 @@ it('completes entire onboarding flow with account creation, transaction import, ->click('Create Your First Account') ->wait(1); - // Step 3: Create Account - select Manual mode then fill the form + // Step 3: Create Account - connected mode is preselected, switch to manual and fill the form $page->assertSee('Create an Account') ->assertSee('Manual') ->assertSee('Connected')