https://cypress.io logo
Join Discord
Powered by
# e2e-testing
  • e

    eager-library-16374

    06/09/2022, 4:42 AM
    Hi, could someone explain the difference between front-end testing, api-testing and e2e-testing? I still haven't found a sound clarification on this matter...
  • f

    future-vr-59131

    06/09/2022, 6:38 AM
    If you want a definition you could say frontend+api=e2e 😉
  • g

    gray-kilobyte-89541

    06/09/2022, 10:51 AM
    https://www.cypress.io/blog/2017/11/07/Add-GUI-to-Your-E2E-API-Tests/ perhaps and https://www.cypress.io/blog/2017/11/28/testing-vue-web-application-with-vuex-data-store-and-rest-backend/
  • e

    eager-library-16374

    06/09/2022, 9:23 PM
    @gray-kilobyte-89541 , thank you for these two blog posts you shared!!, especially the Testing Vue web applications with Vuex data store & REST backend which unified and made my understanding whole on the interrelation and core concept of each test level. awesome, thank you....I find the Store testing part a bit harder to read so far, but again; these concepts are exactly what I'm trying to understand so studying this is worthwile. I'll read it a few times over
  • g

    gray-kilobyte-89541

    06/10/2022, 12:54 AM
    then also read https://glebbahmutov.com/blog/realworld-app-action/ and https://glebbahmutov.com/blog/cypress-tdd/#the-ui-to-vuex-data-store-test
  • w

    white-activity-68996

    06/10/2022, 4:50 AM
    Hi, there is one client URL which I can only access with VPN, how to work with that in Cypress, cy.visit() returns 403 forbidden @gray-kilobyte-89541 @rough-monitor-85122 @lemon-oyster-64925 @cuddly-winter-72122
  • d

    damp-lunch-77700

    06/10/2022, 7:46 AM
    Hi All
  • d

    damp-lunch-77700

    06/10/2022, 7:46 AM
    im facing issue with 401 authentication
  • d

    damp-lunch-77700

    06/10/2022, 7:46 AM
    can u help me how to solve this
  • d

    damp-lunch-77700

    06/10/2022, 7:47 AM
    do we need any permission or access to work with ?
  • b

    best-toothbrush-1100

    06/10/2022, 9:03 AM
    npx cypress run this command is deleting my config and package.json files and throw this error Warning: We failed to trash the existing run results. This error will not alter the exit code. TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received type boolean (false)
  • a

    able-family-92006

    06/10/2022, 7:30 PM
    can I collect coverrage on Vite React application?
  • m

    magnificent-airport-3423

    06/13/2022, 7:03 AM
    cypress test runner is not opening
  • m

    magnificent-airport-3423

    06/13/2022, 7:03 AM
    can anyone please help
  • m

    magnificent-airport-3423

    06/13/2022, 7:04 AM
    test runner is only loading
  • r

    rich-pharmacist-74804

    06/13/2022, 7:28 AM
    Hi @magnificent-airport-3423, did you solve it yourself, or waiting for the solution? I am also facing the same issue.
  • m

    magnificent-airport-3423

    06/13/2022, 7:29 AM
    unable to solve @rich-pharmacist-74804 , waiting for the solution jst like you
  • s

    salmon-appointment-68982

    06/13/2022, 9:50 AM
    Hello Hi
  • s

    salmon-appointment-68982

    06/13/2022, 9:50 AM
    describe('Home page', () => { it("use web security false here", function () { cy.request("http://xyz.com/"); }); })
  • s

    salmon-appointment-68982

    06/13/2022, 9:50 AM
    This is my first test case
  • s

    salmon-appointment-68982

    06/13/2022, 9:51 AM
    I usually open my domain with auto login
  • s

    salmon-appointment-68982

    06/13/2022, 9:51 AM
    But Above code is not auto logging (If I manually enter, it's auto logging)
  • s

    salmon-appointment-68982

    06/13/2022, 9:51 AM
    Note: It's throwing "Authentication failed"
  • s

    salmon-appointment-68982

    06/13/2022, 9:52 AM
    Could some one please help
  • f

    fresh-doctor-14925

    06/13/2022, 11:55 AM
    What do you mean by “I usually open my domain with auto login”?
  • s

    salmon-appointment-68982

    06/14/2022, 4:06 AM
    My chrome browser stores cache as my credentials, So chrome will not ask me to while login all the time
  • f

    fresh-doctor-14925

    06/14/2022, 4:08 AM
    Ok. But Cypress runs in a fresh instance of Chrome. No cookies from your regular browser sessions. Like if you were to open in Incognito Mode You’ll need to add some authentication steps for your test
  • s

    salmon-appointment-68982

    06/14/2022, 4:35 AM
    Could you please refer to those steps
  • f

    fresh-doctor-14925

    06/14/2022, 7:58 AM
    It’ll depend on the application you’re trying to sign in to. There’s a few examples on how you could approach it here: https://docs.cypress.io/api/commands/session
  • b

    breezy-area-11544

    06/15/2022, 10:01 AM
    [PROCESS IS NOT DEFINED] [CYPRESS 10.0.0] Hello, I just upgraded my cypress version and I started getting this error:
    Copy code
    The following error originated from your test code, not from Cypress.
    
    > process is not defined
    >
    I looked into the file to where the error is pointing, but I have no clue what to do here, with the new upgrade I'm lost how this config should work. The file where the error is pointing is in the thread.
    • 1
    • 1
1...505152...192Latest