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

    gray-kilobyte-89541

    08/10/2022, 11:05 AM
    directly importing is simpler, but would probably work with just JSON fixtures by default
  • s

    stale-park-86404

    08/10/2022, 12:41 PM
    sounds good. thanks @gray-kilobyte-89541 !
  • c

    clean-beard-23521

    08/10/2022, 9:57 PM
    Hi guys..
  • c

    clean-beard-23521

    08/10/2022, 9:57 PM
    CypressError:
    cy.task('sendMail')
    failed with the following error: The 'task' event has not been registered in the plugins file. You must register it before using cy.task()
  • c

    clean-beard-23521

    08/10/2022, 9:58 PM
    i am getting this error, can someone please help how to fix...
  • c

    clean-beard-23521

    08/10/2022, 9:59 PM
    module.exports = (on, config) => { on('task', { sendMail (message) { return sendAnEmail(message); } }) }
  • c

    clean-beard-23521

    08/10/2022, 9:59 PM
    is there anything needs to be add?
  • s

    stale-park-86404

    08/11/2022, 12:13 AM
    anyone stumbled on this “Your connection is not private” error in browser when accessing the app, how do you handle that? I've been asked to send quotation for writing tests but upon trying to load their app, it gives me this error. I'm concerned this would be blocker to test the app once cypress tests start to run
  • n

    nutritious-megabyte-64190

    08/11/2022, 3:51 AM
    has anyone faced this issue in webstorm https://stackoverflow.com/questions/73243768/cypress-and-webstorm-when-a-test-fails-there-is-a-link-to-the-line-number-that i cannot for the life of me figure it out
  • w

    wide-france-37131

    08/11/2022, 4:52 AM
    i have tried to setup component testing with react and typescript and its still not working. any configuration that i need or documentation that might be helpful. i followed the cypress docs but didn’t work
  • m

    mammoth-manchester-71430

    08/11/2022, 7:28 AM
    Hi.. In cypress the files downloaded while running the test does not saved into the default - downloadsFolder - cypress/downloads So, tried with the below code. but files not downloaded into the path cypress/downloads on('before:browser:launch', (browser, launchOptions) => { if (browser.name === 'firefox') { launchOptions.preferences['browser.download.dir'] =
    Copy code
    ${path
            .join(__dirname,
    ../../cypress/downloads`) .replaceAll('\\', '\\\\')}`; } return launchOptions; }); Is anything wrong with the code or need to change anything to change the download directory And how to know this method('before:browser:launch') invokes before browser launching.. Any solution for this..
  • s

    swift-kitchen-62493

    08/11/2022, 11:07 AM
    Hi, how can I share the e2e test to someone else that he can see if it works without giving them the program code? is it possible to somehow combine this so that I write the code and someone else just checks if it works on another computer?
  • w

    wooden-advantage-64510

    08/11/2022, 3:03 PM
    Received a friend request on Discord from someone who joined here 2 minutes ago.. 🙃 I think we got bot here.
  • f

    fresh-doctor-14925

    08/12/2022, 8:09 AM
    Probably something to flag to @best-flower-17510 (Also, if you don't want unsolicited friend requests, you can disable them in your settings)
  • p

    polite-alarm-78904

    08/12/2022, 11:13 AM
    I have a get-request that is being sent twice. Is there a way to only intercept the last request being sent?
  • i

    incalculable-crowd-80129

    08/12/2022, 1:08 PM
    Hi everyone, how can I permanently delete a cypress run in cypress dashboard? I found a way to archive but not permanently delete the run in dashboard.
  • b

    best-flower-17510

    08/12/2022, 1:46 PM
    Hey @wooden-advantage-64510 I am adding this to my radar. Thanks @fresh-doctor-14925
  • u

    user

    08/16/2022, 2:11 PM
    getting a cert error when I try to download, this could be a prob for many users:
    Copy code
    http: error: SSLError: HTTPSConnectionPool(host='cdn.cypress.io', port=443): Max retries exceeded with url: /desktop/9.3.0/darwin-x64/cypress.zip (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)'))) while doing a GET request to URL: https://cdn.cypress.io/desktop/9.3.0/darwin-x64/cypress.zip
  • c

    clever-mechanic-69796

    08/16/2022, 2:51 PM
    Is Cypress Docs unavailable?
  • c

    clever-mechanic-69796

    08/16/2022, 2:54 PM
    k looks like it's back up
  • e

    elegant-river-87347

    08/17/2022, 4:52 AM
    helo everyone, can anybody help me how i can visit link that i copy from a button .. something like this : cy.get('.order-link-add-button') .click({ force: true }) .then(($e) => cy.visit($e); //open link });
  • v

    victorious-honey-34966

    08/17/2022, 10:08 AM
    I am running a test that tests a specific property (ag-grid). Chrome and Electron work fine. The same test fails on Firefox. Run and GUI mode cy.get('.ag-cell-value') .find('[aria-checked]') .invoke('prop', 'ariaChecked') .should('eq', value); The error is: assert expected undefined to equal true So i guess the command- .invoke('prop', 'ariaChecked') bring undefined instead of the value Any idea why?
  • a

    acceptable-hamburger-48790

    08/17/2022, 10:47 AM
    Do you see any delay in loading ? Also check if the checkbox has loaded properly in the Test Runner.
  • v

    victorious-honey-34966

    08/17/2022, 11:05 AM
    no delay, checkbox looks fine on test runner
  • a

    acceptable-hamburger-48790

    08/17/2022, 11:06 AM
    in that case, can you inspect that element in the dev tools of firefox and see if you can spot any difference ?
  • a

    acceptable-hamburger-48790

    08/17/2022, 11:07 AM
    If that doesnt work, then a reproducing repo would help to see whats going on
  • v

    victorious-honey-34966

    08/17/2022, 11:18 AM
    same code on both sides (chrome vs firefox)
  • v

    victorious-honey-34966

    08/17/2022, 11:19 AM
    please explain
  • f

    fresh-doctor-14925

    08/17/2022, 11:32 AM
    They mean that it is difficult to know how to help further without seeing the app. If you are able to push your app code to github (or give some steps to reach this application), then it will be easier to see what's going on.
  • h

    handsome-lion-1748

    08/17/2022, 12:58 PM
    I think what you get here is the element you clicked yielded not the link, I don't see the link so how do you show the link to a real user for example?
1...757677...127Latest