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

    flaky-nest-4929

    11/15/2021, 4:33 PM
    Did I answer your question ?
  • b

    bulky-sundown-74498

    11/15/2021, 4:34 PM
    You did answer it, but the answer did not halp
  • b

    bulky-sundown-74498

    11/15/2021, 4:35 PM
    I am trying to find out what ng e2e does under the hood
  • b

    bulky-sundown-74498

    11/15/2021, 4:38 PM
    @User could maybe help
  • b

    bulky-sundown-74498

    11/15/2021, 4:39 PM
    Any chance you could share a repository where I could reproduce that issue ?
  • f

    flaky-nest-4929

    11/15/2021, 4:43 PM
    I will try. I can't share my whole project for confidentiality reasons, but I will try to create a project with same issue
  • f

    flaky-nest-4929

    11/15/2021, 4:43 PM
    thanks any way ElevateBart 🙂
  • b

    bulky-sundown-74498

    11/15/2021, 4:43 PM
    That will help greatly
  • b

    bulky-sundown-74498

    11/15/2021, 4:43 PM
    thank you @User
  • q

    quiet-tent-29166

    11/16/2021, 1:05 PM
    Yeah - this is pretty annoying when I save the spec file it does not run again. I have to stop the cypress run and start again. I have re-installed cypress --dev and still seeing it. I dont have Cypress loaded globally.
  • q

    quiet-tent-29166

    11/16/2021, 3:27 PM
    "env": { "testFiles": [ "retail-Sale-TRM4.js", "Batch-inq-TRM4.js", "Batch-close-TRM4.js" ],
  • q

    quiet-tent-29166

    11/16/2021, 3:27 PM
    Suggestions/
  • s

    strong-plumber-54448

    11/16/2021, 5:01 PM
    Hello all, I just joined the discord today. Thanks 🙂
  • g

    gray-kilobyte-89541

    11/16/2021, 6:14 PM
    "testFiles" is a configuration property, it does NOTHING when inside the "env" object. You need to put it at the root level of the json file, because it is a config property, read https://on.cypress.io/configuration
  • q

    quiet-tent-29166

    11/16/2021, 6:34 PM
    thanks
  • q

    quiet-tent-29166

    11/16/2021, 6:38 PM
    that worked appreciate the help
  • g

    gorgeous-bird-50464

    11/18/2021, 10:49 AM
    Is anyone able to help me with a typescript config issue? https://stackoverflow.com/questions/70018486/how-to-use-files-outside-of-cypress-that-use-an-alias
  • s

    straight-accountant-22127

    11/22/2021, 12:12 PM
    Hi Folks, any good recomendation on cypress courses instructor lead?
  • g

    gray-kilobyte-89541

    11/22/2021, 3:56 PM
    In person or online? Online I will be teaching a Smashing Magazine Cypress workshop https://smashingconf.com/online-workshops/workshops/gleb-bahmutov In person, I will do a Cypress workshop in Montreal in February at Confoo
  • l

    lively-hamburger-88429

    11/22/2021, 11:14 PM
    hello, I think docs have an error, is there a good way to report it?
  • l

    lively-hamburger-88429

    11/22/2021, 11:19 PM
    https://docs.cypress.io/guides/guides/command-line#How-to-run-commands has
    npx cypress run
    and after it
    yarn open
    but I think it should be
    yarn cypress run
    instead. As "open" is not the same as "run" and without specifying "cypress" it will not know to run cypress 🙂
  • f

    future-eye-56254

    11/23/2021, 1:06 AM
    Anybody having issues with "cypress-mochawesome-reporter": "^2.3.0",
  • c

    calm-doctor-58650

    11/23/2021, 3:45 AM
    Hey JLarky, you can submit an issue on the cypress-documentation repository. Thank you!! https://github.com/cypress-io/cypress-documentation
  • e

    enough-plastic-87422

    11/24/2021, 6:50 PM
    is there a better way to cy.get('[data-testids=test']) except rewriting data-testid over and over for new gets?
  • u

    user

    11/24/2021, 6:52 PM
    I wrote this a while ago so there's probably a better way to do it, but this is how I do it for
    data-cy
    selectors:
    Copy code
    Cypress.Commands.overwrite("get", (originalFn, selector, options = {}) => {
        let locator
        if (!selector.includes('iframe')) {
            const splitSelector = selector.split("")
            const nonDataCy = [
                ".",
                "#",
                "=",
            ]
            const found = splitSelector.some((v) => nonDataCy.includes(v))
            if (found) locator = selector
            else locator = `[data-cy='${selector}']`
        } else {
            locator = selector
        }
        return originalFn(locator, options)
    })
  • e

    enough-plastic-87422

    11/24/2021, 6:54 PM
    thank you! i will take a look at that
  • u

    user

    11/24/2021, 6:54 PM
    Happy to help!
  • s

    sparse-train-10591

    11/25/2021, 12:56 PM
    Hi! I have a problem with the conection between github and cypress dashboard. The action from github has finished, but at cypress dashboard is always running and never finished
  • c

    calm-doctor-58650

    11/25/2021, 1:51 PM
    There is a custom command in the Real World App, getBySel(), that does this. There is also getBySelLike() for matches. https://github.com/cypress-io/cypress-realworld-app/blob/develop/cypress/support/commands.ts#L35 It lets you pass through just the selector.
  • c

    calm-doctor-58650

    11/25/2021, 1:52 PM
    Hey Jose, for any Dashboard-related issues, please reach out to our support team directly. I'll DM you.
1...222324...127Latest