bjowes / cypress-ntlm-auth

Windows authentication plugin for Cypress
MIT License
55 stars 9 forks source link

I have configured NTM-Auth-plugin and when i run the cypress So I am facing the issue: Error: Cannot find module 'cypress-ntlm-auth/dist/plugin' #216

Closed MuhammadJawad1214 closed 1 year ago

MuhammadJawad1214 commented 1 year ago

While installing the cypress-NTLM-Auth The dist/plugin is not created. Can any one please help @bjowes 1: I am using Cypress latest version with cucumber and typeScript. 2: I have added commands in cypress/support/e2e as follows import './commands' import 'cypress-ntlm-auth/dist/commands'; 3: My cypress.config file contains

  const ntlmAuth = require('cypress-ntlm-auth/dist/plugin');
  module.exports = (on, config) => {
  config = ntlmAuth.initNtlmAuth(config);
  return config;