Treat configuration/feature-flag-driven logic as potentially different between tests and runtime, and standardize how you branch on it.
Apply this by: 1) Verify config-derived outputs with real environment values
GITHUB_LOCATION/env.json setup and confirm the generated links actually work.2) Prefer the standard feature-flag mechanism for UI
IfFeatureEnabled), use it for feature-controlled UI rather than mixing ad-hoc boolean wrappers that reduce readability and consistency.3) Keep conditional UI layout consistent
Example pattern (feature-controlled UI):
<IfFeatureEnabled feature='classroom-mode'>
<Spacer size='m' />
<ClassroomMode
isClassroomAccount={isClassroomAccount}
updateIsClassroomAccount={updateIsClassroomAccount}
/>
</IfFeatureEnabled>
Enter the URL of a public GitHub repository