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

    narrow-minister-71622

    10/07/2022, 8:54 AM
    Is there any way we can automate desktop applications using cypress .. Any Plug in or tool available ?
  • a

    acceptable-hamburger-48790

    10/07/2022, 11:24 AM
    Cypress runs within browser
  • m

    mysterious-kitchen-59722

    10/07/2022, 1:47 PM
    Any input?
  • s

    stale-optician-85950

    10/07/2022, 7:48 PM
    As each of these versions is pre v10, wouldn’t it be easier for you to just branch your code and install v8.5, then run that branch in CI and see for yourself! And after that branch again and install the latest v10 version and repeat your checks.
  • m

    microscopic-crowd-9149

    10/09/2022, 4:10 AM
    We are debating between Cypress vs katalon
  • a

    adorable-smartphone-87280

    10/09/2022, 5:13 AM
    Dude. Only post your question once. Don't spam every channel.
  • b

    brash-portugal-32385

    10/09/2022, 9:11 AM
    I kindly request someone help me with my cypress issue. In terminal I've updated Cypress to the latest version of 10.9.0, successfully and it shows on package.json as updated. But on Cypress tool it is not updated and still showing as upgrade to latest version. Also till today morning my program runs well. But suddenly facing issue on running the spec. I've attached the issue screenshot.
  • a

    adorable-smartphone-87280

    10/09/2022, 3:00 PM
    Did you quit cypress and relaunch?
  • b

    brash-portugal-32385

    10/09/2022, 7:14 PM
    Yes I did but still not shows as updated. But in terminal I can see updated version is installed.
  • a

    adorable-smartphone-87280

    10/09/2022, 7:23 PM
    Did you re-run NPM install or whatever other bootstrap scripts you have set up? Just updating your package.json won’t install the update.
  • b

    brash-portugal-32385

    10/09/2022, 7:25 PM
    no, Actually I am new to Cypress, any other tech I am just learning. So am I need to re-run NPM and scripts?
  • a

    adorable-smartphone-87280

    10/09/2022, 7:27 PM
    I don’t know what your setup is, but yes generally you need to run an install process after changing the version number in package.json
  • a

    adorable-smartphone-87280

    10/09/2022, 7:27 PM
    This is usually done for you if you install from a command line command. Not if you just update the version in the file.
  • b

    brash-portugal-32385

    10/09/2022, 7:31 PM
    I've installed from Terminal only.
  • a

    adorable-smartphone-87280

    10/09/2022, 7:34 PM
    Then I would expect it to be working for you. Sure you installed into the correct directory?
  • b

    brash-portugal-32385

    10/09/2022, 7:34 PM
    Yes I've.
  • m

    mysterious-belgium-25713

    10/09/2022, 8:01 PM
    Let me try to retrace your steps. You are now in the folder where you cypress project is. In your package.json there you find the latest version. if you run from that folder npx cypress open it will show you an older version?
  • m

    mysterious-belgium-25713

    10/09/2022, 8:04 PM
    or are you running cypress from somewhere else and maybe have a global install on your machine
  • b

    brash-portugal-32385

    10/09/2022, 8:08 PM
    Do you need any screen shot to assist me with this or can you help me on zoom or ms meeting or google meet to share screen and fix it?
  • k

    kind-belgium-84812

    10/11/2022, 12:33 AM
    Hi all I’m new to Cypress and I’m trying to start automating Salesforce E2E journeys. However I’ve come across a lot of issues. After I login I get error messages. I believe this is a common issue with Cypress/ Salesforce automation. Any suggestions would be greatly appreciated
    v
    • 2
    • 2
  • v

    victorious-father-41976

    10/11/2022, 6:11 AM
    Hi all I’m new to Cypress and I’m trying
  • f

    fresh-doctor-14925

    10/11/2022, 10:36 AM
    Any chance we can get a 'solved'/'green tick' emoji added for when someone's problem has been resolved? Would help to save time when looking for who needs help
  • p

    powerful-orange-86819

    10/11/2022, 12:48 PM
    I'm currently expiriencing this issue https://github.com/cypress-io/cypress/pull/20302 seems like it was fixed, like a week ago and pushed to 11.0.0, anyone have any idea how far is 11.0.0 from release?
    w
    • 2
    • 2
  • w

    wonderful-match-15836

    10/11/2022, 6:16 PM
    I m currently expiriencing this issue
  • n

    nutritious-restaurant-91514

    10/12/2022, 8:03 PM
    hey y’all, I’m doing a workshop on testing API next week, you are welcome to join! https://filiphric.com/cypress-api-testing-workshop
  • m

    mysterious-wall-17437

    10/13/2022, 1:16 AM
    I
  • m

    mysterious-wall-17437

    10/13/2022, 1:19 AM
    I'm trying to login with google using Google Auth cypress docs. . . I'm following this custom command code Cypress.Commands.add('loginByGoogleApi', () => { cy.log('Logging in to Google') cy.request({ method: 'POST', url: 'https://www.googleapis.com/oauth2/v4/token', body: { grant_type: 'refresh_token', client_id: Cypress.env('googleClientId'), client_secret: Cypress.env('googleClientSecret'), refresh_token: Cypress.env('googleRefreshToken'), }, }).then(({ body }) => { const { access_token, id_token } = body cy.request({ method: 'GET', url: 'https://www.googleapis.com/oauth2/v3/userinfo', headers: { Authorization:
    Bearer ${access_token}
    }, }).then(({ body }) => { cy.log(body) const userItem = { token: id_token, user: { googleId: body.sub, email: body.email, givenName: body.given_name, familyName: body.family_name, imageUrl: body.picture, }, } window.localStorage.setItem('googleCypress', JSON.stringify(userItem)) cy.visit('/') }) }) }) providing client id , secret it and refresh token. . Everything working fine but then I visit my site
  • m

    mysterious-wall-17437

    10/13/2022, 1:19 AM
    cy.visit("https://accounts.lambdatest.com/dashboard") but it's not logging in
  • m

    mysterious-wall-17437

    10/13/2022, 1:20 AM
    how I can login using google auth?
  • p

    polite-alarm-78904

    10/13/2022, 9:39 AM
    I'm having some issues setting up a github action for a nuxt project. When running the action locally with act I get this error
    Copy code
    `
    [command]/usr/local/bin/npx cypress verify
    | [STARTED] Task without title.
    | [FAILED] Cypress failed to start.
    | [FAILED] 
    | [FAILED] This may be due to a missing library or dependency. https://on.cypress.io/required-dependencies
    | [FAILED] 
    | [FAILED] Please refer to the error below for more details.
    | [FAILED] 
    | [FAILED] ----------
    | [FAILED] 
    | [FAILED] qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
    | [FAILED] qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
    | [FAILED] qemu: uncaught target signal 11 (Segmentation fault) - core dumped
    | [FAILED] 
    | [FAILED] ----------
    | [FAILED] 
    | [FAILED] Platform: linux-x64 (Debian - 11.4)
    | [FAILED] Cypress Version: 10.8.0
    | Cypress failed to start.
    | 
    | This may be due to a missing library or dependency. https://on.cypress.io/required-dependencies
    | 
    | Please refer to the error below for more details.
    | 
    | ----------
    | 
    | qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
    | qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
    | qemu: uncaught target signal 11 (Segmentation fault) - core dumped
    | 
    | ----------
    | 
    | Platform: linux-x64 (Debian - 11.4)
    | Cypress Version: 10.8.0
    [Transferd - employee/cypress-run]   ❗  ::error::The process '/usr/local/bin/npx' failed with exit code 1
    [Transferd - employee/cypress-run]   ❌  Failure - Main cypress-io/github-action@v4
    [Transferd - employee/cypress-run] exitcode '1': failure
    [Transferd - employee/cypress-run] 🏁  Job failed
    Error: Job 'cypress-run' failed
1...858687...127Latest