Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Doesn't work, I still see Google Authentication screen. #53

Closed
GeorgeXCV opened this issue Feb 6, 2023 · 1 comment
Closed

Doesn't work, I still see Google Authentication screen. #53

GeorgeXCV opened this issue Feb 6, 2023 · 1 comment

Comments

@GeorgeXCV
Copy link

I have registered the plugin in cypress/plugins/index.ts like this:

module.exports = async (on, config) => {
    require('cypress-iap/utils')(on, config);
    return config
 }

I have imported it in cypress/support/index.ts like this:
import 'cypress-iap/visit';

The service account is setup and the I have a .env file with the following:
GOOGLE_APPLICATION_CREDENTIALS=cypress/plugins/serviceAccountKeyDev.json

So why isn't it working?

@GeorgeXCV
Copy link
Author

Issue was outdated ReadMe, require('cypress-iap/utils')(on, config); should be placed in cypress.config instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant