https://cypress.io logo
Join DiscordCommunities
Powered by
# general-chat
  • m

    modern-fish-67741

    04/19/2023, 3:28 PM
    Thanks, don’t see one in this repo yet. What exactly is the diff between this vs cypress-grep? Should we be using cy-grep over that? The error message almost seems like in order to use it.only I need to have the tag at the describe level, which i dont want
  • c

    crooked-microphone-65524

    04/19/2023, 3:59 PM
    I use callsFake to redirect to my function: const onChange = cy.stub().as('birthday').callsFake(changeValue);
  • c

    crooked-microphone-65524

    04/19/2023, 3:59 PM

    https://cdn.discordapp.com/attachments/763114122065739818/1098276742755524618/Screen_Shot_2023-04-19_at_23.59.30.png▾

  • c

    crooked-microphone-65524

    04/19/2023, 3:59 PM
    but I got this kind of log
  • c

    crooked-microphone-65524

    04/19/2023, 4:00 PM

    https://cdn.discordapp.com/attachments/763114122065739818/1098276915023990864/Screen_Shot_2023-04-20_at_00.00.12.png▾

  • c

    crooked-microphone-65524

    04/19/2023, 4:00 PM
    Anyone has any idea?
  • c

    crooked-microphone-65524

    04/19/2023, 4:01 PM
    In fact,.callsFake(changeValue) is working, but I don't know why '@birthday' is never called?
  • g

    gray-kilobyte-89541

    04/19/2023, 4:13 PM
    https://github.com/bahmutov/cy-grep#cy-grep-vs-cypress-grep-vs-cypressgrep
  • a

    adorable-smartphone-87280

    04/19/2023, 5:17 PM
    This is so good to know. I'm using the
    @cypress/grep
    plugin and having issues with it. Going to try using yours and see if I can get things working today. Thanks @gray-kilobyte-89541
  • s

    silly-yak-58910

    04/19/2023, 6:57 PM
    Hey All! Is there any tool to convert Webdriverio to cypress?
  • m

    modern-fish-67741

    04/19/2023, 7:01 PM
    ChatGPT
  • s

    silly-yak-58910

    04/19/2023, 7:02 PM
    I mean command
  • s

    silly-yak-58910

    04/19/2023, 7:02 PM
    Not tool
  • s

    silly-yak-58910

    04/19/2023, 7:04 PM
    We are trying to convert our extensive webdriverio framework to Cypress.
  • m

    modern-fish-67741

    04/19/2023, 7:13 PM
    How extensive? And Is it worth at that point? I dont know of any tools, and even if there were it probably wouldnt be perfect and still require you to run and update each test
  • a

    acceptable-family-97943

    04/20/2023, 2:30 PM
    How do I bind an object to an Angular component using the template syntax? e.g.
    Copy code
    const option = { display: 'Option 1', value: 1 };
    cy.mount(`<my-component option="option"></my-component>`, { declarations: [MyComponent]} );
  • a

    acceptable-family-97943

    04/20/2023, 2:30 PM
    Passing it via
    componentProperties: { option }
    doesn't work here
  • a

    acceptable-family-97943

    04/20/2023, 2:33 PM
    or is that simply not possible?
  • p

    purple-shampoo-89307

    04/20/2023, 8:34 PM
    Hi everyone! Currently, what's the best way to tag specific test in cypress v12 ?
  • l

    lemon-holiday-89994

    04/20/2023, 9:44 PM
    there are a handful of plugins, I'd just try one or two. Cypress Grep is the one that I used at a past job. The current job, the decision was made to use cypress-tags. I'm not a fan of any of them because they have to parse the files for the tags and at my last job in a TS environment, it took a few seconds per file. My devs were grumpy that a few hundred tests took 6 minutes to run, so I was trying to shave seconds here and there
  • r

    red-flag-46123

    04/21/2023, 8:33 AM
    Hello, where can I post a problem that I have with cypress ?
  • m

    many-airline-45402

    04/21/2023, 8:59 AM
    @red-flag-46123 Did you check out the GETTING STARTED / how-to-get-help section here in the community? https://discord.com/channels/755913899261296641/763097415896268840
  • g

    gray-kilobyte-89541

    04/21/2023, 1:29 PM
    sounds like someone would enjoy my paid course https://cypress.tips/courses/cypress-plugins
  • l

    lemon-holiday-89994

    04/21/2023, 3:15 PM
    possibly. Overall, I like the plugins available to Cypress, but find that the tagging thing really should be a native part of the framework, not a plugin. Damn near everyone uses some flavor of tagging to run their tests and it would be nice to have it just built in
  • c

    colossal-table-38461

    04/21/2023, 5:45 PM
    Hello All, What is the command to free the memory in Node ? OS : Windows 10 Node : V18 I am getting an error on Cypress Runner that Error ENOENT no such file or directory with 1 Network path. Any Idea, What would the root cause ? and how we can resolve it ???
  • g

    gray-kilobyte-89541

    04/21/2023, 5:49 PM
    Yes, I agree
  • c

    crooked-microphone-65524

    04/24/2023, 1:01 PM
    Angular component testing whether support Angular 15?
  • m

    many-airline-45402

    04/24/2023, 2:26 PM
    Hi @crooked-microphone-65524 https://docs.cypress.io/guides/component-testing/angular/overview says "Cypress Component Testing supports Angular 13+."
  • c

    crooked-microphone-65524

    04/24/2023, 3:19 PM
    Yes.I run Cypress Component Testing supports Angular 13 project.It's working
  • c

    crooked-microphone-65524

    04/24/2023, 3:19 PM
    Now I upgrade from angular 13 to angular15, the error is displayed.

    https://cdn.discordapp.com/attachments/763114122065739818/1100078674927173723/Screen_Shot_2023-04-24_at_23.19.39.png▾

1...122123124...127Latest