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

    quick-scooter-78814

    12/10/2022, 6:22 PM
    thanks @gray-kilobyte-89541 will have a look and let you know if that will do the job.
  • c

    cuddly-car-47493

    12/10/2022, 7:41 PM
    Hello, everyone, I am using cypress for the first time. On windows 10 machine, Installed Cypress 8.19.2 using direct download and then installed nodejs and npm.In Visiual studio code editor, I dont see cypress folder structure. Please help. Attached what I get to see. I expect to see a root folder with name Cypress and with sub folders named Fixtures, Integration, Plugins and Support
    • 1
    • 1
  • s

    swift-lighter-56861

    12/10/2022, 8:54 PM
    Hello #cypresshelp Is anyone know how to handle blob url in cypress I need to download a pdf from blob url how to visit these kind of blob ? Already tried with Visit , URL function but it is not supporting blob url. Any one can help me on this!!
  • g

    gray-kilobyte-89541

    12/10/2022, 10:01 PM
    I have some examples of constructing blogs, arraybuggers, images from blob urls in my paid course https://cypress.tips/courses/network-testing
  • p

    prehistoric-restaurant-72560

    12/11/2022, 6:44 PM
    Hi guys, If my element is hovered over by different element, should
    cy.get("#my_element").should("be.visible")
    fail instantaneously? That's what I think i am experiencing right now.
  • d

    damp-kangaroo-1521

    12/11/2022, 9:05 PM
    try use .trigger()
  • p

    prehistoric-restaurant-72560

    12/11/2022, 9:41 PM
    I just want to be sure I understand how cypress works, adding { force: true } to click is also a solution.
  • g

    gray-kilobyte-89541

    12/11/2022, 10:24 PM
    it is hard to say without any screenshots or test code
  • k

    kind-van-46599

    12/12/2022, 5:16 AM
    Hi Guys, I'd like to hear suggestion how to traverse this DOM, surprisingly these doesn't have any unique datatest-id and I'd like to understand how this scenario can be handled through Cypress
    • 1
    • 1
  • s

    straight-chef-47891

    12/12/2022, 8:14 AM
    does anyone know in Typescript how I can remove this error? I'm using
    @cypress/grep
    https://github.com/cypress-io/cypress/tree/develop/npm/grep
    Copy code
    Argument of type '{ tags: string; }' is not assignable to parameter of type 'SuiteConfigOverrides'.
      Object literal may only specify known properties, and 'tags' does not exist in type 'SuiteConfigOverrides'.
  • e

    elegant-wire-18957

    12/12/2022, 9:06 AM
    Hi , I have a create-react-app using react-scripts 4.0.3 , I can get cypress too run using cypress open etc but I cannot get any coverage to work - I have more details here https://discord.com/channels/755913899261296641/755921365579595977/1050803383046525018
    • 1
    • 2
  • m

    magnificent-baker-97250

    12/12/2022, 11:26 AM
    Hi, #763105090679865354 . I am using latest version of cypress . Maybe some one know the reason why I am getting an error while trying to check if all aliases exist in dom. First off all I have command that is getting element.invoke attr and saving it as alias. it saves ok, but when I create array with this aliases and trying to make forEach to check if all aliases exists - it throws an error failed because it requires a DOM element or document. The subject received was: > jQuery{0}
    • 1
    • 2
  • s

    square-shampoo-53343

    12/12/2022, 11:43 AM
    Hello everyone, i upgraded to cypress 12.0.2 and get 'Maximum call stack size exceeded' errors when using alias such as: cy.get('@myElementAlias') while rollback to 11.2.0 works w/o errors. any ideas why?
  • i

    incalculable-telephone-16405

    12/12/2022, 12:55 PM
    The Test Runner unexpectedly exited via a exit event with signal SIGABRT. facing this one.
  • g

    gray-kilobyte-89541

    12/12/2022, 2:02 PM
    // @ts-ignore
  • b

    brave-doctor-62978

    12/12/2022, 2:47 PM
    has anyone else run into cypress not being able to resolve
    sass
    with webpack?
  • b

    brave-doctor-62978

    12/12/2022, 2:57 PM
    like no matter what i do the sass-loader will not generate any ouput. im at a loss
  • m

    magnificent-finland-58048

    12/12/2022, 3:07 PM
    this might be sassy enough https://github.com/muratkeremozcan/tour-of-heroes-react-cypress-ts/blob/main/package.json#L86
  • b

    brave-doctor-62978

    12/12/2022, 3:07 PM
    im using dart sass so just
    sass
    but i did try node-sass as well same result
  • b

    brave-doctor-62978

    12/12/2022, 3:45 PM
    im using dart sass aka
    sass
    but i did try node-sass as well and same issue.
  • m

    magnificent-finland-58048

    12/12/2022, 3:47 PM
    great, then you can take a look at the working node-sass solution, derive your own
  • b

    brave-doctor-62978

    12/12/2022, 3:47 PM
    if it had worked i would love to but it yield's the same result.
  • m

    magnificent-finland-58048

    12/12/2022, 3:50 PM
    copy paste into your bash
    Copy code
    git clone https://github.com/muratkeremozcan/tour-of-heroes-react-cypress-ts
    cd tour-of-heroes-react-cypress-ts
    yarn install
    
    ######
    # try
    yarn cy:run-e2e
    yarn cy:open-ct
  • m

    magnificent-finland-58048

    12/12/2022, 3:50 PM
    if it works in CI, not on your setup, you can focus on the setup
  • b

    brave-doctor-62978

    12/12/2022, 3:51 PM
    thanks, i'll give it a shot
  • b

    brave-doctor-62978

    12/12/2022, 3:51 PM
    i didnt know people even still used node-sass 🤮 anymore ha
  • a

    acceptable-solstice-90676

    12/12/2022, 3:52 PM
    Hi, I'm trying to run Parallelization on AWS, I'm noticing AWS is not printing any value for
    $CY_GROUP_SPEC
    and this is causing my test to not run in parallael, I also have this command:
    - npx cypress run --record --key{} --parallel --browser "$CY_BROWSER" --ci-build-id $CODEBUILD_INITIATOR --group "$CY_GROUP" --spec "$CY_SPEC"
    I have the following in my buildspec, which I think it's pretty similar to these samples: https://github.com/cypress-io/cypress-realworld-app/blob/develop/buildspec.yml, https://docs.cypress.io/guides/continuous-integration/aws-codebuild#Caching-Dependencies-and-Build-Artifacts
  • b

    brave-doctor-62978

    12/12/2022, 4:18 PM
    wild, it seems to be from
    sass
    it works now with
    node-sass
    wtf
  • m

    magnificent-finland-58048

    12/12/2022, 4:21 PM
    hehe I vaguely recall something about sass, a new version perhaps ,
  • m

    magnificent-finland-58048

    12/12/2022, 4:21 PM
    anyway, glad it's helping you isolate the issue these compare-contrast sample issue isolation repos are the key to all engineering problems
1...226227228...252Latest