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

    fancy-xylophone-76318

    11/09/2022, 2:24 AM
    Hi All, I am unable to generate reports in cypress 10.11.0Installed cypress 10.11.0 for my end to end tests. Reports are not generating for my test runs. I have installed mochawesome, mochawesome merge etc added reporter and reporter options at cypress.config.js and import 'cypress-mochawesome-reporter/register' at e2e.js
  • f

    fancy-xylophone-76318

    11/09/2022, 2:25 AM
    and also, I cant login to cypress dashboard, page shows blank
  • p

    proud-salesclerk-36355

    11/09/2022, 7:37 AM
    Hi everyone. Is there any way to call clear App Data? I know, I can do it like this: https://docs.cypress.io/guides/references/troubleshooting#To-clear-App-Data But I need it in CI build machine automatically (by code)
  • b

    brash-scientist-28014

    11/09/2022, 8:23 AM
    cheers! is the structure clear what how the error would pop up?
  • a

    agreeable-doctor-59104

    11/09/2022, 9:18 AM
    Hi Everyone, is it possible to get pageObject values in command.ts under cy.session() and origin , but its giving me pageObj.mymethod() is not a function
    • 1
    • 2
  • p

    proud-motorcycle-99622

    11/09/2022, 9:50 AM
    Is it possible to add a delay to retries when a test fails? For example, test fails and I want the retry to happen with 5-10 seconds delay.
  • f

    fresh-doctor-14925

    11/09/2022, 10:08 AM
    Not something I've ever tried. You could add a
    wait
    to the
    afterEach
    step, but that would also affect your first run
  • s

    stale-optician-85950

    11/09/2022, 12:14 PM
    I'm getting this error too, all I did was upgarde to v11.0.0 in our monorepo (on a branch thankfully!)
    Copy code
    Error: Webpack Compilation Error
    ./cypress/e2e/components/testname.int.test.cy.ts
    Module build failed (from /Users/***/Library/Caches/Cypress/11.0.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/@cypress/webpack-preprocessor/dist/lib/cross-origin-callback-loader.js):
    
    Please verify that the package.json has a valid "main" entry
  • a

    acceptable-hamburger-48790

    11/09/2022, 12:29 PM
    I just tried - i had 10.1 and upgraded to 10.11 and i can launch test runner without any issue
  • s

    stale-optician-85950

    11/09/2022, 12:32 PM
    It's the latest version from yesterday v11 https://docs.cypress.io/guides/references/changelog#11-0-0
  • s

    stale-optician-85950

    11/09/2022, 12:34 PM
    @adorable-smartphone-87280 Bug is logged here https://github.com/cypress-io/cypress/issues/24611
  • a

    acceptable-hamburger-48790

    11/09/2022, 12:45 PM
    thanks, let me check what exactly going on
  • h

    hundreds-breakfast-16776

    11/09/2022, 1:09 PM
    Hi I keep getting this error anytime I try to run cypress
  • f

    fresh-doctor-14925

    11/09/2022, 1:11 PM
    Judging from the error it looks like something to do with your webpack config. Could you share your cypress.config.js?
  • c

    careful-insurance-62240

    11/09/2022, 1:20 PM
    I am able to launch cypress runner and run my all Test case in v11.0.0
  • e

    enough-fireman-4779

    11/09/2022, 1:25 PM
    hello, after update to 11.0.0 i'm not able to run my tests.. i'm receiving this error.. any ideas? I saw above some similar issues, but it doesn't saying anything for the package.json
  • f

    fresh-doctor-14925

    11/09/2022, 1:35 PM
    Yeah, there's nothing out of the ordinary there from what I can see. I suggest that you try asking in the #755921564108587038 channel. You may be able to get some guidance with your webpack setup in there
  • h

    hundreds-breakfast-16776

    11/09/2022, 1:35 PM
    Thanks Liam
  • s

    stale-optician-85950

    11/09/2022, 1:36 PM
    Known bug https://discord.com/channels/755913899261296641/763105090679865354/1039880575567282277
  • s

    stale-optician-85950

    11/09/2022, 1:38 PM
    Specific to having this flag as true
    experimentalSessionAndOrigin: true
    Works for me too if that flag is
    false
    Strange that their internal test suite didn't pick this bug up 😆
  • e

    enough-fireman-4779

    11/09/2022, 1:39 PM
    also, last few days i'm facing another one issue. After launching a website which needs log in, i'm receiving blank page! I'm using cypress 1 year for the same project and suddenly shows a blank page... didn't find any solution yet.. any ideas for this?
  • e

    enough-fireman-4779

    11/09/2022, 1:39 PM
    where did you set up the "experimentalSessionAndOrigin: false," ?
  • s

    stale-optician-85950

    11/09/2022, 1:40 PM
    In
    cypress.config.ts
    Copy code
    e2e: {
        baseUrl: process.env.CYPRESS_BASE_URL || 'http://localhost:3000',
        experimentalSessionAndOrigin: true,
  • e

    enough-fireman-4779

    11/09/2022, 1:41 PM
    meh, doesn't work for me 🥺
  • w

    witty-park-80264

    11/09/2022, 1:47 PM
    hi everybody:) I have problem with loading my test - it work very slow.... After refactoring it may take about 5 minutes
  • f

    fresh-doctor-14925

    11/09/2022, 2:03 PM
    Going to need more information if you want a useful answer. e2e or component test? what cypress version? what machine are you running on? do you have a video recording of the test? What did you do as part of your refactor
  • w

    witty-park-80264

    11/09/2022, 2:38 PM
    Without video record, all type of test, 9.7.0 version
  • f

    fresh-doctor-14925

    11/09/2022, 2:46 PM
    Ok, it's still not enough information. If you can provide a video recording or a repo with your test code, you may get some helpful answers. Right now, I can't help you
  • w

    wooden-monitor-57304

    11/09/2022, 3:50 PM
    Anyone else getting an error with mocha package after updating to Cypress 11?
    Error: Cannot find module 'mocha-7.0.1'
    Error loading the reporter: cypress-multi-reporters
    My mocha version is
    "mocha": "^10.1.0"
    Idk why is looking for 7.0.1
  • w

    wooden-monitor-57304

    11/09/2022, 3:57 PM
    Is only happening with cypress 11, even with 10.11 works still fine.
1...199200201...252Latest