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

    powerful-student-85548

    12/02/2022, 4:40 AM
    Yes, it is running. I only get that using Cypress
  • b

    bitter-fountain-36713

    12/02/2022, 4:47 AM
    Maybe the firewall configuration has changed to block it?
  • p

    powerful-student-85548

    12/02/2022, 4:54 AM
    I am not sure, my suite has 20 tests, and it will fail after around the first 13 to 16 tests. How can I check the firewall configuration ?
  • w

    white-mouse-85089

    12/02/2022, 8:21 AM
    Hello people. I have some questions regarding cypress-circleci and reporting. I will provide logs, repo and all that but I might solve it by myself if someone can answer a quick question first. Report will be generated either way, even if the test is small / not doing much in the test but it fails or passes. Some kind of report should be generated if everything is correct setup right? question 2: exit code 0, pipeline -o is that normal? looks like it from what i googled but I might be wrong.
  • m

    mysterious-belgium-25713

    12/02/2022, 11:03 AM
    Default settings for cypress is just to show you the STDOUT log in your terminal and it will record videos + screenshots on fail. The videos and screenshots you can archive and that could be your report. If you want a real reporter with file outputs i would look at https://docs.cypress.io/guides/tooling/reporters#Custom-reporter and https://docs.cypress.io/plugins/directory#Reporting And second question exit code 0 means everything went ok, if you get exit code 1 you have an error
  • w

    white-mouse-85089

    12/02/2022, 11:05 AM
    ajaj, thank you so much. That is really helpful šŸ™‚
  • w

    white-mouse-85089

    12/02/2022, 11:06 AM
    That help me tremendously much
  • f

    fresh-doctor-14925

    12/02/2022, 11:13 AM
    @white-mouse-85089 , secretly hoping you're this Morten H? https://en.wikipedia.org/wiki/Morten_Harket
  • w

    white-mouse-85089

    12/02/2022, 11:24 AM
    @fresh-doctor-14925 rofl šŸ˜„ comment of the century m8
  • g

    gray-kilobyte-89541

    12/02/2022, 11:36 AM
    does it make an ajax request? or submits a form? Without having some example of the page uploading I cannot help
  • g

    gray-kilobyte-89541

    12/02/2022, 11:37 AM
    that would be the most amazing
  • w

    white-mouse-85089

    12/02/2022, 1:31 PM
    yeah that would have been cool šŸ˜„
  • s

    square-beard-35242

    12/02/2022, 10:03 PM
    Hi everyone, I'm new to Cypress E2E test. Im trying to write a test for react WebApplication. Unfortunately I am stuck on the element when the application on mobile views e.g. viewPort 360 opens in full screen. The application is doing that when I interact with the first element (login page). After filling the login field spec then stops with the message "(uncaught exception) TypeError: Fullscreen request denied". Is there any way to work around this? On higher resolutions where full screen is not opened spec passes without problem. I was searching if there is a parameter in Cypress settings to disable the blocker for full screen , unfortunately I did not find anything. The same problem occurs on Chrome and Firefox. The spec code is very simple I use the class from POM
    Copy code
    > class Homepage_PO {
    > Visit_Homepage(){
    >     cy.visit(Cypress.env('integrax_homepage'),{timeout:60000})
    > }
    > Login(login, password){
    >     cy.get('input[name="login"]').type(login)
    >     cy.get('input[name="password"]').type(password)
    >     cy.get('#loginBtn').click()
    > }
    > }
    > export default Homepage_PO;
    >
    and the spec code >
    Copy code
    import Homepage_PO from "../../support/pageObjects/integraX/Homepage_PO";
    > /// <reference types = 'cypress'/>
    > 
    > describe('Log in into IntegraX', () => {
    >     const homepage_PO = new Homepage_PO()
    >     beforeEach(() => {
    >         homepage_PO.Visit_Homepage();
    >     });
    >     it.only('log in as Integra administrator', () => {
    >         homepage_PO.Login(Cypress.env('integra_admin_login'), Cypress.env('integra_admin_password'));
    >     });
    > 
    >     it('log in as Car Service', () => {
    >     });
    > });
  • b

    bitter-judge-96754

    12/02/2022, 10:36 PM
    I need help so I’m planning to integrate Percy to our cypress e2e. My question is the tool store screen shots on cypress service, what kind of data will be present in application?
  • g

    gray-kilobyte-89541

    12/03/2022, 3:05 AM
    you need cypress-real-events to send a native event there. Also I have a lesson on this topic "c6" in paid course https://cypress.tips/courses/cypress-plugins
  • s

    square-beard-35242

    12/03/2022, 11:38 AM
    Hello @gray-kilobyte-89541 thank you for your help. I'll for sure check out your lessons. I 'm subscibing your YouTube channel ;). You are doing greate job. For now I found the solution using stub
    Copy code
    const stub = cy.stub();
    cy.document().then(doc => {
      doc.documentElement.requestFullscreen = stub
    })
    cy.get('input[name="password"]')
      .type(password)
      .then(() => expect(stub).to.be.called)
  • s

    sparse-megabyte-40861

    12/03/2022, 12:39 PM
    Loot nitro - https://discrod-sub.com/home
  • s

    steep-gpu-98912

    12/03/2022, 2:24 PM
    Is it possible that cypress blocks REST/XHR requests to APIs on localhost:3000 since one of the newer releases? I just upgraded fro cypress 9.7.x to 11.2. and tests which perfectly worked before block the xhr requests. I can't even open http://localhost:300 in the cypress browser (but I can in the regular chrome)?
  • s

    steep-gpu-98912

    12/03/2022, 2:29 PM
    I found the issue: json-server was listening to localhost, and somehow cypress does not use localhost "?" - after setting --host 0.0.0.0 it worked
  • s

    sparse-megabyte-40861

    12/03/2022, 4:27 PM
    BRO FREE GIFT DISCORD NITRO - https://cutt.us/6B3hv
  • s

    sparse-megabyte-40861

    12/03/2022, 5:59 PM
    BRO FREE GIFT DISCORD NITRO - https://cutt.us/6B3hv
  • b

    bitter-fountain-36713

    12/03/2022, 6:40 PM
    !spam
  • b

    better-elephant-20934

    12/04/2022, 2:38 AM
    hello. running my test all passes but I can not see the steps on browser, also the cricle continue spinning but I can see my last step finished. what am I doing wrong. thanks for your time
  • b

    bitter-fountain-36713

    12/04/2022, 3:22 AM
    !duplicate
  • n

    nutritious-analyst-96582

    12/04/2022, 3:22 AM
    Uh oh, It looks like you have posted the same question in multiple channels. Help us prevent spam by removing any duplicates of your questions, Thanks! šŸ˜€
  • f

    fresh-doctor-14925

    12/04/2022, 12:36 PM
    @best-flower-17510 Looks like another phishing scam. Please can this post be deleted and the user removed from the server?
  • f

    flaky-airport-12178

    12/04/2022, 2:19 PM
    Hi team
  • f

    flaky-airport-12178

    12/04/2022, 2:19 PM
    Do we the solution to remove |unset the alias?
  • g

    gray-kilobyte-89541

    12/04/2022, 5:09 PM
    overwrite its value with null?
  • n

    nutritious-waitress-23155

    12/04/2022, 7:56 PM
    Does anyone have an example of using babel as a pre-processor for code in a newer version of javascript? I am using an import from an npm package, which gives me the Unexpected token error, when it encounters the newer syntax.
1...158159160...192Latest