enableAutoLogin
This function can be imported directly from the @dhis2/cypress-commands
module in your support file:
import { enableAutoLogin } from '@dhis2/cypress-commands'
It does not expect any parameters and does not return anything, you just need to execute it:
enableAutoLogin()