Add authentication
This commit is contained in:
20
apps/builder/cypress/plugins/index.ts
Normal file
20
apps/builder/cypress/plugins/index.ts
Normal file
@ -0,0 +1,20 @@
|
||||
import {
|
||||
GitHubSocialLogin,
|
||||
FacebookSocialLogin,
|
||||
GoogleSocialLogin,
|
||||
} from 'cypress-social-logins/src/Plugins'
|
||||
/// <reference types="cypress" />
|
||||
|
||||
/**
|
||||
* @type {Cypress.PluginConfig}
|
||||
*/
|
||||
|
||||
const handler = (on: any) => {
|
||||
on('task', {
|
||||
GoogleSocialLogin: GoogleSocialLogin,
|
||||
FacebookSocialLogin: FacebookSocialLogin,
|
||||
GitHubSocialLogin: GitHubSocialLogin,
|
||||
})
|
||||
}
|
||||
|
||||
export default handler
|
Reference in New Issue
Block a user