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

    wonderful-whale-44360

    10/19/2022, 7:27 AM
    @acceptable-hamburger-48790 First i tried that API using Formdata thing in Postman application ,i will explain what exactly i done in that postman app.I selected method as 'POST' and some required URL and for BODY content i selected formdata .In that i give 2 key,values . 1st key as files for attachments and 2nd key as request for some descriptions and i sent it .i got response as 200 . I needed the same function in Cypress
  • m

    mammoth-garden-29870

    10/19/2022, 7:38 AM
    Ok
  • a

    adventurous-branch-18976

    10/19/2022, 8:01 AM
    Hi, does anyone had problem with reading CSV file with flag experimentalSessionAndOrigin turned ON on cy 10.10.0? I am testing downloading and editing CSV and when I turn on this flag then in my CSV file is printed some data, like script or something and I think it can be connected to flags modifyObstructiveThirdPartyCode: false, modifyObstructiveCode: true, cause those are printed in this file and it latest versions of cypress something was changed connected to those https://github.com/cypress-io/cypress/issues/22146. I attached this file. No matter what configuration of those flags modifyObstructiveThirdPartyCode, modifyObstructiveCode the error still happen, but on version 10.7.0 it works fine.
  • l

    lively-balloon-98986

    10/19/2022, 8:45 AM
    Hi all, i need help- i am running cypress 10.9.0 with NX - nx e2e web-app-e2e --watch all the tests are finished to run successfully when i am clicking on the steps inside , the runner is getting stuck is someone familiar with that issue?
  • n

    narrow-petabyte-18534

    10/19/2022, 9:26 AM
    Hi, eventhough I added "supportFile: false" in the cypress.config.js I get support file missing error when I run this in the terminal: npx cypress run --record --key efa2ffb0-c434-4b0c-8bb1-fcfa810f0815 , am i missing something?
  • a

    acceptable-hamburger-48790

    10/19/2022, 9:28 AM
    the flag supportFile has to be outside setupNodeEvent
  • a

    acceptable-hamburger-48790

    10/19/2022, 9:28 AM
    Its a flag that you add within e2e object
  • n

    narrow-petabyte-18534

    10/19/2022, 9:43 AM
    @acceptable-hamburger-48790 I added within e2e object and it threw this error in the terminal
  • n

    narrow-petabyte-18534

    10/19/2022, 9:44 AM
    config.js
  • a

    acceptable-hamburger-48790

    10/19/2022, 9:46 AM
    You are missing comma - Here is the reference module.exports = defineConfig({ e2e: { fixturesFolder: false, supportFile: false, viewportWidth: 200, viewportHeight: 200, defaultCommandTimeout: 1000, setupNodeEvents(on, config) { // implement node event listeners here }, }, })
  • n

    narrow-petabyte-18534

    10/19/2022, 9:53 AM
    @acceptable-hamburger-48790 Ah ok, thanks. It now ran the code but it says: missing spec file eventhough all spec files are within e2e folder:
  • a

    acceptable-hamburger-48790

    10/19/2022, 9:56 AM
    It would be easier for you if you load the project in VS Code and then try to execute/run/debug problems. An IDE gives you better clarity. Also double check if the file is there in the pattern shown in the terminal
  • m

    mysterious-belgium-25713

    10/19/2022, 10:22 AM
    From your screenshot it feels like you created a cypress project in your user root folder. Please create a real project folder and setup cypress within that folder
  • l

    limited-barista-33480

    10/19/2022, 1:38 PM
    @stale-optician-85950 Hi friend, of course, I can share the credentials and data necessary for you to reproduce the problem by private message, I also sent you the url of the website. An important note is that before reproducing the creation of the device step by step, a .sh file must be executed that I can execute when you go to enter the site and do the test. that file has nothing to do with the problem since that same file is executed when I enter through the normal chrome browser.
  • n

    nutritious-army-46708

    10/19/2022, 2:44 PM
    Does anyone know why cypress loads a blank page when I click a button. In console, It is "page navigation event (load)", the domain did not change. Thank you!
  • l

    little-planet-43809

    10/19/2022, 4:35 PM
    Hello!! Has anyone used cypress to test website created using Wordpress and PHP?
  • b

    broad-dentist-59213

    10/19/2022, 6:53 PM
    Hello everyone, There's a topic I'm very curious about which seems oddly missing from any online resource I could find - How do you create an environment that simulates real-world backend / infrastructure services for E2E testing? In most examples I see, they usually involve just running a simple Node.js API server. But real-world apps don't look like that - you have many interconnected and interdependent services running together (API server, microservices, database, cloud services, 3rd party APIs, etc.). This is a big problem I've been dealing with for a while. Do you use Docker, to run your services and mock any 3rd party services? Do you deal with this issue in other ways? Would love to hear from you guys or read any resources you have on the topic. Thanks!
  • a

    ambitious-eye-55281

    10/19/2022, 7:19 PM
    Hey all! I am working to look into using Cypress as a UI automation tool for testing our Salesforce Package. I am able to authenticate with the Saleforce API and seem to be coming across a lot of similar issues from folks. Has anybody had success with using Cypress for SF automation? I am experiencing this
  • a

    ambitious-eye-55281

    10/19/2022, 7:20 PM
    Hey all! I am working to look into using Cypress as a UI automation tool for testing our Salesforce Package. I am able to authenticate with the Saleforce API and seem to be coming across a lot of similar issues from folks. I am getting the same error mentioned in this thread: https://github.com/cypress-io/cypress/issues/2367#issuecomment-1281541200 Has anybody had success with using Cypress for SF automation?
  • a

    ambitious-eye-55281

    10/19/2022, 7:35 PM
    Hello, yes I have encountered a similar error. It looks like Cypress doesn't play well with Salesforce. I was able to get a successful authentication to occur within Playwright, so I am not sure what the issue could be
  • a

    ambitious-eye-55281

    10/19/2022, 7:35 PM
    Ditto this my friend. I can't seem to get past the login process no matter how hard I try
  • a

    ambitious-eye-55281

    10/19/2022, 7:36 PM
    For those dealing with errors when trying to log into Salesforce with Cypress and begin UI automation. Maybe this is helpful for some, though I am unable to get it to work. https://help.salesforce.com/s/articleView?id=000332032&type=1
  • a

    ambitious-eye-55281

    10/19/2022, 8:53 PM
    https://github.com/cypress-io/cypress/issues/24290 Sounds like the dev team is already on it, thank you for your help with this issue!
  • a

    ancient-tailor-59288

    10/20/2022, 6:27 AM
    Hi there#755913900024791046! What is the best way to integrate Cypress with Bamboo?
  • w

    wooden-megabyte-23794

    10/20/2022, 10:48 AM
    I have recently migrated the cypress project to v10 , when iam trying the run the terminal commands its still considering the cypress.json instead of cypress.config.js. Any thoughts why is it still picking that file ?For Example: npx cypress-tags run -e TAGS='@cart' --headed --browser chrome
  • w

    wooden-megabyte-23794

    10/20/2022, 10:48 AM
    Hi #755913900024791046
  • f

    fresh-doctor-14925

    10/20/2022, 10:57 AM
    Sounds to me like it's actually running Cypress 9 still, as 10 would trigger an error if it was being pointed to cypress.json. Is there a global installation that could be running v9? You should be able to see in the UI which version is actually running
  • w

    wooden-megabyte-23794

    10/20/2022, 10:58 AM
    its V10 , i have crossed checked and it is opening on the new V10 UI dashboard only
  • f

    fresh-doctor-14925

    10/20/2022, 11:00 AM
    Why not delete the
    cypress.json
    ? The migration wizard should have done this automatically
  • w

    wooden-megabyte-23794

    10/20/2022, 11:01 AM
    i dont have that file at all, it migrated to cypress.config.js, but still it shows cypress.json
1...124125126...192Latest