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

    nice-controller-92461

    11/21/2022, 5:02 PM
    Hi @mysterious-belgium-25713 , when I try to follow this example, I am facing PageLoadtimeout issue.
  • g

    gray-kilobyte-89541

    11/21/2022, 5:02 PM
    can you provide at least some spec code that is not working?
  • m

    mysterious-belgium-25713

    11/21/2022, 5:18 PM
    This is my screenshot
  • m

    mysterious-belgium-25713

    11/21/2022, 5:18 PM
    What version of cypress are you using
  • m

    mysterious-belgium-25713

    11/21/2022, 5:18 PM
    And can you shre your config file how does it look now?
  • s

    square-honey-48197

    11/21/2022, 5:26 PM
    @sticky-energy-17458 please utilize screenshots, and for code copy and paste 🙂 Windows:
    WIN+SHIFT+S
    (saves img to clipboard for copy and paste) Mac:
    CTRL+SHIFT+COMMAND+4
    (Saves img to clipboard for copy and paste)
  • m

    mysterious-belgium-25713

    11/21/2022, 5:27 PM
    Of if you use VScode use the plugin codesnap
  • m

    mysterious-belgium-25713

    11/21/2022, 5:28 PM
    Then you can do stuff like this.
  • n

    nice-controller-92461

    11/21/2022, 5:28 PM
    I am using cypress: 10.11.0
  • s

    square-honey-48197

    11/21/2022, 5:29 PM
    boi... ^
  • n

    nice-controller-92461

    11/21/2022, 6:03 PM
    I am facing issue, after entering username and password, and hitting another url using cy.origin, page is getting loaded outside cypress test runner
  • s

    sticky-energy-17458

    11/21/2022, 6:13 PM
    I can't use discord on the working pc so I had to take pic, but still thanks
  • s

    sticky-energy-17458

    11/21/2022, 6:13 PM
    So any help?
  • s

    square-honey-48197

    11/21/2022, 6:24 PM
    Is the problem still the
    isInteger()
    thing?
  • s

    sticky-energy-17458

    11/21/2022, 6:57 PM
    Yes
  • s

    sticky-energy-17458

    11/21/2022, 6:57 PM
    Any other alternative
  • h

    happy-megabyte-98400

    11/21/2022, 8:40 PM
    Anyone with okta knowledge please help 🙏
  • l

    limited-barista-33480

    11/21/2022, 10:52 PM
    Hello guys! can any team help me and have knowledge about firebase notifications in cypress? i have problems with this.
  • w

    wide-exabyte-26689

    11/22/2022, 9:21 AM
    I have a test case in which I am checking content of URL link, when a button is clicked. I am able to get the URL with the content using cy.url call. The issue is that in next test case when, login process is done ,then URL link fetched in previous test case is also being fetched, which is causing failure in login process. I am also using cy.visit() call to login page before at start of next test case to login. Please refer screen shot for reference. If anybody has faced same issue or have resolved such issue, please provide some suggestions.
  • f

    fresh-doctor-14925

    11/22/2022, 9:48 AM
    It's not really clear what you're doing from your screenshots. Are you able to share your test code? Preferably in a repo
  • w

    wide-exabyte-26689

    11/22/2022, 10:07 AM
    Hi @fresh-doctor-14925 thanks for response actually I am trying to get the URL link which is opened on clicking on button in my project. So one test case checks the URL link content on clicking on the button. When I move to second test case and login is done to system. The previous URL link which was tested for button click is being fetched in login process, which causes failure of login for second test.
  • f

    fresh-doctor-14925

    11/22/2022, 10:08 AM
    Again, it would be better if you could share some code.
  • w

    wide-exabyte-26689

    11/22/2022, 10:09 AM
    Actually its a private repo, so can't share much details
  • f

    fresh-doctor-14925

    11/22/2022, 10:11 AM
    Ok, based on your descriptions, I'm not going to be able to give much more than generic advice. Sounds like you have interdependency. Your second scenario should be able to run in isolation, and should not have to rely on actions from the first. You can verify this with
    it.only()
  • f

    fresh-doctor-14925

    11/22/2022, 10:59 AM
    There's also this course which has a couple of modules on copying to clipboard and inspecting results https://cypress.tips/courses/cypress-plugins
  • e

    enough-fireman-4779

    11/22/2022, 11:28 AM
    thank you so much! this works great!!!!
  • s

    swift-fireman-48516

    11/22/2022, 1:06 PM
    Hello. We have cypress 10.8 and using cypress's github action 4.2 to parallelize our tests. We're experiencing some issues with some flaky tests when running in parallel via github actions. The issue is that from time to time a cypress test hangs. We're looking to fix this issue, and in the meantime we have set a timeout for the job. However, the real problem is that when this happens that runner doesn't send any exit code to cypress, so in our dashboard the run just stall for 90 minutes, and only then we can export the tests that failed. We would like to send an exit code to cypress dashboard when a test hangs or when the job timeouts . Any solutions for this? Thank you!
  • f

    fresh-doctor-14925

    11/22/2022, 1:24 PM
    Does it do this on 10.7? There are some issues with 10.8 and github actions
  • b

    bitter-fountain-36713

    11/22/2022, 3:04 PM
    How long does that spec typically take to execute?
  • g

    gray-kilobyte-89541

    11/22/2022, 3:17 PM
    @bitter-fountain-36713 is a master of writing really slow tests, his specialties are slow cooking and slow tests
1...149150151...192Latest