https://cypress.io logo
Join DiscordCommunities
Powered by
# help
  • s

    stale-optician-85950

    10/10/2022, 2:07 PM
    Your error says "localhost failed to send any data". Are you testing a localhost site? Also, you haven’t set any baseUrl in your
    cypress.config.js
    . Post your test code and command for launching Cypress here.
  • g

    great-agency-55143

    10/10/2022, 2:26 PM
    Hello, is there a startup programm with Cypress providing free credits? (same as others tools like AWS, DigitalOcean or Google)
  • m

    mysterious-belgium-25713

    10/10/2022, 2:28 PM
    What for credits do you need. Cypress is a free tool. And they have a free tier for dashboarding to try out.
  • g

    great-agency-55143

    10/10/2022, 2:31 PM
    Ok, I see that there are 500 free results per month. I guess that's good for very small projects, but I'm afraid I'll run out of credit quickly (we're building an image bank with lots of features, and we'll probably have hundreds of tests). I've read that I can run it locally for free, but if I use Gitlab CI, I think the 500 will be quickly consumed.
  • s

    strong-application-30670

    10/10/2022, 3:05 PM
    I think the free version you can run locally that you mentioned is a third-party tool that Cypress do not recommend (it's open source I think)
  • w

    wonderful-match-15836

    10/10/2022, 3:05 PM
    Just to clarify - you can run your tests using Cypress for free on CI, always. The Dashboard that has the credits is for analytics of your CI runs over time, test orchestration, flake reporting, and various other things that build on top of your test suite. You can use the free tier to see how that all works with your results, if you'd like those things. There are some integrations from the Dashboard when you are logged into the App, but it's a separate product. That said if you think the free tier is not enough to try it out, you can talk to our sales folks about a trial period that goes beyond it.
  • s

    strong-application-30670

    10/10/2022, 3:06 PM
    We've ultimately built our own Cypress Dashboard at Webflow, but we'd like to check what Cypress Dashboard currently has in offer
  • s

    strong-application-30670

    10/10/2022, 3:06 PM
    @wonderful-match-15836 while you're here could you help us out?
  • w

    wonderful-match-15836

    10/10/2022, 3:07 PM
    we don t have a paid plan because we can
  • b

    best-window-49967

    10/10/2022, 3:37 PM
    Would you kindly share a link or some threads i can follow to setup cypress
  • p

    plain-book-54895

    10/10/2022, 4:10 PM
    The new component testing feature is absolutely awesome 🤘🚀! I'm trying it out in an Angular application, but I'm having some difficulties testing
    @Input()
    -changes post mounting, and I can't find any resourrces on it 🫤. Does anybody have a working example 🙏?
  • p

    plain-book-54895

    10/10/2022, 4:10 PM
    May I also suggest creating an 'help-component-testing'-channel, like there is for E2E 🙂?
  • l

    limited-barista-33480

    10/10/2022, 5:48 PM
    Hello guys, who can help me with this question. How can I execute a cypress script in chrome webdriver, that is, the idea is to enter a command to execute the test but to open the chrome browser without it being within the cypress environment. example like when running a test with selenium that opens independently.
  • m

    mysterious-belgium-25713

    10/10/2022, 5:56 PM
    So did you make it work?
  • s

    stale-optician-85950

    10/10/2022, 6:02 PM
    This is the starting point: https://docs.cypress.io/guides/end-to-end-testing/writing-your-first-end-to-end-test
  • t

    thankful-dawn-86064

    10/10/2022, 6:08 PM
    yeah
  • c

    creamy-train-56346

    10/10/2022, 6:41 PM
    Hey all. In test should I be able to access request data aliased in before hook?🤔 for me it works only if I place alias command in beforeEach hook now. I haven’t been using cypress for some time, but I think it should work both ways.
  • s

    stale-optician-85950

    10/10/2022, 6:44 PM
    ChromeDriver is a separate executable that Selenium WebDriver uses to control Chrome. Cypress is a completely different tool that runs directly in the browser threads and has nothing to do with ChromeDriver. What you are asking for is not possible or necessary.
  • s

    stale-optician-85950

    10/10/2022, 6:45 PM
    I just seen you've asked the same question in another channel and received a detailed answer from @mysterious-belgium-25713 Please don't post the same question in multiple channels.
  • s

    square-pager-46841

    10/10/2022, 7:43 PM
    Thanks!
  • s

    stale-optician-85950

    10/10/2022, 7:56 PM
    Works for me when aliased in
    Before
    hook:
    Copy code
    describe('Cypress Alias', () => {
      before(() => {
        cy.visit('https://discord.com/');
        cy.request('https://catfact.ninja/fact').then(resp => {
          cy.wrap(resp.allRequestResponses[0]['Response Status']).as('responseStatus');
        });
    
        cy.get('@responseStatus').then(r => {
          cy.log('1st inside Before:', r);
        });
      });
    
      it('Validates stuff', () => {
        cy.get('@responseStatus').then(r => {
          cy.log('2nd in Test', r);
        });
      });
    });
  • l

    limited-barista-33480

    10/10/2022, 10:31 PM
    @stale-optician-85950 Thanks for your answer, if you are right, the chrome driver is totally different. I was reviewing the problem in detail and it happens that I found a bug for the automation. So I have to talk to the development team and validate. And for the topic of the channels, if I ask the question in another channel, I don't know how this is handled for the help, I'm new to the channel.
  • s

    stale-optician-85950

    10/11/2022, 4:14 AM
    Sure, here's the How To Get Help info https://discord.com/channels/755913899261296641/763097415896268840/763104618464149574
  • b

    best-window-49967

    10/11/2022, 8:15 AM
    Guys all the help and advice I am getting here is after the test runner is launched and then I can create empty specs and change configuration etc, but please understand my test runner failed to launch
  • b

    best-window-49967

    10/11/2022, 8:17 AM
    see the pic number 3, (this page isn't working), It is possible port number 63122 is occupied, which file I can go and change local host [port number ? or is there another way of solving this problem
  • m

    mysterious-belgium-25713

    10/11/2022, 8:18 AM
    Can you show us your config file and maybe also your test spec file
  • b

    best-window-49967

    10/11/2022, 8:19 AM
    @stale-optician-85950 please advice my cypress test runner has failed to launch
  • b

    best-window-49967

    10/11/2022, 8:20 AM
    this is the config file
  • b

    best-window-49967

    10/11/2022, 8:22 AM
    this is the launch.json file
  • b

    best-window-49967

    10/11/2022, 8:23 AM
    I am new to cypress, I have some experience is selenium
1...170171172...252Latest