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

    loud-telephone-11500

    11/17/2022, 4:44 PM
    Actually i have three labels in a page and want to concatenate those three labels in a single test case
  • f

    fresh-doctor-14925

    11/17/2022, 4:49 PM
    > concatenate those three labels in a single test case I'm still not sure what you're aiming for here. Are you just looking to get the text from three labels and concatenate those strings?
  • g

    gray-kilobyte-89541

    11/17/2022, 4:59 PM
    See https://github.com/bahmutov/cypress-examples/commit/04dfcecb303fb987a04767d0dbedc8dcfad6648c and I will post a video explaining it on my channel https://www.youtube.com/glebbahmutov
  • l

    loud-telephone-11500

    11/17/2022, 5:07 PM
    Yes
  • l

    loud-telephone-11500

    11/17/2022, 5:12 PM
    Thanks for this but is there anyway to do same using xpath because I have nothing unique field to use get() .?
  • g

    gray-kilobyte-89541

    11/17/2022, 5:23 PM
    don't use xpath
  • m

    mysterious-wall-17437

    11/18/2022, 1:53 AM
    can Any body guide me about it plz
  • b

    best-window-49967

    11/18/2022, 10:17 AM
    Good morning all, I am sure this is a known issue and I have seen many posts about this problem but some reason I could not find the solution for this, after downloading cypress in VS code via all usual means cypress download is failing and cypress exe file is not available in cache, can some one help please, this looks like a known issue but I could not find the solution
  • i

    incalculable-rainbow-43330

    11/18/2022, 11:39 AM
    Excellent solution with multiple options Wow Thank you 🤩
  • m

    mysterious-belgium-25713

    11/18/2022, 11:47 AM
    try npx cypress install in your command line See if it will install cypress after that you can do npx cypress open
  • f

    fast-napkin-28259

    11/18/2022, 1:04 PM
    Is there a Cypress Cucumber channel somewhere? Would make sense if it was under
    TESTING FRAMEWORKS
  • m

    mysterious-belgium-25713

    11/18/2022, 1:17 PM
    Well cypress cucumber is just a community plugin its not created by cypress. If we do that then we would have all kinds of community plugin channels.
  • f

    fast-napkin-28259

    11/18/2022, 1:24 PM
    Ah okay makes sense. Would get pretty messy 😝
  • f

    fast-napkin-28259

    11/18/2022, 1:25 PM
    Is there a Cypress Flutter wrapper? I know they have integration tests that basically do the same thing, but imagine using one tool and terminology for all FE dev. #theDream
  • b

    best-window-49967

    11/18/2022, 1:37 PM
    npx cypress install is not working either, it says installing cypress but it does not, this installing cypress screen is there from last 2 hours, screen is forzen.
  • i

    incalculable-rainbow-43330

    11/18/2022, 1:45 PM
    HI Team is there any way i can get the cypress command executed to run tests inside cypress.config.js/ts file so that i can perform some operation in cypress.config.js/ts file accordinly?
  • m

    mysterious-belgium-25713

    11/18/2022, 1:47 PM
    Maybe something wrong with your powershell. Cant you do it in cmd instead of powershell
  • b

    best-window-49967

    11/18/2022, 1:49 PM
    ok let me try in cmd
  • b

    best-window-49967

    11/18/2022, 1:52 PM
    same issue in cmd as well
  • m

    mysterious-belgium-25713

    11/18/2022, 1:56 PM
    And npx cypress install in cmd will that also give the same result
  • b

    best-window-49967

    11/18/2022, 2:02 PM
    yes same result plz see the screen shot
  • m

    mysterious-belgium-25713

    11/18/2022, 2:10 PM
    Hmm then i dont know, are you on a company laptop?
  • s

    stale-optician-85950

    11/18/2022, 2:12 PM
    Have you tried with
    force
    like so
    npx cypress install --force
    ? Apologies if you have already, I'm only scanning over recent chats. Also I would remove all / any other instances of Cypress with
    npx cypress cache clear
    before the
    force
    command.
  • t

    thankful-needle-25769

    11/18/2022, 2:15 PM
    also to verify if cypress is installed maybe you can try
    cypress -v
  • b

    best-window-49967

    11/18/2022, 2:21 PM
    I am
  • b

    best-window-49967

    11/18/2022, 2:30 PM
    Screen frozen after npx cypress install --force
  • b

    best-window-49967

    11/18/2022, 2:30 PM
    its been frozen from last 20 minutes
  • m

    mysterious-belgium-25713

    11/18/2022, 2:30 PM
    It could be that your company laptop has a policy/proxy/protection that does not allow downloading binaries
  • b

    best-window-49967

    11/18/2022, 2:31 PM
    where could I go in the system as find out the policy
  • m

    mysterious-belgium-25713

    11/18/2022, 2:33 PM
    That is something your work IT departement should know. Every company is different. For mine it was enabeling the proxy to download stuff but it could be that they have a company policy hidden in some monitoring software they use.
1...939495...127Latest