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

Setup cypress test for book #1599

Conversation

LighthouseKeeperYN
Copy link
Contributor

@LighthouseKeeperYN LighthouseKeeperYN commented Mar 30, 2022

close #1548

No automation for now, to run test execute "yarn test:e2e" and click on the test you want to run in appeared window.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Improvement/refactoring (non-breaking change that doesn't add any feature but make things better)

// so we must tell it to visit our website with the `cy.visit()` command.
// Since we want to visit the same URL at the start of all our tests,
// we include it in our beforeEach function so that it runs before each test
cy.visit('https://example.cypress.io/todo')
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this PR still in progress?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

those are just an examples. I deiced to leave them for quick reference.

@m0ksem m0ksem mentioned this pull request Apr 17, 2022
2 tasks
@asvae
Copy link
Member

asvae commented Jun 8, 2022

I suggest to remove examples from this repo. No much value.

+ tests for every single component
- cypress examples
@damirJa
Copy link
Contributor

damirJa commented Jun 15, 2022

@asvae @m0ksem
Guys I've fixed tests script, added fixtures generator and script for CI usage, please check it out

@m0ksem
Copy link
Collaborator

m0ksem commented Jun 16, 2022

Sync with develop, but yarn test:e2e not working for me.

ERROR  TypeError: runner.on is not a function
TypeError: runner.on is not a function

@m0ksem m0ksem marked this pull request as draft July 14, 2022 12:42
@m0ksem m0ksem added the tests Refers to testing label Jan 30, 2023
@asvae
Copy link
Member

asvae commented Jun 23, 2023

Closing this because we have plans to use storybook, which handles all our cases out of the box

@asvae asvae closed this Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Refers to testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vue-book test
4 participants