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

    gray-kilobyte-89541

    02/15/2023, 12:59 PM
    ok, done, new lesson https://cypress.tips/courses/network-testing/lessons/bonus87
  • g

    great-arm-27075

    02/15/2023, 4:57 PM
    Actually, my project is private, so eventually you gonna need a VPN to access app. I can create a different Cypress project with failing test included, but don't know you can run it on your machine. Happy to here you thoughts
  • b

    brave-river-4142

    02/15/2023, 6:31 PM
    hi guys, did someone knows a good class of cypress? my company wants to pay me to train
  • g

    gray-kilobyte-89541

    02/15/2023, 6:32 PM
    @nutritious-restaurant-91514 online workshops, my advanced courses (https://cypress.tips/courses or https://cypress.tips/workshops)
  • g

    gray-kilobyte-89541

    02/15/2023, 6:32 PM
    well, without any details or public repo, it is hard to say what is going on
  • n

    nutritious-restaurant-91514

    02/15/2023, 6:49 PM
    Doing one soon, I’d be delighted if you join https://filiphric.com/workshop/cypress-core-february-2023
  • t

    thousands-house-85089

    02/16/2023, 12:41 PM
    Bit of a weird issue here: So when working on a new test in Open mode, I'm noticing at one point the Cypress UI seems to 'hang' for a few seconds, then carries on. I've tried working through a few debugging steps but doesn't seem to be anything wrong with our website, the test code etc. I'm starting to think that it's just the Cypress UI can't keep up with the timeline updates for a lot of assertions all at the same time. I ran the same test on Run mode (headless) and watched the recording back, it does hang in the same place but much less than when running it in Open mode. Not really sure how to handle this one, I think it's safe to just commit and let the test run in CI but has anyone else experienced this or similar?
    w
    • 2
    • 2
  • m

    many-engine-97646

    02/17/2023, 12:44 PM
    Hello, everyone. I'm struggling with implementing cucumber-preprocessor. Most of the tutorials and videos that are presented in net are outdated and are for the older Cypress versions. For example, it's mentioned that it's necessary to add the following code in cypress.json file. But cypress.json is not presented in most recent versions. I've found that cypress.config.json file is used instead. But when I'm adding this code in cypress.config.json file, I'm getting an error. Could anybody help me with that? { "testFiles": "**/*.feature" }
    w
    • 2
    • 5
  • m

    mysterious-psychiatrist-29678

    02/17/2023, 1:50 PM
    hey. what would you suggest if I want to create a reusable function for getting access token using cy.request() and return with the token itself? I don't intend to put into an it() as will be using many times across the whole context, however can't place into commands.js as it doesn't return value.
  • m

    mysterious-psychiatrist-29678

    02/18/2023, 11:33 PM
    also what would you suggest whether using localStorage or env variable to store API key got runtime?
    d
    • 2
    • 10
  • r

    rich-pharmacist-74804

    02/19/2023, 12:55 PM
    Greeting all! Can anyone enlighten me on the error code?
    Copy code
    [1291149:0219/123219.943873:ERROR:display.cc(285)] Frame latency is negative: -7.025 ms
    . I tried googling but I didn't get the answer. Thank you
    d
    • 2
    • 2
  • c

    careful-greece-52794

    02/19/2023, 5:55 PM
    Hi, I need help debugging my tests in cypress through test data
    d
    • 2
    • 3
  • c

    careful-greece-52794

    02/19/2023, 5:56 PM
    The test runs quite all right but at some point has error messages, I'm certain it's not selectors so it has to be test data. How do I go about this?
  • e

    elegant-ghost-26278

    02/20/2023, 5:26 AM
    Hi guys, I am working on cypress but wanted to know do we need to be expert in js to use the tool efficiently
    d
    b
    n
    • 4
    • 5
  • g

    great-tomato-49988

    02/20/2023, 1:07 PM
    @here is there any api or somehow we can do Concurrent testing using Cypress
  • r

    rapid-yak-87393

    02/20/2023, 4:37 PM
    Hi @great-tomato-49988, parallelization is a feature of Cypress Cloud, which you can checkout here: https://www.cypress.io/cloud/#smart_orchestration There are also some plugins that can accomplish it as well if you do the set up yourself. @gray-kilobyte-89541 just released one recently you can checkout here: https://glebbahmutov.com/blog/cypress-parallel-free/
  • i

    icy-camera-47315

    02/20/2023, 5:12 PM
    Hi @hereI have a test that is clicking a button to download a file, however the way it gets the file is through a URL. Because of this behavior Cypress assumes a new page is being loaded when you click the button and therefore my test fails because it’s waiting for a page to load which will never happen. I have tried asking around my project and have tried googling but I haven’t been able to find anything useful, can anyone help in that regard please?
    w
    • 2
    • 2
  • s

    swift-kitchen-62493

    02/21/2023, 10:34 AM
    it came from nowhere, idk what to do, pls help
  • s

    salmon-appointment-11335

    02/21/2023, 11:15 AM
    if you are trying to get some value from env variables you have everything explained here https://docs.cypress.io/guides/guides/environment-variables you should use Cypress.env instead of process.env
  • q

    quick-pizza-16489

    02/21/2023, 3:26 PM
    Can Cypress be used for E2E testing for just backend APIs that are comprised of many microservices, lambda/cloud functions, and various AWS services -- even if it doesn't have a frontend app for most of its features?
  • r

    rapid-yak-87393

    02/21/2023, 3:32 PM
    Yes! While not officially supported you can test APIs with Cypress. There are some great plugins out there to do so, and we are actually doing an event with the author of one of them this Thurs to dive into it: https://community.cypress.io/events/details/cypress-cypress-hq-presents-testing-apis-with-cypress/?utm_source=docs&utm_medium=promo_banner&utm_campaign=testing_apis_with_cypress
  • q

    quick-pizza-16489

    02/21/2023, 3:36 PM
    Awesome! Thanks!
  • r

    rapid-yak-87393

    02/21/2023, 3:37 PM
    One of our Cypress ambassadors has a recent blog post series on the subject as well: Part 1: https://www.cypress.io/blog/2023/02/13/implementing-api-testing-like-a-pro-1/ Part 2: https://www.cypress.io/blog/2023/02/21/implementing-api-testing-like-a-pro-2/
  • f

    freezing-scientist-25758

    02/21/2023, 4:22 PM
    Idk if this is much of a cypress question but I am having an issue with cypress. I have a cshtml page that I need to inject a
    data-cy
    or a class so I can select the element as the select and input elements are not on the page for me to select and cypress keeps giving me an error stating that
    the element is not visible because it has an effective width and height of: 402 x 0 pixels. Fix this problem, or use {force: true} to disable error checking.
    I want to fix the problem but idk how since it is cshtml and the HTML for this can’t be found anywhere. I tried JQuery and JavaScript to get the element by the ID and add a class but since there are no classes already, it is failing (at least I think that is why no errors in the console). Not shere who or where to ask for this.
    d
    • 2
    • 1
  • f

    freezing-scientist-25758

    02/21/2023, 4:24 PM
    These are data tables so I think it is a jquery thing.
  • a

    acceptable-solstice-90676

    02/22/2023, 3:27 PM
    Greetings everyone, I have a situation with Cypress and CI (AWS codebuild) and sometimes there's an endpoint that fails in CI but doesn't do it locally. I have added cy.wait() in case this issue was due to fast speed, however that does not seems to solve the problem. Have anyone had this same issue? and how you solved it?
  • l

    late-planet-4481

    02/22/2023, 5:50 PM
    When you move between local and cloud you'll have to consider whether network traffic is allowed to the destination. You'll need to verify connectivity between AWS and your endpoint, outside of Cypress (try a
    ping
    command, or
    Test-NetConnection
    in PowerShell). This could easily be the problem if you're trying to hit an internal test server.
  • a

    acceptable-solstice-90676

    02/22/2023, 5:52 PM
    Thank you, I will try that
  • d

    damp-oxygen-34939

    02/22/2023, 8:50 PM
    Hello all . I am trying to implement cypress tests to sign up into a website using a mailslurp temporary mail service . I had asked this a few days ago and someone posted a guide . However , I am not able to figure out the set up part and running into errors . Is there a video guide on how to implement sign up tests using mailslurp ?
  • b

    busy-nest-13431

    02/23/2023, 2:43 AM
    Hi - can cypress 12 be run with yarn 3? I noticed the cypress factory docker images don't provide the option for yarn 3...
1...112113114...127Latest