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

    cool-translator-55345

    05/16/2022, 6:16 PM
    Hi All, I am having a problem in testing, I want to test my file reporting.spec.ts file concurrently(parallel) on same update scenario but with different parameters using cmd on local machine, but I can't understand how. Please I need an urgent help. Thanks.
  • t

    thankful-television-60920

    05/16/2022, 8:04 PM
    hi everyone! i need some help in understanding what is happening here. i have a project configured with cypress and some before/beforeEach hooks that basically handle cognito authentication. so locally it works perfectly, i can see the tests results and everything. but in my pipeline configured in bitbucket the custom command doesnt work; it kinda looks like it doesnt run at all so basically i have two questions: - has anyone have been through that or similar and knows what is happening? - is there a way i can inspect the cognito requests from the pipeline inside the test dashboard?
  • c

    cuddly-analyst-14369

    05/16/2022, 8:58 PM
    Hello, I have an issue that I can't find a solution to: How can I make or simulate the "Esc" button once I click on a button? This is to cancel that the page continues with the loading action when the button is clicked (This is for the purpose of validating that a datalayer event is triggered).
  • m

    magnificent-finland-58048

    05/16/2022, 11:44 PM
    @plain-salesclerk-63038 is the only person I know that wrestled BitBucket
  • m

    magnificent-finland-58048

    05/16/2022, 11:45 PM
    maybe this https://github.com/dmtrKovalenko/cypress-real-events
    cy.realPress('Esc')
  • c

    calm-lunch-62567

    05/17/2022, 9:05 AM
    Hi, I am new here and i have one question related to Cypress, i have just started using the cypress tool for the Automation of web based application and that application can be accessed only via VPN (Client network) which i have installed and am able to access it through a browser but the same is not getting accessed via Cypress. Through Cypress, i am getting 'Access denied' error. can anyone please help me with this issue?
    • 1
    • 1
  • p

    proud-napkin-25647

    05/17/2022, 10:06 AM
    Hi everyone ! I need some help ,I have just started using cypress tool for web based application ,getting this issue when I'm running on headless mode, can some one help me please with this issue ?
  • a

    able-florist-74914

    05/17/2022, 10:19 AM
    Hi All, I also need help with the following testrail-reporter issue. Stackoverflow solutions were no good. So, I hope someone can help here. It gives this error while running npx cypress run command to run headless.
  • s

    sparse-cpu-70188

    05/17/2022, 10:24 AM
    Some Variable is 'undefined' which yiu are trying to split(), it is nothing wrong with Cypress
  • p

    proud-napkin-25647

    05/17/2022, 10:42 AM
    @sparse-cpu-70188 Thanks for the reply, but I need some clarification. The undefined variable does not seem to be ours, but is used inside of a package so it is a bug I don't think we caused
  • s

    sparse-cpu-70188

    05/17/2022, 10:43 AM
    More code would be definitely helpful
  • g

    gentle-nest-85710

    05/17/2022, 11:03 AM
    Hi. Is there some way to test if a div has specific keyframes connected? i can test that it has an animation, but not the keyframes in the animation....
  • p

    proud-napkin-25647

    05/17/2022, 11:12 AM
    @sparse-cpu-70188 I did set up a project from scratch. Project is basically brand new, there isn't any code to show that doesn't come from a fresh installation This is my package.json { "name": "@/cypress", "version": "1.0.0", "description": "integration testing", "main": "index.js", "scripts": { "cypress:open": "cypress open", "cypress:run": "cypress run --browser chrome" }, "keywords": [], "author": "", "license": "ISC", "devDependencies": { "@types/cypress": "^1.1.3", "cypress": "^9.5.3", "cypress-testrail-reporter": "^1.3.3" } } This my cypress.json { "experimentalStudio": true, "watchForFileChanges":true, "projectId":"14zrqk", "reporter": "cypress-testrail-reporter", "reporterOptions": { "host": "https://xxxxxxx/", "username": "xxxxx", "password": "xxxxxx", "projectId": 1, "suiteId": 1 } } Also just want to mention the problem originating from the deasync package which I think is a dependency of cypress-testrail-reporter
  • c

    cuddly-analyst-14369

    05/17/2022, 11:24 AM
    Hi. What are the differences between cy.click() and cy.realClick()?
  • s

    sparse-insurance-21987

    05/17/2022, 11:31 AM
    Hello All, Is there any way we can import the step definition from node_modules?
  • c

    cuddly-analyst-14369

    05/17/2022, 11:41 AM
    Don´t worked, I try to emulate inmediately press escape key once I click on the previous item. What I want to avoid is to load the new page, since I would lose the trace of the datalayer event I want to capture.
  • m

    most-cartoon-59550

    05/17/2022, 1:46 PM
    Hi all , Can anyone please guide is there anyway to integrate cypress+cucumber with Xray or testrail or I mean running automation test scripts written using cypress+cucumber via Xray or testrail test management tool ?
  • i

    incalculable-horse-57054

    05/17/2022, 2:04 PM
    Hi everyone, having some issues with the below error. Has anyone ever had this issue and how did you overcome it? We're running Cypress 9.6.1 on electron. There is no obvious errors in the console or the application any help would be much appreciated. Small edit: if a delete a letter of a comment in the index.js support file save and then run it again it works but next test it fails again Thanks, Joe
    Copy code
    Error: 
    The following error originated from your application code, not from Cypress.
    
    > ResizeObserver loop limit exceeded
    
    When Cypress detects uncaught errors originating from your application it will automatically fail the current test.
  • t

    thankful-television-60920

    05/17/2022, 3:12 PM
    thanks! eventually figured it out. it was a environment problem, thats why it didnt work 🙂
  • u

    user

    05/17/2022, 3:16 PM
    Cypress Dashboard Help
  • m

    magnificent-finland-58048

    05/17/2022, 4:28 PM
    put this somewhere in the spec file
    Cypress.on('uncaught:exception', () => false)
  • u

    user

    05/17/2022, 8:27 PM
    Hey guys, I am using some mock libraries that are nested inside a folder inside node modules. In jest I am able to define "moduleDirectories" to search through different paths. I am trying to do this with cypress, but I cannot figure out how to add multiple module paths. I tried using this library, but no dice. https://www.npmjs.com/package/app-module-path Anyone have any experience adding multiple directories to search for required modules?
  • b

    bored-dinner-46643

    05/17/2022, 9:34 PM
    first of all I would like to thank very much the help received from @magnificent-finland-58048 and @gray-kilobyte-89541 you help me a lot in my case i have other issues for you : I have build errors on tests intermittently, looks like some tests are calling /api what is the recommended config for default CommandTimeout or request timeout or retries
  • m

    magnificent-finland-58048

    05/17/2022, 11:18 PM
    you want to start with a small scope : at command level, then to it block , then describe block, then global keep the scope small and work up
  • m

    magnificent-finland-58048

    05/17/2022, 11:18 PM
    because you don't want real failures to take too much time to fail
  • c

    calm-lunch-62567

    05/18/2022, 4:47 AM
    Cypress browser issue
  • m

    mysterious-motherboard-13344

    05/18/2022, 6:49 AM
    Hi All, anyone faced cy.origin() is not a function error while implementing it?
  • s

    sparse-insurance-21987

    05/18/2022, 6:54 AM
    you have to put "experimentalSessionAndOrigin": true, in cypress.json
  • m

    mysterious-motherboard-13344

    05/18/2022, 6:55 AM
    That I have already set.
    • 1
    • 1
  • d

    damp-potato-44254

    05/18/2022, 7:19 AM
    Hello all thanks to provide these Discord to help, I just update cypress (and i use it with cucumber) to the last version (9.6.1) and now I'm stuck on the page "Your tests are loading..." when i launch different test than the first one My all flow : - launch cypress - choose my first .feature to launch - the test execute well - close the first test and choose a different .feature to launch - now i'm stuck on the page "Your tests are loading..." (see screenshot) Someone have a solution ? edit : when i close cypress and relaunch it the second test execute perfectly
1...656667...252Latest