Skip to content

Add more E2E tests#27

Open
MrBlenny wants to merge 2 commits intostemn:stagingfrom
Quantumfishcake:feature/quant-tests1
Open

Add more E2E tests#27
MrBlenny wants to merge 2 commits intostemn:stagingfrom
Quantumfishcake:feature/quant-tests1

Conversation

@MrBlenny
Copy link
Member

  • Preview CAD
  • Profile Page
  • Pricing poge

@MrBlenny
Copy link
Member Author

@Quantumfishcake Please sir, may I have some more code

it('Should have plan names', () => {
cy.visit(`${url}/pricing`)
cy.get(elByDataTag('pricingColumn')).then((pricingColumns) => {
const wraps = (x: number) => cy.wrap(pricingColumns[x])
Copy link
Member Author

@MrBlenny MrBlenny Sep 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const cyPricingColumns= pricingColumns.map(cy.wrap)
cyPricingColumns[0].contains('Open-source')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants