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

    gray-kilobyte-89541

    12/28/2022, 3:22 PM
    Look at the message right above - https://cypress.tips/search and type "why log"
  • r

    refined-baker-49085

    12/28/2022, 4:46 PM
    I don't know how to use this chatroom. How do I get help getting a cypress server to work
  • g

    gray-kilobyte-89541

    12/28/2022, 5:50 PM
    what is a cypress server? I think looking at #763097415896268840 would help
  • a

    aloof-petabyte-2674

    12/28/2022, 6:56 PM
    Hello everyone, Ive noticed that cypress build started to hang from time to time on CI and now it happens all the time, it just stops logging. Im using the following stack: github actions + 2 ubuntu runners cypress 9.6.1+cypress-cucumber-preprocessor 4.3.1, node 14 cypress dashboard for keeping test results I thought that it was related to disk space or RAM but there should be enough space(I added free and df commands before each test). The last thing I tried - enabling debug logs, I noticed that in the end of each failed run it contains a lot of 'cypress:server:request aborting { requestId: 'request161' } +0ms records and then starts to print cpu/mem stats every 10 second. Has someone seen this?
  • b

    brave-river-4142

    12/28/2022, 6:59 PM
    hello, I'm still learning to create tests with API and I would like to know how I manipulate an endpoint (json) in an API test. I need cypress to somehow "touch" this endpoint to generate a result (in this case it will create an object)
  • a

    aloof-petabyte-2674

    12/28/2022, 7:01 PM
    cy.request({ method: '', url: '', body: {}, headers: {} }).then((xhr) => { //check fields/status code here });
  • c

    cold-author-79999

    12/29/2022, 1:11 AM
    Can you share the package.json and cypress.config.js files?
  • f

    few-ambulance-98660

    12/29/2022, 2:37 AM
    How can I automate zoom meeting actions admit and disable waiting room in cypress?
  • a

    adorable-smartphone-87280

    12/29/2022, 7:21 AM
    If you mean automating the Zoom client, you can't. Not sure which of these features are possible in the browser.
  • f

    few-ambulance-98660

    12/29/2022, 7:23 AM
    Does anyone know about puppeteer integration with cypress?
  • h

    happy-architect-86566

    12/29/2022, 9:54 AM
    Hello I have an issue , I get browserlist error when picking component how do I solve it. I’m trying to learn cypress šŸ‘€
  • d

    damp-scientist-37994

    12/29/2022, 2:13 PM
    Hey Yall, been using cypress for a year now, and since ive updated to node 18, cypress can no longer connect to my locally running react app. I can navigate to the page from chrome locally, but when i try to navigate to the same URL using the browser controller by cypress (both chrome and electron), I get a connection refused error.
  • l

    late-dinner-1440

    12/29/2022, 3:30 PM
    Hi friends, in germany we need to have the imprint clickable every time. Now when a cookie modal is over the whole page it is not clickable. But one easy way to go out of this trap is to add a second imprint link here. When the test now looks for a.contains("imprint") error because of multiple links. How can I handle to validate that one of this links is clickable?
  • a

    able-traffic-38184

    12/29/2022, 3:59 PM
    cy.contains("a", "imprint").eq()
  • l

    late-dinner-1440

    12/29/2022, 4:06 PM
    You do not now the index. Could be one or more. The thing is to detect if one is working
  • g

    gray-kilobyte-89541

    12/29/2022, 4:21 PM
    can you provide the page or HTML? I am not sure what you mean by "one imprint is clickable or another"
  • l

    late-dinner-1440

    12/29/2022, 4:25 PM
    https://www.b2btalks.de/ to check if imprint work with or without cookie modal. And this on every web page. I build tests that have to work on every project and check this as basic test
  • a

    able-traffic-38184

    12/29/2022, 4:32 PM
    I don't really understand where is an imprint link here
  • l

    late-dinner-1440

    12/29/2022, 4:33 PM
    In the main navigation and footer. Impressum
  • a

    able-traffic-38184

    12/29/2022, 4:34 PM
    ok
  • l

    late-dinner-1440

    12/29/2022, 4:36 PM
    Here the link is in modal and footer https://https://www.qi-digital.de/
  • l

    late-dinner-1440

    12/29/2022, 4:37 PM
    And here only in footer https://nevercodealone.de/de
  • l

    late-dinner-1440

    12/29/2022, 4:38 PM
    I am off now for a few hours
  • l

    late-dinner-1440

    12/29/2022, 4:41 PM
    Desktop view
  • l

    late-dinner-1440

    12/29/2022, 5:08 PM
    Tests should be green on each of this pages
  • c

    clean-processor-42509

    12/29/2022, 8:18 PM
    Is there any way to execute code once before all tests in Cypress? I need it to run only once before all specs. The problem I want to solve is to create some file needed for tests, prepare user permissions and so on. I have tried 'before' hook in the support index.js file but it runs every test spec.
  • g

    gray-kilobyte-89541

    12/29/2022, 9:06 PM
    run it as a JS script before kicking off
    cypress run
    command
  • d

    dry-scooter-25612

    12/29/2022, 9:30 PM
    Help with this error please PS C:\Users\NanoTech\forteszaAutomation> docker run -i -v "%cd%":/my-project-forteszautomation -t my-image:v1 --spec cypress/e2e/features/distribucionFactura/*.feature docker: invalid reference format. See 'docker run --help'. PS C:\Users\NanoTech\forteszaAutomation>
  • c

    clean-processor-42509

    12/29/2022, 10:02 PM
    Ok thanks @gray-kilobyte-89541
  • m

    magnificent-finland-58048

    12/30/2022, 1:47 PM
    if you want to cheat, everything under cypress/support/e2e.ts/js runs before all the test files
1...239240241...252Latest