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

    early-computer-34425

    05/11/2023, 1:23 PM
    Is it common to have issues running cypress in gitlab compared to locally, just finding elements fails in gitlab where it works with no problem locally
  • a

    ambitious-bird-77402

    05/11/2023, 2:18 PM
    Hey, is it possible for an API call correctly stubbed with cy.intercept() to actually reach the back-end?
  • g

    gray-kilobyte-89541

    05/11/2023, 2:35 PM
    if you use
    req.continue
  • a

    ambitious-bird-77402

    05/11/2023, 2:53 PM
    ok cool, but with a default configuration (cy.intercept + cy.wait().then()) the call is not leaving the Cypress proxy right?
  • g

    gray-kilobyte-89541

    05/11/2023, 3:31 PM
    without your code I cannot tell, since it depends on the arguments to cy.intercept.
  • s

    straight-apartment-53336

    05/13/2023, 11:40 PM
    So I am going to ask this question here. So some things I am curious about and I had a discussion with another SDET. Ans this maybe something I a misunderstanding but I like the use of Cypress.Commands.addll and adding multiple commands from the file to it. Then writing out Cypress. Commands.add and then the overall function. But they argued that it was more to type and does the same thing what beenifit is it to have. To me it was much cleaner code to write. But I maybe don't have a good grasp of when it's a valid to use it. Because I couldn't think of what the best use case of it is. Would love other people take on this.
  • a

    adorable-smartphone-87280

    05/14/2023, 1:19 AM
    ^ this sentence is pretty mangled, but I think I know what you meant. I use .addAll() and define my commands as consts
  • l

    little-chef-89294

    05/14/2023, 9:38 PM
    [
  • s

    straight-apartment-53336

    05/15/2023, 11:43 AM
    @adorable-smartphone-87280 updated the verbiage.
  • b

    billowy-librarian-83114

    05/15/2023, 4:24 PM
    Has anyone had trouble using experimentalRunAllSpecs: true? I see the button to run all specs, but it only runs one.
  • p

    powerful-king-41699

    05/15/2023, 8:13 PM
    Hello All, I am running cypress tests on Firefox 100 and the videos are not getting saved but the screenshots are. The videos are getting generated and saved on failure when running on chrome and electron though. Can anyone help me with this. I need the videos to be saved when running on Firefox.
  • m

    many-airline-45402

    05/15/2023, 8:15 PM
    Hi @powerful-king-41699 There is a long-running outstanding issue concerning video generation with Firefox. See https://github.com/cypress-io/cypress/issues/18415.
  • p

    powerful-king-41699

    05/15/2023, 8:33 PM
    Ok okay. Thank you Mike for the info!
  • a

    acceptable-family-97943

    05/16/2023, 9:51 AM
    Not particularly a Cypress related question, but why is this failing?

    https://cdn.discordapp.com/attachments/763114122065739818/1107968632891379772/image.png▾

  • g

    gray-kilobyte-89541

    05/16/2023, 12:26 PM
    I think floating point map, it might be something like 0.6710000001
  • b

    boundless-processor-89029

    05/16/2023, 3:15 PM
    hey does anyone have the link for the webinar it's happening now? Take your Cypress Tests to the Next Level! [Technical Webinar]
  • b

    best-flower-17510

    05/16/2023, 3:19 PM
    I believe you are referring to our email regarding this event - https://cypress-io.zoom.us/webinar/register/WN_Q1_q7JUzSxCrwB4TyQFSrw
  • b

    boundless-processor-89029

    05/16/2023, 3:26 PM
    hummm 🧐 I had in my calendar one for today 05/16 with the title "Take your Cypress Tests to the Next Level!"... maybe I am mistaken
  • b

    boundless-processor-89029

    05/16/2023, 3:27 PM
    anyways... I will add this one you sent to my calendar now... thanks @best-flower-17510
  • a

    adorable-smartphone-87280

    05/16/2023, 5:43 PM
    Lodash question. Do I always need to invoke lodash in a test file with
    const { _, $ } = Cypress;
    ? I thought it was batteries-included with Cypress by default.
  • m

    many-airline-45402

    05/16/2023, 6:56 PM
    https://github.com/cypress-io/cypress-example-kitchensink/blob/master/cypress/e2e/2-advanced-examples/utilities.cy.js demonstrates it without. The documentation https://docs.cypress.io/api/utilities/_ shows both uses.
  • a

    adorable-smartphone-87280

    05/16/2023, 7:22 PM
    Ah gotcha. So it's just if I don't want to chain it off
    Cypress
    I guess. Thanks @many-airline-45402
  • g

    gray-kilobyte-89541

    05/16/2023, 7:27 PM
    Lots of Lodash examples in my https://glebbahmutov.com/cypress-examples/recipes/create-long-text.html#create-long-text Use search to find more
  • a

    adorable-smartphone-87280

    05/16/2023, 7:30 PM
    Yeah I've just started using it for simple things like
    .toLower()
    on strings.
  • b

    boundless-processor-89029

    05/16/2023, 9:02 PM
    @best-flower-17510 found that email about today’s session

    https://cdn.discordapp.com/attachments/763114122065739818/1108137397541146765/IMG_8848.png▾

  • b

    best-flower-17510

    05/16/2023, 9:04 PM
    Ah yes! These titles look more familiar.
  • b

    bumpy-insurance-8581

    05/17/2023, 3:20 PM
    Hello, anyone has ever used cypress-coverage ? I’ve a big problem with it
  • m

    many-airline-45402

    05/17/2023, 4:22 PM
    You can search in Discord for "cypress-coverage" and find quite a few users of it.
  • b

    bumpy-insurance-8581

    05/17/2023, 4:38 PM
    Nothing seem to be the same as my problem 😢
  • g

    gray-kilobyte-89541

    05/17/2023, 4:40 PM
    the existing issues do not cover this problem. I will let myself out
1...123124125126127Latest