We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@brian-mann commented on Mon Jun 12 2017
WIP
cy.visit('/') cy .contains('Guides') .click() .contains('h1', 'Why Cypress') .find('.bar') .should('have.class', 'baz') cy .url() .should('eq', 'foo') .then(() => { cy .get('form') .submit() })
cy .visit('/') cy .contains('Guides') .click() .contains('h1', 'Why Cypress') .find('.bar') .should('have.class', 'baz') cy .url() .should('eq', 'foo') .then(() => { cy .get('form') .submit() })
cy.visit('/') cy.contains('Guides') .click() .contains('h1', 'Why Cypress') .find('.bar') .should('have.class', 'baz') cy.url() .should('eq', 'foo') .then(() => { cy.get('form') .submit() })
@jennifer-shehane commented on Wed Jun 14 2017
There are actually other cases where some code examples are chained on one line. This is how I would write this example:
cy.visit('/') cy.contains('Guides').click() .contains('h1', 'Why Cypress').find('.bar').should('have.class', 'baz') cy.url().should('eq', 'foo').then(() => { cy.get('form').submit() })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
@brian-mann commented on Mon Jun 12 2017
WIP
side + below
always below
multi line indented
always indented
multi line - to the side
@jennifer-shehane commented on Wed Jun 14 2017
There are actually other cases where some code examples are chained on one line. This is how I would write this example:
The text was updated successfully, but these errors were encountered: