https://cypress.io logo
Join Discord
Powered by
# e2e-testing
  • m

    magnificent-rose-67179

    10/27/2021, 1:46 PM
    I tried without the waitUntil, but the command just expire after 4000ms, even if the snackbar is on the screen
  • m

    magnificent-rose-67179

    10/27/2021, 1:47 PM
    as it's an element which is attached in the DOM after the form is submitted I don't know what I should do in term of selector / cy method
  • m

    magnificent-rose-67179

    10/27/2021, 1:49 PM
    Another weird thing is that my form request "createProject" is like super slow in Cypress
  • m

    magnificent-rose-67179

    10/27/2021, 1:49 PM
    it froze the test for multiple seconds
  • m

    magnificent-rose-67179

    10/27/2021, 1:49 PM
    if I test it manually it's sub 100ms
  • m

    magnificent-rose-67179

    10/27/2021, 5:23 PM
    After a day spent chasing bugs, I think I pinpointed the issue
  • m

    magnificent-rose-67179

    10/27/2021, 5:24 PM
    It seems that
    cypress-testing-library
    v8 isn't working correctly with cypress.
  • m

    magnificent-rose-67179

    10/27/2021, 5:24 PM
    I downgraded it to the last v7 version and everything is back to normal !
  • m

    magnificent-rose-67179

    10/27/2021, 5:24 PM
    Now we need to investigate what it broken exactly. 😅
  • r

    rapid-lighter-25958

    11/03/2021, 11:29 AM
    Hi there, I am working on automate shopify account via cypress automation tool but unable to login due to captcha. any suggestion on the same.
  • r

    rapid-lighter-25958

    11/03/2021, 11:29 AM
    thanks
  • i

    important-river-75795

    11/03/2021, 12:56 PM
    Will be hard if you can't disable it during tests or have its api key to bypass it , maybe look into catcha solving services? 😄
  • r

    rapid-lighter-25958

    11/03/2021, 1:05 PM
    Thanks @User : for your message, I really appreciate it. Yes I have tried to disable it in the preferences and api but does not work for me. I have also raised a ticket with Shopify and no fruitful results I have got. It would be highly appreciated if someone have done this before... Please let me know . Thanks in advance. 🙂
  • a

    abundant-hairdresser-6546

    11/07/2021, 4:28 PM
    #755913900024791046 Hi there, Can anyone please let me know the solution with a appropriate example to read the data from CSV or . txt file in cypress Thanks in Advance 😌
  • k

    kind-minister-59159

    11/08/2021, 9:26 PM
    Does it have to be a CSV? I've done it with a .json file
  • c

    calm-doctor-58650

    11/08/2021, 11:31 PM
    For a text file you can just use cy.readFile, documentation here: https://docs.cypress.io/api/commands/readfile#Read-a-txt-file
  • c

    calm-doctor-58650

    11/08/2021, 11:33 PM
    For CSV, you'll need to use a plugin or task function to read the file and convert it. There are some examples here: https://stackoverflow.com/questions/61934443/read-excel-files-in-cypress https://blog.knoldus.com/reading-data-from-excel-file-cypress/
  • f

    fast-mechanic-74018

    11/09/2021, 8:42 AM
    Hello everyone! Anyone has experience with running tests in parallel using Cypress with Cucumber?
  • f

    fast-mechanic-74018

    11/09/2021, 8:43 AM
    As far as I could see, most packages/plugins support only Mocha/spec files.
  • c

    calm-doctor-58650

    11/09/2021, 4:42 PM
    There are two options, you can use the cypress-cucumber-preprocessor plugin, which converts feature files and step definitions into Cypress test code. This is a third-party/community plugin: https://github.com/TheBrainFamily/cypress-cucumber-preprocessor. Here is a video demonstrating how to use it:

    https://www.youtube.com/watch?v=qupyblTFqd8&list=PLzDWIPKHyNmK9NX9_ng2IdrkEr8L4WwB0&index=14&t=313sâ–¾

    Other option -- here is a blog post with an example of how to use Given, When, Then syntanx with Cypress without using Cucumber or a plugin. https://dev.to/walmyrlimaesilv/using-the-keywords-given-when-then-with-cypress-but-without-cucumber-118p You asked about running in parallel. Cypress tests can be parallelized by spec file using the Cypress Dashboard. I believe that if you are using the preprocessor, a feature file converts to a spec file, but I haven't tested it in a while with multiple files.
  • f

    fast-mechanic-74018

    11/09/2021, 6:36 PM
    Yeah, I'm using cypress-cucumber-preprocessor to utilize Cucumber into my project, however I've been struggling with running test in parallel.
  • c

    calm-doctor-58650

    11/09/2021, 6:46 PM
    Are you using the Cypress Dashboard to parallelize? What type of issues are you having?
  • g

    gray-kilobyte-89541

    11/10/2021, 3:26 PM
    New blog post: Test your sitemap using Cypress.io https://glebbahmutov.com/blog/test-sitemap/
  • a

    acoustic-flag-62377

    11/11/2021, 8:14 PM
    Anyone having trouble testing login with "sso" in chrome 95?
  • a

    acoustic-flag-62377

    11/11/2021, 8:19 PM
    I have a login test, where the application uses the "SSO" method and was working normally before the chrome version upgrade.
  • g

    gray-kilobyte-89541

    11/15/2021, 3:40 PM
    New video: Disable The Input Element Until The Application Is Ready To Avoid Flake

    https://youtu.be/-Jr9vLpa1Akâ–¾

  • u

    user

    11/23/2021, 7:08 AM
    Hi everyone 👋 I'm trying to set up cypress with github-actions and I'm receiving the following error during the build:
    [FAILED] EACCES: permission denied, open '/github/home/.cache/Cypress/9.0.0/binary_state.json'
    Any idea what causes this? I followed the steps in https://docs.cypress.io/guides/continuous-integration/github-actions#Cypress-GitHub-Action.
  • u

    user

    11/23/2021, 7:08 AM
    here's the full error log
  • r

    rich-address-79346

    11/23/2021, 11:36 AM
    I need your help guys: Would you say, E2E/Integration testing is more important then unit testing (in the frontend-environment)?
  • g

    gray-kilobyte-89541

    11/23/2021, 11:39 AM
    From https://slides.com/bahmutov/testing-in-a-large-org
1...262728...192Latest