Overwrite the sign in widget using the context.controller

Trying to overwrite the default okta signin using

if(context.controller === enroll-totp) but the code inside this is not executed and logs are also not printed.

Any idea why the code is not executed?