https://cypress.io logo
Join DiscordCommunities
Powered by
# general-chat
  • b

    bulky-sundown-74498

    04/14/2021, 8:28 PM
    But we are stepping as always on the shoulders of giants
  • l

    lively-coat-62601

    04/14/2021, 8:30 PM
    Really well done! I'm looking forward to experimenting with Cypress for some updates to a design system we work with at Letterhead, thanks to that talk!
  • s

    stocky-dream-36427

    04/14/2021, 8:30 PM
    @User they're so sneaky tho right?!
  • s

    stocky-dream-36427

    04/14/2021, 8:30 PM
    You almost don't notice you've gotten test coverage 😼
  • s

    stocky-dream-36427

    04/14/2021, 8:31 PM
    @User fair warning. We are in early stages
  • s

    stocky-dream-36427

    04/14/2021, 8:32 PM
    If you can get your project's webpack config to work, then you should be good to go, but that's the spot we're struggling w right now
  • s

    stocky-dream-36427

    04/14/2021, 8:32 PM
    Our API itself is very stable... just the initial bundling setup needs some better DX
  • l

    lively-coat-62601

    04/14/2021, 8:32 PM
    We're pretty early-stage to, as a company and as an app, so that might not be a bad thing.
  • s

    stocky-dream-36427

    04/14/2021, 8:33 PM
    Yeah. Any fresh boilerplate will work fine
  • s

    stocky-dream-36427

    04/14/2021, 8:33 PM
    just like mismatched webpack 3 and various other plugin versions get a little weird. That's what we're working through this week/next two weeks
  • l

    lively-coat-62601

    04/14/2021, 8:34 PM
    I'll keep that in mind!
  • s

    stocky-dream-36427

    04/14/2021, 8:34 PM
    Yep. We're here for you if you need anything. We also likely have a boilerplate for it... need to get those cataloged in a README or in the docs
  • l

    lively-coat-62601

    04/14/2021, 8:35 PM
    To be honest, I'm pretty sure this would be the first any testing we'd be brining into our design system, so it doesn't need to necessarily live in said design system and we can be pretty flexible with it.
  • s

    stocky-dream-36427

    04/14/2021, 8:38 PM
    I'm excited. 😻
  • a

    ancient-wire-34126

    04/14/2021, 8:41 PM
    We currently do testing in Jest, and the docs/styleguide is Storybook. The docs part is fine, but testing in Jest can be a challenge at times and, like Jess said, you're sort of assuming that your tests run fine, even if they pass. You're betting that you didn't make a mistake anywhere or overlooked something. You can probably mitigate quite a bit by using libraries like xstate, but it's still a good idea to "test like a user would", so Cypress is a welcome tool. At some point we'll probably leave Jest test for pure unit tests and switch to Cypress for component tests. We'll be using it for integration/e2e tests anyway.
  • s

    stocky-dream-36427

    04/14/2021, 8:43 PM
    Yeah @User that's what we're imagining as the future. I do think that people will tend toward rolling their own Styleguide and docs system that is more powerful than storybook.
  • s

    stocky-dream-36427

    04/14/2021, 8:43 PM
    Storybook's main value (imho) is acting as this visual REPL
  • s

    stocky-dream-36427

    04/14/2021, 8:44 PM
    the fact that it does documentation and styleguides is almost an aside, yknow?
  • s

    stocky-dream-36427

    04/14/2021, 8:44 PM
    I definitely think Jest still has a place in unit testing. 🙂
  • a

    ancient-wire-34126

    04/14/2021, 8:45 PM
    Yeah it seems to be slowly transforming as to what its purpose is (Storybook). I find it very useful for our component library and even to dev against, but if easier or better ways become available, I usually switch at some point haha.
  • b

    bulky-sundown-74498

    04/14/2021, 8:47 PM
    @User I love storybook (I am even a contributor) but if you want to customize the layout, you have to do it in React
  • b

    bulky-sundown-74498

    04/14/2021, 8:48 PM
    not very fun for developers of Vue components
  • b

    bulky-sundown-74498

    04/14/2021, 8:48 PM
    I prefer to adopt what Chakra, VUetify and Bootstrap have done
  • b

    bulky-sundown-74498

    04/14/2021, 8:49 PM
    Use a vuepress/vitepress/nuxt site and make it good looking
  • a

    ancient-wire-34126

    04/14/2021, 8:51 PM
    Yeah I agree. We actually started out with vitepress, but it was incredibly buggy and feature poor, so not really useful (2/3 months ago or so) Didn't want to do VuePress because our stack is Vite/Vue3, so really not a ton of options
  • a

    ancient-wire-34126

    04/14/2021, 8:51 PM
    Also at some point you have to choose something that at least works, can't change forever 😄
  • b

    bulky-sundown-74498

    04/14/2021, 9:06 PM
    yes that is true
  • r

    rough-fish-62491

    04/15/2021, 4:01 PM
    Hello 👋 , I am working with Cypress and I have had some doubts, where can I send them?
  • b

    bulky-sundown-74498

    04/15/2021, 4:15 PM
    @User Depending on wether they are "issues" with Developer Experience -> Github Issues or if they are doubts about you code patterns -> #763105090679865354 or if they are doubts about the future of what we do -> post here or if you are only using e2e -> #755913900024791046 or if you want to give us feedback on component testing -> #755921564108587038
  • r

    rough-fish-62491

    04/15/2021, 4:16 PM
    Great! Ty
12345...127Latest