Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alias names fail if they include dots #3512

Closed
bahmutov opened this issue Feb 16, 2019 · 2 comments

Comments

2 participants
@bahmutov
Copy link
Collaborator

commented Feb 16, 2019

Cypress 3.1.5

This alias works fine

cy.spy(obj, 'foo').as('foo')
cy.get('@foo')

This crashes and burns during cy.get

cy.spy(obj, 'foo').as('obj.foo')
cy.get('@obj.foo')

screen shot 2019-02-16 at 10 44 23 am

Nice touch: the Command Log shows that spy is actually working, it is just cy.get that fails

@jennifer-shehane

This comment has been minimized.

Copy link
Member

commented May 22, 2019

The code for this is done in #4248, but this has yet to be released. We'll update this issue and reference the changelog when it's released.

@cypress-bot

This comment has been minimized.

Copy link

commented May 23, 2019

Released in 3.3.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.