https://cypress.io logo
Join Discord
Powered by
# help
  • c

    curved-thailand-93694

    01/03/2023, 7:55 PM
    Thank you 🙂
  • b

    brave-doctor-62978

    01/03/2023, 8:12 PM
    has anyone else run into webpack not being able to resolve
    sass
    in component testing?
  • h

    high-hospital-28493

    01/03/2023, 8:18 PM
    Try it with cy.readFile(fileName.csv), force true is not best option. Try add more specific parameters as mimeType: 'text/csv'
  • b

    bumpy-insurance-8581

    01/03/2023, 8:31 PM
    It works like that but I want to use cy.fixtures() but it doesn’t work on one of my 2 cases. I don’t know why. I do the EXACT same thing
  • h

    high-hospital-28493

    01/03/2023, 8:47 PM
    Did you try it with "then" like:
    Copy code
    cy.fixture('fileName.csv').then(CSVFile => {
      input().selectFile(CSVFile, { force: true });
    });
  • b

    bumpy-insurance-8581

    01/03/2023, 8:58 PM
    I can try something like that but I’m not sure it will change something because when I don’t use fixture it works perfectly fine. I will try tomorrow, thanks for your answer !
  • g

    gray-kilobyte-89541

    01/03/2023, 11:59 PM
    what do you mean it "does not work"?
  • d

    dry-queen-61651

    01/04/2023, 12:40 AM
    How to incress connection retry count?
  • a

    abundant-petabyte-12702

    01/04/2023, 5:00 AM
    Hi everyone, did anyone have trouble upgrading their Cypress to the most recent version? I'm trying to upgrade from 9.7 to 12.3.0 I ran this command to upgrade
    yarn upgrade cypress@12.3.0
    And then I ran this to open it
    node_modules/.bin/cypress open --config-file <config-file>
    But when the window appears, I get the following error:
    TypeError: cypress/plugins/index.js file threw an error
    I didn't call the loadConfig method in my index.js file tho so I'm not too sure where to start, or how to edit
    node_modules/@bahmutov/cypress-extends/index.js:7:22
    I could only find this: https://github.com/cypress-io/cypress/issues/21912 Thanks in advance!
  • p

    powerful-agency-55160

    01/04/2023, 6:16 AM
    Hi guys, does cypress 12 support gherkin cucumber?
  • b

    bumpy-insurance-8581

    01/04/2023, 7:34 AM
    I mean that I use Gherkin with Cucumber. So I’ve made a
    Scenario Outline
    with 2 similar cases, but it seem, it can’t work properly with cy.fixtures()
  • n

    numerous-finland-95133

    01/04/2023, 8:05 AM
    Hi guys. Any one has tried Webkit for Safari in cypress. I am getting blank screen while running the playwrite in webkit Can someone help me with this issue?
  • g

    gorgeous-jewelry-94949

    01/04/2023, 9:14 AM
    i don't know what i did but i pressed something in the cypress dashboard and suddenly my js file changed to be xxx.cy.js and from that moment i don't see my spec...Any thoughts ?
  • h

    hallowed-mouse-50470

    01/04/2023, 9:17 AM
    hey Sachin , were you able to figure this out is it working if yes can you please elaborate how ?
  • b

    bumpy-insurance-8581

    01/04/2023, 9:42 AM
    So I tried this solution, it doesn’t work because it doesn’t select the file but the content of the file 🥲
  • b

    bumpy-insurance-8581

    01/04/2023, 9:45 AM
    Someone have the same problem here : https://github.com/cypress-io/cypress/issues/21936
  • g

    gray-kilobyte-89541

    01/04/2023, 11:34 AM
    ohh, in that case I cannot help, I don't use any cucumber preprocessors
  • b

    bumpy-insurance-8581

    01/04/2023, 11:36 AM
    It seem to appear on similar cases without using cucumber preprocessor
  • b

    bumpy-insurance-8581

    01/04/2023, 11:37 AM
    As shown on the link here : https://discord.com/channels/755913899261296641/763105090679865354/1060131852117098567
  • c

    cuddly-gold-42086

    01/04/2023, 11:40 AM
    Hello I have Cypress version 9.6.0 how can i use "cy.session()"? When i try i get this
    Copy code
    cy.session() requires enabling the experimentalSessionAndOrigin flag. The experimentalSessionSupport flag was enabled but was removed in Cypress version 9.6.0.
  • h

    helpful-quill-61406

    01/04/2023, 1:07 PM
    Hello Everyone, im using cypress with cucumber and using "multiple-cucumber-html-reporter " dependency to generate the reports....my question is how to show the scenarios in a feature file as skipped if the my test step in background is failed
  • b

    brave-doctor-62978

    01/04/2023, 2:09 PM
    are bounties allowed in here? for instance i have an issue that i cannot solve to save my life and i'd like to pay for the support to find a solution? not even sure who i'd ask about that?
  • b

    brave-doctor-62978

    01/04/2023, 2:10 PM
    for instance, my webpack cannot resolve
    sass
    i want to offer $50/hr for support to resolve it or $150 if its solved in the first hour. is that allowed?
  • b

    bitter-fountain-36713

    01/04/2023, 2:24 PM
    !duplicate
  • n

    nutritious-analyst-96582

    01/04/2023, 2:24 PM
    Uh oh, It looks like you have posted the same question in multiple channels. Help us prevent spam by removing any duplicates of your questions, Thanks! 😀
  • m

    magnificent-cat-57082

    01/04/2023, 4:27 PM
    i'm making an assertion inside a
    cy.intercept
    The assertion fails, but the test itself passes!
    Copy code
    cy.intercept('/combo/query_streaming', (req) => {
        console.log(req.body['query']);
        expect(req.body['query']).to.include('Acme Company');
        req.reply({ fixture: 'default_query.txt' });
    });
  • m

    magnificent-cat-57082

    01/04/2023, 4:28 PM
    Is this a known issue? I don't see any documentation for cy.intercept about how assertions can fail but the test itself will pass.
  • m

    magnificent-cat-57082

    01/04/2023, 4:39 PM
    Update: I was just doing the following actions: cy.intercept cy.visit Once I made an actual assertion on an element in the page, the assertion contained within intercept failing caused the test itself to fail as well.
  • g

    gray-kilobyte-89541

    01/04/2023, 4:46 PM
    Same as https://www.cypress.io/blog/2020/01/16/when-can-the-test-stop/ You want to wait for that intercept, I think I will need to add a lesson like this to my https://cypress.tips/courses/network-testing
  • k

    kind-photographer-81911

    01/04/2023, 11:15 PM
    Hi everyone. I have this in my ci.yaml and at least half the time, my tests are split across 9 containers but sometimes they're only split across 1 or 2 and the run time is double or triple in that case. Is there a reason this is happening? The cypress docs seem to indicate it should always work.
    Copy code
    cypress-test:
        needs: [workflow-info, build]
        runs-on: [self-hosted, k8s-large]
        env:
          WORKER_ENV: ${{ needs.workflow-info.outputs.cf-worker-env }}
          BASE_URL: ${{ needs.workflow-info.outputs.base-url }}
          API_BASE_URL: ${{ needs.workflow-info.outputs.api-host }}
        strategy:
          fail-fast: false
          matrix:
            containers: [1, 2, 3, 4, 5, 6, 7, 8, 9]
1...241242243...252Latest