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

    quiet-nightfall-20244

    09/19/2022, 7:29 PM
    For anyone else who searches this, it turned out to be an overly broad tsconfig.json
    include
    value.
  • q

    quaint-yacht-91780

    09/19/2022, 8:58 PM
    hi
  • r

    rapid-soccer-13650

    09/20/2022, 10:19 AM
    hi
  • h

    hundreds-lawyer-38203

    09/20/2022, 11:36 AM
    Hi guys! Let's say i want Cypress to ignore one file completely when running npx cypress run or using the headed browser. What are the possible ways?
  • a

    acceptable-hamburger-48790

    09/20/2022, 11:39 AM
    Did you check https://docs.cypress.io/guides/references/configuration#excludeSpecPattern
  • g

    gray-kilobyte-89541

    09/20/2022, 1:29 PM
    https://on.cypress.io/configuration
    excludeSpecPattern
  • h

    hundreds-lawyer-38203

    09/20/2022, 1:35 PM
    Was on cypress V8.7 , that's why excludeSpecPattern was not working. Thanks guys!
  • p

    polite-alarm-78904

    09/20/2022, 1:53 PM
    Im running some tests that depend on env variables in github actions. How can I set these before starting cypress? Basically the equivalent of doing this in the terminal:
    Copy code
    export CYPRESS_ENV_MYVARIABLE=true
    npm run cy:run
  • m

    mysterious-belgium-25713

    09/20/2022, 2:03 PM
    @polite-alarm-78904, you can set them in your yaml file https://github.com/marketplace/actions/cypress-io#env
  • s

    stale-optician-85950

    09/21/2022, 9:24 PM
    Hi All, I have an ongoing issue when running Cypress Open, any changes I make in my code are not reflected in the Cypress GUI runner, it will always run the old code. As a crap workaround, I have to change the file name to get the latest code to run. This has been occurring for me since v9.7 and all the way up to the latest v10 versions. I'm using a Mac M1 and it happens on all browsers. Also note that it happens to my colleague too. Clearing VSC cache does not help. Deleting the Cypress installation briefly helps but then the issue returns again. Has anyone experienced dealing with this as it's really frustrating when trying to write code?
    • 1
    • 2
  • e

    early-gigabyte-75871

    09/22/2022, 1:59 AM
    Is it possible to start the Cypress server without the browser? I'm trying to see if I can hack together my own version of https://github.com/cypress-io/cypress/issues/5984 in userspace
  • a

    able-yak-98608

    09/22/2022, 10:14 AM
    @everyone Anyone used cypress with metamask / blockchain ?
  • s

    stale-optician-85950

    09/22/2022, 1:54 PM
    Hi All I have an ongoing issue when
  • c

    crooked-megabyte-18846

    09/22/2022, 4:58 PM
    @freezing-piano-2792 do we have a way to continue running steps (and, and, and) when one step in scenario fails? (but I would like to know if it did fail) or do we have a way to continue to run scenarios which loop through a DataTable, even if one step was to fail? (but I would like to know if it did fail) we are using your plugin! (big thanks!)
  • f

    freezing-piano-2792

    09/22/2022, 5:13 PM
    No, once an error is encountered, the test stops (this is governed by Cypress and not something a plugin can change)
  • c

    crooked-megabyte-18846

    09/22/2022, 5:20 PM
    Thank you, as we thought
  • s

    stale-park-86404

    09/23/2022, 6:41 PM
    Hi, I'd like to ask for your suggestion here. How should I assert that the password field is actually masked?
  • w

    white-helicopter-74289

    09/23/2022, 6:58 PM
    Hello everybody, I have a question and I'm hoping someone can point me in the right direction. I need to set a default user-agent for all requests or custom headers. How can I add that to the main cypress config? My issue is actually regarding using sorry-cypress and our firewall is blocking requests to that api because there is no user agent sent. I've tried to configuration option userAgent but that does not seem to set the agent for requests to the api url. But if I edit the api.js file and add the header to the
    _.defaults(headers, {
    block it add the user agent and the request is allowed. If anyone can tell me how I can set that value via config or cli option I would be extremely grateful. 🙂
  • s

    stale-optician-85950

    09/23/2022, 7:12 PM
    The html element will have the attribute
    type
    with a value of
    password
    . So your selector to assert would be
    input[type="password"]
    The type = password input is secured by the browser https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/password If your password has a
    show
    button you'll see the html change to something like
    input[type="text"]
  • g

    gray-kilobyte-89541

    09/23/2022, 8:56 PM
    cy.get('my password input').should('have.attr', 'type', 'password')
  • m

    magnificent-postman-13446

    09/24/2022, 1:21 AM
    Hey mates, what's the best tool for web automation, bots, web scraping rather than testing? Puppeteer, Cypress, Playmates, or something else?
  • s

    stale-park-86404

    09/24/2022, 3:06 PM
    thanks, this worked
  • s

    stale-park-86404

    09/24/2022, 3:06 PM
    thanks for this!
  • a

    adventurous-rose-66394

    09/24/2022, 8:42 PM
    Hey, i just found a typo on the cypress> guides on the webpage, where should i report it?
  • s

    stale-optician-85950

    09/24/2022, 9:19 PM
    Seeing as this is the Cypress channel I'll go out on a limb and say Cypress 😆
  • c

    cold-eye-66538

    09/25/2022, 3:56 AM
    Does anyone have an opinion on the performance upgrades in 10.8.0. Have you noticed fewer memory crashes in browsers(edge and chrome)? I'm Currently running 8.6.0 and want to decide if it is worth upgrading
  • c

    creamy-baker-71429

    09/25/2022, 3:11 PM
    Hi guys, does anyone know a hack for multitab support in cypress
  • r

    rich-pharmacist-74804

    09/26/2022, 7:16 AM
    Hello Team! I am facing this issue and I am not able to solve it. Headless mode works perfectly but when I run headed mode Cypress's browser crashes. Waiting for the response. thank you
  • c

    creamy-baker-71429

    09/26/2022, 9:50 AM
    Anyone?
  • s

    stale-optician-85950

    09/26/2022, 10:07 AM
    Most folks invoke the element attribute and force the new page to open in same tab. Example:
    cy.get('your selector').invoke('removeAttr', 'target').click()
1...828384...127Latest