Skip to content

Error: EISDIR: illegal operation on a directory #1244

@tanuj-vishnoi

Description

@tanuj-vishnoi

Current behavior:

Error message is thrown

Error: EISDIR: illegal operation on a directory, 
open 'C:\Users\*********\AppData\Roaming\Cypress\cy\production\projects\CyDemo-f6363983d1108dd01027bb4ab06585aa\bundles

Desired behavior:

On clicking signIn button user should land on dashboard page

How to reproduce:

Submit userId and password in respective fields and hit signIn

Test code:

function loadFixture() {
    cy.fixture('login').as('loginJson')
}
describe('Login', function () {
    beforeEach(function () {
        loadFixture()
    })

    before(function () {
        cy.visit('https://*************.com');
    })

    it('It Should load in to the application', function () {
        cy.title().should('contain', 'xyz');
    })

    it('It Should enter credentials and login', function () {
        cy.get('#Username').type(this.loginJson.masterCoder.email).should('have.value', this.loginJson.masterCoder.email);
        cy.get('#Password').type(this.loginJson.masterCoder.password).should('have.value', this.loginJson.masterCoder.password);
        cy.get('.button-label.ng-binding').and('be.visible').click();
    })
});

Additional Info (images, stack traces, etc)

cypresserror

  • Operating System: Windows10 64bit
  • Cypress Version: 1.4.1
  • Browser Version: 63.0.3239.132

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions