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

    nutritious-restaurant-91514

    10/23/2020, 7:30 AM
    seems ok now, had no issues all morning
  • n

    nutritious-restaurant-91514

    10/23/2020, 7:32 AM
    thanks for sorting it out. btw i checked statuspage, but there was no information on this. I didn’t know whether I should report it or not and if you are aware πŸ™‚
  • s

    stocky-dream-36427

    10/23/2020, 8:30 AM
    Thanks for the ping, it’s definitely welcome πŸ™πŸ»
  • g

    great-continent-3057

    10/29/2020, 5:50 PM
    oh good
  • g

    great-continent-3057

    10/29/2020, 5:51 PM
    this will be helpful. πŸ˜„
  • a

    ancient-appointment-66951

    10/30/2020, 6:30 AM
    hmm I did
    yarn add @cypress/webpack-preprocessor
    . it specifes
    dist
    as the
    main
    in
    package.json
    but nothing inside there when I look in node_modules. Looks lke something got busted during the monorepo migration
  • a

    ancient-appointment-66951

    10/30/2020, 6:34 AM
    I made an issue for now. https://github.com/cypress-io/cypress/issues/9037
  • s

    stocky-dream-36427

    10/30/2020, 2:17 PM
    Hey. Thanks.
  • s

    stocky-dream-36427

    10/30/2020, 2:18 PM
    I thought this was a build only issue last night. We changed circle CI and likely broke it. Fixing it now
  • g

    gray-kilobyte-89541

    11/03/2020, 5:48 PM
    HN is discussing testing crab https://news.ycombinator.com/item?id=24980263
  • s

    stocky-dream-36427

    11/03/2020, 7:56 PM
    Nice!
  • u

    user

    11/15/2020, 4:40 PM
    I just started learning Vue.js , completely beginner. I am looking for few people who are new to Vue too. Learning together is fun, in a small group like 5-10 people. In a group of hundreds or thousands, many people usually ignore the questions and doubts, that's why I decided to make a telegram group. Let me know if u want to join. if you are beginner and ready to learn together and help each other.
  • s

    sparse-jackal-93514

    11/16/2020, 11:11 PM
    If I want to assert that my app made a request without letting the request hit a real server, would I use
    route2
    ?
  • n

    nutritious-restaurant-91514

    11/16/2020, 11:15 PM
    you can use route() too, just make sure you stub it
  • s

    sparse-jackal-93514

    11/16/2020, 11:18 PM
    Thanks, @User. I was under the impression that stubbing a response just overwrites the response coming back.
  • s

    sparse-jackal-93514

    11/16/2020, 11:18 PM
    the *real response
  • s

    stocky-dream-36427

    11/17/2020, 2:09 AM
    No, it can prevent it. It's an optional pass-through
  • s

    stocky-dream-36427

    11/17/2020, 2:10 AM
    You should use route2 if possible -- we tried to cleanup the API and it also has better support because it's a proxy-level interception instead of a client-side one
  • s

    stocky-dream-36427

    11/17/2020, 2:10 AM
    @User ^ πŸ™‡β€β™€οΈ
  • s

    sparse-jackal-93514

    11/18/2020, 6:31 PM
    Thanks, @User is
    route2
    a drop-in replacement if I'm using the
    cy.route(method, url)
    implementation?
  • s

    stocky-dream-36427

    11/18/2020, 9:53 PM
    I wish πŸ™‚
  • s

    stocky-dream-36427

    11/18/2020, 9:54 PM
    Here's the difference https://docs.cypress.io/api/commands/route2.html#Comparison-to-cy-route
  • s

    stocky-dream-36427

    11/18/2020, 9:55 PM
    It will soon move to be the main way, so you should use it
  • n

    nutritious-restaurant-91514

    11/18/2020, 11:40 PM
    how soon? I’m wondering about the migration process. that might be a loooong transition
  • s

    stocky-dream-36427

    11/19/2020, 2:09 PM
    I don't think the migration will be that heavy -- it depends on what features you use
  • s

    stocky-dream-36427

    11/19/2020, 2:09 PM
    Give it a try @User, you can use both at the same time.
  • n

    nutritious-restaurant-91514

    11/19/2020, 2:12 PM
    I actually using it a lot, even wrote a blog about it already πŸ˜„ I mostly use route() command for waiting for api responses and then checking the response body. At the moment I often use combination of both, they seem to play well together, but it seems they are using slightly different options and I feel that there may be some migration to be done once the route() command becomes deprecated
  • s

    stocky-dream-36427

    11/19/2020, 2:17 PM
    ah... ok
  • b

    brainy-furniture-90346

    11/20/2020, 9:03 PM
    @User here are some more details on the plans for eventually replacing cy.route with cy.http: https://github.com/cypress-io/cypress/pull/4176#issuecomment-731272367 we don't plan on breaking cy.route for a while, and it will be available as a plugin even when it's no longer in core, since as you say many people have elaborate setups using cy.route
  • n

    nutritious-restaurant-91514

    11/20/2020, 9:22 PM
    Thanks Zach, I’m subscribed to the issue I was glad to read your comment today πŸ‘ I think it is a very good direction. Immediately I thought that aliases made with this command should have different color - spies are red, DOM elements are blue, network requests are yellow, maybe http() could be purple πŸ™‚ if people are going to be using both route and http, I think the color distinction might be useful
12345...127Latest