https://cypress.io logo
Join Discord
Powered by
# e2e-testing
  • b

    bitter-carpenter-24697

    09/28/2022, 5:50 PM
    I'm trying to run the webkit for safari - installed "playwright-webkit": "^1.26.1" and using the command npx cypress open --config experimentalWebKitSupport=true - I'm getting the following configuration option is invalid "experimentalWebKitSupport" - Is there something I'm doing wrong?
  • a

    acceptable-hamburger-48790

    09/28/2022, 5:51 PM
    Have you upgraded your cypress version ?
  • b

    bitter-carpenter-24697

    09/28/2022, 5:52 PM
    I'm running version "cypress": "^10.6.0",
  • a

    acceptable-hamburger-48790

    09/28/2022, 5:56 PM
    you would need 10.8.0 - https://medium.com/@gurudatt.sa26/cypress-run-tests-in-safari-browser-4e888548af9e
  • b

    bitter-carpenter-24697

    09/28/2022, 5:57 PM
    aha - brilliant - ok thanks 🙂
  • m

    melodic-egg-83620

    09/28/2022, 7:07 PM
    How do you tell Cypress to use
    babel-preset-env
    for the webpack compilation?
  • f

    fierce-student-18978

    09/28/2022, 7:32 PM
    Hey everyone, I originally started testing in my create-react-app using the E2E test set up. Now, I’m trying to add Component testing. Is it possible to have both of these in the same application? I’ve been running into a lot of problems trying to set up Component testing
  • g

    gray-kilobyte-89541

    09/28/2022, 7:33 PM
    yes
  • b

    bitter-fountain-36713

    09/28/2022, 7:40 PM
    cypress-each
  • u

    user

    09/29/2022, 6:24 AM
    Happened to me quite often. Try adding "numTestsKeptInMemory: 0" in your cypress.config.js. For me it solved that issue
  • d

    dazzling-pillow-26039

    09/29/2022, 6:45 AM
    Also try to keep the number of tests in one file to minimum. Try to split them in separate files
  • w

    wide-evening-76256

    09/29/2022, 7:08 AM
    Hello evetyone, pop-up buttons are implemented via http://www.w3.org/2000/svg and I can't figure out what to write in the code to call these buttons. I read about .invoke() and trigger() but without success so far. if someone has encountered this, I will be very glad for help. Have a nice day to everyone
  • l

    loud-yacht-2158

    09/29/2022, 7:30 AM
    Hi! I need help with testing Quasar q-Notify plugin. Is there a way to make this assertion more unique:
    cy.get('.q-notification__message').contains('Successfully Saved');
    especially needed for when notifications are displayed one after the other.. any info on the whole matter will be appreciated, thanks!
  • m

    mysterious-lawyer-29423

    09/29/2022, 7:47 AM
    Hello, I am trying to click on an element on the UI page to select "Mobile" but I only get the sdxheader returned. The elements inside this sdxHeader are not identified by cypress. How can I click on elements inside the sdxheader?`
  • p

    plain-window-47348

    09/29/2022, 8:48 AM
    Hey 👋 , attempting to make use of the
    experimentalSessionAndOrigin
    setup and facing difficulties particularly with C/XSRF tokens. In a very similar setup to the introduction video,

    https://www.youtube.com/watch?v=Fohrq5GZSD8â–¾

    , we have an 0auth flow whereby another superdomain takes care of authentication. Using
    cy.origin()
    I can interact with the 2nd/auth domain without cypress complaining but then face an issue logging in because the browser the tests are running in remains at the 1st domain (the application). As a result any cookies (in this case the CSRF token) the auth pages try to set are ignored due to SameSite functionality. Anybody had a similar issue?
  • v

    victorious-father-41976

    09/29/2022, 9:20 AM
    Hello I am trying to click on an element
  • c

    cold-van-45410

    09/29/2022, 9:24 AM
    How to run cypress headless?
  • v

    victorious-father-41976

    09/29/2022, 9:40 AM
    How to run cypress headless
  • b

    brief-agent-34897

    09/29/2022, 11:57 AM
    If I've got a very wide table row, I've got it and am trying to click it, and the center isn't in view. The docs say that cypress should try to 'nudge' it into view by moving the scrollbar but after 30 seconds of waiting (watching the video back) I see no nudging! Could nudging be broken? Is it unreliable? Should I be trying to do my own scrolling?
  • s

    some-army-27394

    09/29/2022, 12:29 PM
    I'm trying to run one of my test case. I have observed that it runs perfectly sometimes. But most of the time, it stops halfway during test body execution without any errors. The test suite passes successfully. I don't understand why this happens,
  • g

    gray-kilobyte-89541

    09/29/2022, 12:42 PM
    I think it is too wide (as opposed to tall), Cypress has problem scrolling to it
  • g

    gray-kilobyte-89541

    09/29/2022, 12:43 PM
    Could it be https://github.com/cypress-io/cypress/issues/21428
  • b

    brief-agent-34897

    09/29/2022, 1:12 PM
    Oh interesting! Do you know if that's documented anywhere?
  • s

    salmon-kite-6386

    09/29/2022, 1:29 PM
    Hi,
  • s

    salmon-kite-6386

    09/29/2022, 1:30 PM
    I'm trying to get connected from a website with a form to another one, but get cross-origin issue i guess...
  • m

    mysterious-belgium-25713

    09/29/2022, 1:36 PM
    Hi Emile, If you are moving from one origin to another origin then you need to use the cy.origin command. By default cypress will not cross domains. https://docs.cypress.io/api/commands/origin
  • s

    some-army-27394

    09/29/2022, 1:37 PM
    yup, its the same issue.
  • s

    salmon-kite-6386

    09/29/2022, 1:39 PM
    @most-pager-98827 tu parles français?
  • m

    mysterious-belgium-25713

    09/29/2022, 1:41 PM
    Nope, can read it a little bit but never really studied french.
  • s

    salmon-kite-6386

    09/29/2022, 1:52 PM
    @most-pager-98827, ok, I have a connection page (www.toto.com) with login pwd and when i click on ok it goes to www.titi.com with a token in the URL, can't find how to achieve this even through the doc...
1...109110111...192Latest