https://cypress.io logo
Join Discord
Powered by
# cy10-feedback
  • b

    busy-vegetable-18177

    06/06/2022, 11:21 AM
    Is there a way to prevent the cypress app from opening? I'd like to pass something like
    --e2e --browser chrome --no-gui
    and have just the browser open, not the extra window
  • f

    fresh-doctor-14925

    06/06/2022, 11:23 AM
    Additional context: > I don't want the extra window that lets me select between e2e and component (this is on v10) https://discord.com/channels/755913899261296641/763114122065739818/983329419563270144 I agree. Would be nice to be able to bypass the component/e2e selection screen rather than having to click through on each
    cypress open
  • f

    fresh-doctor-14925

    06/06/2022, 11:29 AM
    > npx cypress open --e2e --browser electron goes directly into the spec view > npx cypress open --component --browser electron does the same for component tests Courtesy of @gray-kilobyte-89541. That fits my use case, but I'm not sure if you were talking about having no Cypress in the UI at all, @busy-vegetable-18177 ? eg no sidebar or anything like that?
  • b

    busy-vegetable-18177

    06/06/2022, 11:34 AM
    No just the extra window because I never touch it (also in on phone so can't test if this is what I want)
  • w

    wide-train-97031

    06/06/2022, 1:54 PM
    Hi, thanks for cypress 10, looks amazing but works so slow, when tests running in a new cypress my CPU is more than 90% . I work on windows machine, my processor Intel Core i7-8565U
  • w

    wide-train-97031

    06/06/2022, 1:54 PM
    how to fix this issue
  • g

    gray-easter-54566

    06/06/2022, 8:50 PM
    Hey Django. That's concerning. Anyway you can send us a bit more detailed information. Maybe running
    powershell get-process
    inside a terminal?
    w
    • 2
    • 1
  • a

    adventurous-postman-3917

    06/06/2022, 4:48 PM
    Hello @here, Thank you for this wonderful release. # 1 - Is it normal to sort specs by name like this?
  • a

    adventurous-postman-3917

    06/06/2022, 4:50 PM
    #2 -
    Copy to clipboard
    is just copies the
    Selector
    not
    cy.get('selector')
    e.g. for following it will Paste only
    #fname
    not
    cy.get('fname')
  • l

    lemon-winter-31408

    06/06/2022, 6:08 PM
    Thank you for the release, I love component testing and really want it to work smoothly. When I get a test running it seems pretty speedy. An issue though... I'm seeing what looks like an infinite loop where component tests run then build, then run... To reproduce I created a new CRA project and installed cypress, then created tests are two sub-folders as shown in the screenshot.
  • l

    lemon-winter-31408

    06/06/2022, 6:09 PM
    It seems that if
    component
    only has one sub-folder that this looping doesn't happen.
  • l

    lemon-winter-31408

    06/06/2022, 6:11 PM
    The content of both tests is:
    Copy code
    import React from "react";
    
    describe("ComponentName2.cy.ts", () => {
      it("playground", () => {
        cy.mount(<h2>Heading</h2>);
      });
    });
  • c

    curved-battery-38204

    06/06/2022, 8:13 PM
    Hello @here and thanks to everyone for this great release! * Run into the following not expected error after having finished running 2 successful tests:
    Copy code
    Error: The target 'edit--931cef47-422e-416f-8572-93afc1f9d7ba' could not be identified in the dom, tip: check spelling
    The issue is that this screen appears as blinking between the finishing page of my tests (so this appears then the screen of my web app then again this screen and so on .. ) Would anyone happen to have any idea why this could happen ? This has not happened to previous releases and that is why i ended up posting here
  • c

    curved-battery-38204

    06/06/2022, 8:20 PM
    * also, how are you supposed to run Cypress with an other config file that in previous versions was extending the
    cypress.json
    file ? Should we make a copy of the
    cypress.config.js
    (for example:
    staging.config.js
    ) and copy the contents of the main into that one too ?
  • g

    gray-easter-54566

    06/06/2022, 8:50 PM
    Thread
  • c

    crooked-fish-95411

    06/06/2022, 10:24 PM
    Hey guys @here amazing job with the new release, but having some troubles to use packages that used to work in older versions 🥲 someone face this issue with faker-js too?
  • l

    lemon-winter-31408

    06/06/2022, 11:36 PM
    Yay! It looks like 10.0.3 fixed this, https://github.com/cypress-io/cypress/pull/22067 perhaps? Still need to test in our actual code but looks promising. Thanks!
  • f

    fresh-doctor-14925

    06/07/2022, 9:42 AM
    Is it normal to see so many instances of
    Clear page
    in the run log when using
    cy.session
    ? I don't think there's anything too funky in my auth logic
  • l

    limited-room-30929

    06/07/2022, 10:54 AM
    is there a cli command to apply the migrations of spec and config file without booting up cypress?
  • f

    faint-spring-80499

    06/07/2022, 2:56 PM
    Hi there 👋 I just noticed that the copy to clipboard feature of the selector playground is only copying the CSS selector. Before v10, it used to copy the whole
    cy.get(...)
    commands. Is that intended or a regression?
  • a

    adventurous-postman-3917

    06/07/2022, 2:57 PM
    Hi Walmyr, I'm also reported that here and waiting for the answer https://discord.com/channels/755913899261296641/974362106822545429/983412667240816700
  • f

    faint-spring-80499

    06/07/2022, 2:58 PM
    Oh, great, thanks!
  • g

    gray-kilobyte-89541

    06/07/2022, 5:22 PM
    https://github.com/cypress-io/cypress/issues/22043
  • g

    gray-kilobyte-89541

    06/07/2022, 5:22 PM
    almost there
  • r

    rough-monitor-85122

    06/07/2022, 7:03 PM
    Just for some context, this is something we (Cypress) wanted as well. It turned out to be way more complicated than we wanted and didn't have time for 10.x. I don't know anyone who doesn't want it / agree, just that not having the launchpad pop up is harder than it seems. ^^;
  • b

    billowy-state-89748

    06/08/2022, 8:32 AM
    cypress with faker
  • b

    billowy-state-89748

    06/08/2022, 8:39 AM
    hi congrats on the new release I was getting the same error as @crooked-fish-95411 above so i created an index.js file and imported faker
  • b

    billowy-state-89748

    06/08/2022, 8:39 AM
    describe('add customer details', () => { it('adds customer details', () => { cy.get('[ng-reflect-name="firstName"]').type(faker.name.firstName()); }) })
  • b

    billowy-state-89748

    06/08/2022, 8:40 AM
    the code above when runs gives a ! reference error now and says faker is not defined
  • b

    billowy-state-89748

    06/08/2022, 8:40 AM
    please help and thank you for your assistance
1...456...18Latest