https://cypress.io logo
Join Discord
Powered by
# general-chat
  • f

    freezing-wall-7568

    11/22/2022, 10:34 PM
    and if I want to do cy.request within the same domain, do I have to pass a token? or does the cy.session handles that for me
  • c

    curved-stone-65037

    11/22/2022, 11:30 PM
    Hey all, just curious if anyone has trying ember-js component testing with cypress?
  • m

    mysterious-belgium-25713

    11/23/2022, 7:52 AM
    !duplicate
  • n

    nutritious-analyst-96582

    11/23/2022, 7:52 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

    freezing-piano-2792

    11/23/2022, 10:20 AM
    The previous implementation of "run all specs" suffered from a somewhat confusing scoping issue where EG. every hook would be applied to every file. Is there anything plugin developers should know about the newly introduced implementation?
  • m

    miniature-dawn-64694

    11/23/2022, 3:46 PM
    I do not understand what you are trying to do. Do you want to store a test inside your cypress.config.[ts,js] and then run it somehow?
  • e

    elegant-river-87347

    11/24/2022, 3:50 AM
    Hi anyone encoutered,, 403 forbidden when the baseUrl in CI ? This is whats in my main config , and i have tried this on my test sometimes works but most of the time still giving me 403
  • i

    incalculable-rainbow-43330

    11/24/2022, 7:10 AM
    Hi @miniature-dawn-64694 actually, iam trying to maintain a file which will keep track of all failing specs now when they want to run only failing test cases i would like to send my command as npx cypress run --spec="failingspecs.ts" so, when user enters this command I won't clean my failing test cases list if my command has failingspecs.ts else i would clean the list considering that someone wanted to re execute it again so i am looking for something which is going to help me in giving cypress command when i reach **setupNodeEvents **method on('before:run', event etc
  • f

    fresh-doctor-14925

    11/24/2022, 7:47 AM
    Cypress Dashboard already has a lot of this functionality, allowing you to run your failing specs first and to stop the run if a spec fails
  • i

    incalculable-rainbow-43330

    11/24/2022, 8:35 AM
    yah i agree but cypress dashboard will stop all test cases on failure but our requirement is to allow other test case which are passing to proceed as each spec is independent and later deal with only failing test cases so i landed in this situation šŸ™‚
  • f

    fresh-doctor-14925

    11/24/2022, 9:57 AM
    Would the failed tests be run after a fix was implemented, or would you just be retrying them to see if the failure was temporary?
  • m

    magnificent-memory-85975

    11/24/2022, 12:38 PM
    Is still still valid? https://github.com/cypress-io/cypress-example-kitchensink/blob/master/basic/Jenkinsfile If so, how can i replace npm with yarn for instance. Thanks!
  • m

    mysterious-belgium-25713

    11/24/2022, 1:00 PM
    The latest base instance has yarn installed in the container. so instead of base:10 you use base:18.11.0 And replace the npm commands with yarn
  • b

    brash-scientist-28014

    11/24/2022, 1:37 PM
    Does anyone have a recommendation for a "advanced" cypress course? Would like to up my game šŸ™‚ i think my tests are not good readable, but they do what i want then to do.
  • f

    fresh-doctor-14925

    11/24/2022, 1:41 PM
    Have you looked at these? Worth the money IMO https://cypress.tips/courses
  • i

    incalculable-rainbow-43330

    11/24/2022, 2:20 PM
    @fresh-doctor-14925 the intent was to run only failing test cases after someone fixes the issues from Dev side (the intent is to make sure no existing cases are failing while DEv side fixing the issue)
  • b

    brash-scientist-28014

    11/24/2022, 2:43 PM
    thanks! any other suggestion?
  • f

    fresh-doctor-14925

    11/24/2022, 3:26 PM
    So how would you be sure that the fix doesn't break something elsewhere? This goes against the point of having a regression suite IMO
  • f

    fresh-doctor-14925

    11/24/2022, 3:27 PM
    Not really. I learned most of my Cypress skills from their documentation, but that network testing course has really helped me to go to the next level
  • f

    fresh-doctor-14925

    11/25/2022, 11:13 AM
    Suggestion: would it be possible to have some examples of an 'ideal' question on here, and to add them to #763097415896268840? Maybe even an example of a not-so-good question I see a lot of frustration on here from people whose questions go unanswered, but often these questions are overly long descriptions that would take me five minutes just to parse. Meanwhile there are other questions that are easier to understand, so I tend to answer those instead. I'm thinking things like : • Providing a repo • Providing screenshots • No long passages of unformatted html • Steps already taken Most of my first responses to questions are just me asking for one of the above right now. Could also be a template similar to what Cypress now has for its GitHub issues.
  • m

    mysterious-belgium-25713

    11/25/2022, 11:33 AM
    I would also like this. In my gaming discord channels there are special request channels where you post a topic and people can reply to that. I think for the help section we should also have something like that.
  • e

    echoing-painting-40909

    11/25/2022, 1:59 PM
    We have a how-to-get-help channel on Angular Dirscord server, with the following guidances:
    Copy code
    How to get help
    
    Post your question in a relevant question channel:
    
    - Angular related questions can be asked in the help forum channel  (make sure to add relevant tags and a descriptive title for your question/problem. When asking about a library that does not have a tag, please add the library name in title).
    - Update related questions can be asked in update-party. 
    - TypeScript related questions can be asked in typescript. 
    - For questions related to a 3rd party Angular library, please check under the Libraries and Technologies category if a relevant channel exists. If a channel for the library does not exist, you can use the help forum channel to ask your question.
    - The documentation  channel is only for discussing Angular documentation https://angular.io/docs, please only ask questions specifically about the Angular documentation there.
    - When in doubt where to post, read the channel description which is visible on top of every channel.
    - Do not post links to other platforms where you posted the question prior to asking here, but clearly formulate your question and provide context (see below on how to get better help).
    - Just ask your question, don't ask to ask.
    
    Please be patient, only post your question in 1 channel and do not mention/ping members unless they are already in a conversation with you.
  • e

    echoing-painting-40909

    11/25/2022, 1:59 PM
    Copy code
    How to get better help
    Asking the right question can be hard. With the following tips you can increase the chances of getting your question answered.
    
    - Explain what you want to happen and what is happening now. Which steps did you take to try and resolve the issue.
    - Include a code sample or a minimal reproduction of your code showing the issue.
    - In case of an error message, please provide the complete error message.
    - Do not post screenshots of your code or error messages. They are hard to read and do not allow for a quick copy/paste to provide you with an answer.
    - Be respectful towards people helping you, try to answer any follow-up questions they might have.
    
    For a minimal reproduction of your issue, you can use the following:
    - Angular: https://stackblitz.com/fork/angular-ivy-ts-strict-enabled
    - RxJS (non-Angular): https://stackblitz.com/fork/rxjs
    - TypeScript: https://www.typescriptlang.org/play
    
    For codeblocks (with syntax highlighting) use the following (replace ts with the language you want to post (e.g. html, css)):
  • e

    echoing-painting-40909

    11/25/2022, 2:00 PM
    and a bot command leading to https://dontasktoask.com/ for
    any experts around here?
    or
    it's not working
    questions
  • m

    most-baker-72677

    11/25/2022, 2:00 PM
    Has there been any movement on this issue? Any plans going forward? https://github.com/cypress-io/cypress/issues/1271
  • f

    fresh-doctor-14925

    11/25/2022, 2:08 PM
    Something like this would be great! cc @best-flower-17510
  • b

    busy-school-87152

    11/27/2022, 5:21 PM
    hello! do you know how to tell cypress to check if somelement has someattribute, with a timeout retry of 5 secs and max 10 retries? I tried with cy.get("#somelement").invoke('attr', 'someattribute').should('exist') but I don't understand how to set retries and timeouts
  • g

    gray-kilobyte-89541

    11/27/2022, 6:53 PM
    https://github.com/bahmutov/cypress-recurse
  • b

    busy-school-87152

    11/27/2022, 8:14 PM
    hello. Do you know if is there an easy way to fail a cypress test on console.error? This page https://dev.to/tylerben/catching-console-error-statements-in-cypress-1b4g says that I have to 1) Update commands.js OR 2) Use the cypress-fail-on-console-error package .... but I wonder if is there a way to do all in a spec.js test script, without anything to add/install
  • b

    best-flower-17510

    11/28/2022, 3:43 PM
    Thanks for the Recommendation @echoing-painting-40909, I will see what I can create for this šŸ˜€
1...959697...127Latest