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

    elegant-dog-90839

    11/29/2022, 11:14 AM
    thx
  • g

    gray-kilobyte-89541

    11/29/2022, 12:53 PM
    https://stateofjs.com/en-us/ is out, includes a testing section
  • b

    brainy-van-53769

    11/29/2022, 1:15 PM
    Hey, guys. Do you know where I can get the Cypress shirt. I want to buy.
  • f

    fresh-doctor-14925

    11/29/2022, 5:27 PM
    !duplicate
  • n

    nutritious-analyst-96582

    11/29/2022, 5:27 PM
    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! 😀
  • m

    magnificent-memory-85975

    11/29/2022, 8:52 PM
    Hello there, Anyone familiar with these errors? I get a transition error in the console which directs me to the cypress_runner.js. Thanks.
  • f

    fresh-doctor-14925

    11/30/2022, 9:56 AM
    Can you go a few steps back? What's the transition error and what's the Cypress UI showing?
  • m

    magnificent-memory-85975

    11/30/2022, 10:00 AM
    before that I will get this warning followed by an error. Its like it doesnt finishes what is supposed to do.
  • f

    fresh-doctor-14925

    11/30/2022, 10:04 AM
    Hmm. This isn't one I've encountered before. I'd be interested to know what this
    LogCollectBrowserConsole.js
    is. It's not something in the Cypress repo (https://github.com/cypress-io/cypress/find/develop) Have you added any plugins?
  • f

    fresh-doctor-14925

    11/30/2022, 10:06 AM
    Ah, it comes from
    cypress-terminal-report
  • m

    magnificent-memory-85975

    11/30/2022, 10:06 AM
    I think its some routing issue, as the tests will continue regardless and the interceptor will fail with a 422 🙂
  • f

    fresh-doctor-14925

    11/30/2022, 10:07 AM
    Ah, it's from this: https://www.npmjs.com/package/cypress-terminal-report That was confusing me. Yeah I don't think that this is a cypress error. Possibly an application issue?
  • m

    magnificent-memory-85975

    11/30/2022, 10:08 AM
    I believe so yes, I cant reproduce manually.
  • f

    fresh-doctor-14925

    11/30/2022, 10:09 AM
    Hmm, well if it isn't failing your test, then I think the best you can do is alert your devs to it (maybe there are some corresponding error logs if you have monitoring?) and then get on with your life 🙂
  • m

    magnificent-memory-85975

    11/30/2022, 10:43 AM
    Thanks, yeah already talked to them waiting for some feedback 🙂
  • m

    mysterious-belgium-25713

    11/30/2022, 2:25 PM
    Just putting this event here. https://applitools.com/automation-framework-engineers-speak-webinar/
  • g

    gray-kilobyte-89541

    11/30/2022, 3:15 PM
    oh my, it will be something
  • m

    mysterious-belgium-25713

    11/30/2022, 3:17 PM
    Haha it would be a super troll move if you would present how good Selenium is.
  • g

    gray-kilobyte-89541

    11/30/2022, 3:19 PM
    I will speak about the power and elegance of PhantomJS test code
  • m

    mysterious-belgium-25713

    11/30/2022, 3:19 PM
    Hahahah
  • b

    best-flower-17510

    11/30/2022, 3:55 PM
    Updated! I also created a new Custom Command to encourage members to create threads 🔥
    n
    • 2
    • 2
  • i

    incalculable-rainbow-43330

    12/02/2022, 7:46 AM
    I asked this question already but didn't get any response so reposting it to get Attention is there any way to find the Current running cypress command when it reaches the first time to the cypress config.ts file? actually, I need to do something based on the command used by a user example if the cypress command is executed to run specific test cases I need to do some operation if the cypress command has some key in command, I need to perform some operation so is there any way to determine which cypress command the user entered while running the cypress
  • g

    gray-kilobyte-89541

    12/02/2022, 11:38 AM
    it sounds like something you don't want to do. What kind of test are you writing?
  • i

    incalculable-rainbow-43330

    12/02/2022, 2:18 PM
    actually, we are planning to save the DB and reuse it the plan is if we have 100 test cases to execute as every test case is independent but connected to one application DB when we found test cases 10, 20, 25, 30 are failed then we are planning to maintain this specs as imports in failing-spec.ts file then if user sending a command via pipeline to rerun all test cases then i need to delete the content of failing-spec.ts file but if user sending a command via pipeline to retry failing test cases ( npx cypress --spec="failing-spec.ts") then i need not delete the content of failing-spec.ts file so in order to perform above operation in cypress.config.ts near setupNodeEvents method iam planning to determine which command user used during the current execution so that i can perform the above @gray-kilobyte-89541 if you know any better way to handle this please suggest thank you Note: we already aware of setting in cypress dashboard which will stop executing all the test cases upon filing a failure but we dont want to do that anyways because each test is independent and we want to check which things failed and wanted to rerun only failed test cases next time
  • g

    gray-kilobyte-89541

    12/02/2022, 2:25 PM
    seems like you want to control the test and how they set up the data. Use Cypress.env via
    --env ...
    argument to control what the tests do
  • i

    incalculable-rainbow-43330

    12/02/2022, 2:30 PM
    can you help me with example or with more info @gray-kilobyte-89541
  • s

    stocky-kilobyte-57323

    12/02/2022, 2:33 PM
    Is it bad practice to check that some text does not exist?
    f
    g
    • 3
    • 4
  • f

    fresh-doctor-14925

    12/02/2022, 2:38 PM
    !threadit
  • n

    nutritious-analyst-96582

    12/02/2022, 2:38 PM
    Let's keep the conversation going! Please create a thread in the original question to submit your responses 😀
  • g

    gray-kilobyte-89541

    12/02/2022, 3:39 PM
    I would suggest you read my blogs, examples, etc, and you can always find answers at https://cypress.tips/search
1...979899...127Latest