https://cypress.io logo
Join Discord
Powered by
# general-chat
  • d

    dazzling-afternoon-58652

    06/12/2022, 5:10 AM
    Thank you very much
  • a

    adamant-magazine-53646

    06/12/2022, 5:03 PM
    hi team, i am unable to view the cypress screenshots when using gitlab pages for hosting mochawesome report
  • a

    adamant-magazine-53646

    06/12/2022, 5:05 PM
    i am getting broken images
  • c

    cuddly-analyst-14369

    06/12/2022, 9:12 PM
    Hello, in the footer of cypress.io, the link "Write your first test" is broken.
  • r

    rough-sugar-96535

    06/13/2022, 3:16 AM
    You can open an issue on GitHub
  • b

    billions-scooter-43110

    06/13/2022, 6:03 AM
    Hello team, I am planning to have a test automation workflow using Cypress, Jira, and Bitbucket pipelines where: I write my Cypress tests Integrate them in the bitbucket pipelines Give the project key found in my Cypress Dashboard as an option in the bitbucket pipelines Having my results in Cypress Dashboard after a successful run through the pipelines let the Jira issues automatically be raised on failure tests I know that I can create a Jira issue manually after navigating to the Cypress dashboard but I wonder if there's a way to let Cypress For Jira raise them automatically. If not is there any 3rd party tool I can use to let this scenario happen? Thanks in advance
  • b

    bored-vegetable-9131

    06/13/2022, 10:49 AM
    Hello - what's the best channel to ask about SSO setup? Is it possible to have multiple Organisations in Cypress tied to the same SSO domain.
  • w

    worried-portugal-2402

    06/13/2022, 12:44 PM
    Does anyone know why some of the checks won't run on this PR? There are no error messages or debugging info that I can find. https://github.com/cypress-io/code-coverage/pull/565
  • f

    fresh-doctor-14925

    06/13/2022, 2:05 PM
    If you're talking about SSO for the Cypress Dashboard, that's part of their business plan (https://www.cypress.io/pricing/). So it will be one for email support to handle
  • t

    thankful-butcher-96866

    06/13/2022, 2:48 PM
    Hi team, i'm having trouble working with mocha reports presenting the screenshot. I've tried to implement it in a jenkins pipeline and it never worked, the screenshot is not loaded into the html report. It recognizes that there is a screenshot and kinda puts it below the error, but the image in not shown.
  • b

    bitter-vase-17481

    06/13/2022, 3:16 PM
    I didn't see an issue for this already, so I passed it off to the DX team to give them a heads up. There is some work going on right now around some of the link mapping following the significant changes to documentation separating out end-to-end and component testing. It might have already been on their radar, but it definitely is now. Thanks for pointing it out!
  • q

    quiet-tent-29166

    06/13/2022, 4:15 PM
    Hello all sorry if this has been asked, and not sure where to ask - but FakerJS - it appears to have been dead for a while, now I see faker-js 7.20 community owned. Has anyone had any luck getting it to work with Cypress 10?
  • f

    famous-soccer-59423

    06/13/2022, 7:07 PM
    Hey Laxmi. Yes you can send the cypress reports to other person. One of the best ways is to user Github Pages. Deploy your report on the page, and send the person the link and anyone with the link can access your report
  • a

    able-family-92006

    06/13/2022, 8:14 PM
    can I collect coverrage on Vite React application?
  • q

    quiet-tent-29166

    06/13/2022, 8:43 PM
    Love Cypress - Discord not so much
  • e

    echoing-painting-40909

    06/13/2022, 9:50 PM
    Hello, which issues are you facing?
  • a

    adventurous-branch-4501

    06/14/2022, 12:28 PM
    Hi all, I have an .env file that contains some variables. I want to use it in my test case. but when I call it why always return the error undefined? I try to put it in the cypress.config.ts file it works perfectly I use Cypress 10
  • a

    adventurous-branch-4501

    06/14/2022, 12:29 PM
    > //here is my .env > CYPRESS_WEBURL= https://www.google.com/ > > //here is my test.cy.js > const web = Cypress.env('WEBURL') > cy.visit(
    ${web}
    );
  • a

    adventurous-branch-4501

    06/14/2022, 12:29 PM
    Here is my error
  • a

    adventurous-branch-4501

    06/14/2022, 12:30 PM
    > visit undefined > Cypress Error > cy.visit() failed trying to load: > undefined
  • f

    fresh-doctor-14925

    06/14/2022, 12:32 PM
    https://docs.cypress.io/guides/guides/environment-variables#Option-3-CYPRESS_
  • a

    adventurous-branch-4501

    06/14/2022, 12:37 PM
    the documentation said that all must be declared in cypress.config file, does that mean I can't use .env file?
  • f

    fresh-doctor-14925

    06/14/2022, 3:50 PM
    No, you can. You put a snippet in your plugins file. I was discussing it earlier today https://discord.com/channels/755913899261296641/986200547243728917
  • s

    shy-minister-18411

    06/14/2022, 7:21 PM
    has anyone else had ongoing issues running Cypress tests on GitHub Actions?
  • s

    shy-minister-18411

    06/14/2022, 7:21 PM
    locally i have no issues running them; nothing is flaky ever, but as soon as we go to run them on GitHub Actions, it seems like the actions doesn't give Cypress enough resources, so inevitably i have at least one test failure the first time I run an action
  • s

    shy-minister-18411

    06/14/2022, 7:22 PM
    my "fix" so far has been to just re-run the job but that's getting old
  • s

    shy-minister-18411

    06/14/2022, 7:23 PM
    i've also tried using Cypress Dashboard but that doubles build times because of how slow Actions is to get everything set up to send over to Dashboard
  • b

    bored-vegetable-9131

    06/14/2022, 8:47 PM
    Cypress SSO log in broken for anyone else?
  • l

    late-house-1562

    06/14/2022, 11:02 PM
    Do I have to import
    sinon
    or something to get
    cy.stub
    to work?
  • l

    late-house-1562

    06/14/2022, 11:06 PM
    Every time I try to include
    cy.stub
    or
    cy.spy
    , I get:
    Copy code
    TypeError
    The following error originated from your test code, not from Cypress.
    
      > fs.existsSync is not a function
    
    When Cypress detects uncaught errors originating from your test code it will automatically fail the current test.
    
    Cypress could not associate this error to any specific test.
    
    We dynamically generated a new test to display this failure.
    node_modules/winston/dist/winston/transports/file.js:806:1
      804 |     value: function _createLogDirIfNotExist(dirPath) {
      805 |       /* eslint-disable no-sync */
    > 806 |       if (!fs.existsSync(dirPath)) {
          | ^
      807 |         fs.mkdirSync(dirPath, {
      808 |           recursive: true
      809 |         });
1...495051...127Latest