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

    most-businessperson-30778

    08/20/2022, 11:41 AM
    I click on the download image button of a page => image is downloaded I want to verify download link file name with the filename in my downloads folder
  • a

    adorable-smartphone-87280

    08/20/2022, 6:41 PM
    @most-businessperson-30778 I've only started using this myself, but here are some docs that might help you. https://docs.cypress.io/api/commands/readfile
  • m

    most-businessperson-30778

    08/20/2022, 6:41 PM
    thanks bro, I just resolved it
  • m

    most-businessperson-30778

    08/20/2022, 6:42 PM
    it's just silly setup in my files
  • m

    most-businessperson-30778

    08/20/2022, 6:42 PM
    setUpNodeEvents should've stayed in e2e
  • m

    most-businessperson-30778

    08/20/2022, 6:42 PM
    but I let it outside and it didn't read any lib of task
  • g

    glamorous-country-57678

    08/20/2022, 8:35 PM
    Hey, can anyone give some feedback on this if they have some time?
  • g

    gentle-dress-1046

    08/21/2022, 9:25 AM
    Hey, We are having problem with our dashboard videos, our videos in the dashboard are broken, they show like 1 frame every 10 seconds or so. When running locally, the videos are fine, we run our tests in azure devops pipeline
  • c

    clean-crowd-50805

    08/21/2022, 6:02 PM
    How do I build cypress locally and then run it? I tried
    yarn watch
    and then
    node ../cypress/cli/bin/cypress run --e2e --browser chrome --dev
    but it seems like the changes I am making to
    chrome.ts
    has no effect.
  • e

    early-computer-34425

    08/22/2022, 7:49 AM
    Hi, have two selectos, say parentSelect and childSelect, childSelect-options change depending on the parentSelect, now in pipeline it fails to find a option childSelect as the option might not be loaded(maybe the piepline is to fast) is there a good way to wait? because it doesnt seem to retry again steps: selectParent - option 2 selectChild - tries to find option 1 test fails, cant find option 1 in selectChild
  • b

    bored-france-30678

    08/22/2022, 9:44 AM
    Hi, I am trying to open cypress, using v10.6.0, node v16.14.1, npm v7.17.0. When I run
    npx cypress open
    , it seems to be opening, I see the cypress window in my task bar, but I cannot focus this window, whenever I click on it, nothing happens. Using Windows 11. Any ideas? Thanks in advance!
  • w

    witty-branch-52439

    08/22/2022, 9:58 AM
    Hi Team I'm facing an issue in asserting the headers row in an excel sheet. column1, column2, column3, column4, column5, column6 If this is the case, cypress fails in finding column 3 & 4 even though it is present. expect(exports.convertArrayValuesToString(Object.keys(rows[0]))).to.deep.eq(headers); This is the code I'm using where convertArrayValuesToString contains return array.join('@#').split('@#') Help me out of this.
  • f

    fierce-lion-2381

    08/22/2022, 11:53 AM
    Hello, I have a question regarding autocomplete of custom functions and autocomplete for fixture files too, why I can't see what the "example.json" has inside when I put user. as you see in photo? It doesn't show me the values that example.json has
  • f

    fierce-engineer-40904

    08/22/2022, 11:55 AM
    Hello, using the LTS versions of (10.4 or 10.6) is causing some weird issues for me. When I install it using my docker (docker compose npm install) it installs cypress but once I run
    cypress open
    it just tells me it's not installed. I've sorted a fix for now by installing it locally on my PC but how can I make it install and run in the container?
  • n

    numerous-nail-45115

    08/22/2022, 12:29 PM
    Hi! We have some tests that we're able to run just fine, up until the following version: NOT WORKING Cypress package version: 8.6.0 Cypress binary version: 8.6.0 Electron version: 14.1.0 Bundled Node version: 14.17.0 So for instance, we're able to run the tests on version: WORKING Cypress package version: 8.5.0 Cypress binary version: 8.5.0 Electron version: 13.2.0 Bundled Node version: 14.16.0 When using the version (and later ones for that matter) mentioned as not working above we get the: We detected that the Chromium Renderer process just crashed. For all of the tests - none of them gets run and they all report as failed (after like 4 hours or so, the tests normally takes ~3 minutes). Are there any ways to check what is causing this crash? I find it quite strange that it just start crashing like this, without any changes (other than increasing the version). Could it be that the machine for some reason is not compatible with Electron 14.1.0 (and higher)? As I can see that one difference is that Cypress 8.6.0 bundles that version. Any tips as of why this just stops working, or how one could go on about troubleshooting this? I appreciate any feedback. 🙂 Thank you in advance!
  • a

    acceptable-hamburger-48790

    08/22/2022, 1:19 PM
    create an interface and map the object to the variable of that type. const user: User = require('file')
  • r

    red-dentist-71156

    08/22/2022, 5:26 PM
    Hello, I am updating my cypress from 9.6.1 to 10.6.0. When I do this the "Cypress.on('uncaught:exception', (err, runnable)=> {return false;});" doesn't seem to be working correctly. It does prevent the test from failing but the test acts like the button isn't pressed and the test doesn't move forward. The test is clicking a button which should then redirect to a new page. This was working in 9.6.1 correctly.
  • r

    red-dentist-71156

    08/22/2022, 5:27 PM
    this is how the output is looking
  • r

    red-dentist-71156

    08/22/2022, 5:27 PM
    the assertion on next page fails as the test just stops at the uncaught exception
  • r

    red-dentist-71156

    08/22/2022, 5:33 PM
    I have this happening with a few different buttons.
  • m

    miniature-laptop-11823

    08/22/2022, 7:42 PM
    Hi all. I need some Cypress support to access https://www.cypress.io/ via SSO. I've been added by my company, but when I add my email address via https://dashboard.cypress.io/login/sso, it is not recognised. Is this the proper channel for that...? 🙏🏻
  • b

    brash-mechanic-5372

    08/22/2022, 9:37 PM
    Hi, I'm having issues with the installation of Cypress, I can't locate the cypress.config.js file
  • a

    abundant-hydrogen-26466

    08/22/2022, 9:41 PM
    what are you trying to do?
  • b

    brash-mechanic-5372

    08/22/2022, 9:42 PM
    I'm trying to make my first run, and add the projectId to my cypress.config.js file
  • a

    abundant-hydrogen-26466

    08/22/2022, 9:43 PM
    Assuming you are walking through their documentation, can you share which step you are on? (link please)
  • a

    abundant-hydrogen-26466

    08/22/2022, 9:48 PM
    @brash-mechanic-5372 I was unfamiliar with the document you mentioned because we use
    cypress.json
    instead. I believe it is something you create yourself? It goes in the root level where you have your cypress installed
  • b

    brash-mechanic-5372

    08/22/2022, 9:52 PM
    I didn't find the article I was following but I ran the
    npm install cypress --save-dev
    in my project path and I'm missing the
    cypress.json
    file
  • b

    brash-mechanic-5372

    08/22/2022, 9:52 PM
    @abundant-hydrogen-26466
  • a

    abundant-hydrogen-26466

    08/22/2022, 9:52 PM
    See above. Create the file as you see it in my image.
  • a

    abundant-hydrogen-26466

    08/22/2022, 9:53 PM
    No need for the other fluff, but just the
    projectId
    for now
1...132133134...252Latest