https://cypress.io logo
Join Discord
Powered by
# help
  • e

    echoing-painting-40909

    11/25/2022, 11:28 AM
    I can't find any
    binary-build
    command in the previous link. Where is it from?
  • w

    wooden-scientist-4695

    11/25/2022, 1:18 PM
    Hi everyone anybody used json schema validation using chai-json-schema? this library was failpass for me
  • e

    elegant-dog-90839

    11/25/2022, 3:22 PM
    Hey I need some help with our test set up, so we have simple stepper application which is used by multiple clients. For every client we have rearranged the forms on each step and we have sometimes different forms but in the main sense we have always the same steps often just rearranged. SO what we did is that we have a step list for every client and in cypress testing we just want to iterate over that list. But cypress is not waiting on every process step it seems that it executes all process synchronously and the cypress commands are then just queued up somehow. This behaviour makes it impossible to have some conditional testing (unless we mock everything). The question is how can we actually stop the execution on every
    step.preProcess
    ,
    step.process
    and
    step.postProcess
    and wait till the test code has finished
    Copy code
    js
      /**
       * This is the essential run function that will run all steps.
       * It will look for the steps in tests/e2e/support/steps and either take customer specific steps or default steps.
       * It loops over them and executes the connected function.
       */
      run() {
        this.prepareJourney();
        const steps = getSteps(Cypress.env('VUE_APP_ENVIRONMENT'));
        steps.forEach((step) => {
          cy.wait(Cypress.env('CY_WAIT_EXTRA_SHORT'));
          if (step.preProcess) {
            this[step.preProcess]();
          }
          if (step.process) {
            this[step.process]();
          }
          if (step.postProcess) {
            this[step.postProcess]();
          } else {
            this.postStepWait();
          }
        });
      }
  • g

    gray-island-1435

    11/25/2022, 3:51 PM
    Hi .... I am trying to automate UI which has IDP authentication. I was able to launch IDP url, enter Username, password and successfully login.. The next step is , the IDP page will lists the app which ever configured for the logged user.. When we click any of those app, now the respective app will open in the new tab There are no target attribute in the DOM.. I tried by directly visiting the app url (which opens in new tab) after successful login. But throws 404 error.. Request some help on this
  • j

    jolly-horse-95708

    11/25/2022, 3:57 PM
    Hello! anyone have any issues with Cypress and styled components with Emotion.js? The order the styles are loaded is different between cypress and actual dev/prod
  • w

    wide-park-80881

    11/25/2022, 5:49 PM
    Hi how can a fill an empty table with getting al td elements in a loop and getting data from fixtures
  • m

    most-secretary-62975

    11/26/2022, 4:31 PM
    Does anyone know of a good video that provides instructions on how to set up cypress with docker?
  • l

    lively-nest-28537

    11/26/2022, 7:16 PM
    Hello guys, I am new around here, and I don't usually post but I am trying to learn cypress, to create a small e2e testing framework with Typescript and Cucumber(badeball) and i keep getting those errors: My tsconfig.json file looks like this: I fix an error, and another one pops up, been doing it for like 2 -3 hours, so i'd appreciate any kind of help or suggestion. Many thanks and sorry for bothering you
  • s

    straight-beach-2843

    11/26/2022, 8:01 PM
    Did you install
    @bahmutov
    and
    @badeball
    things? It seems like you didnt install them
  • l

    lively-nest-28537

    11/26/2022, 8:13 PM
    yep, installed
  • s

    straight-beach-2843

    11/26/2022, 8:17 PM
    i think you have add
    moduleResolution: node
    to your tsconfig.json
  • l

    lively-nest-28537

    11/26/2022, 8:18 PM
    did that.. and same issue
  • s

    straight-beach-2843

    11/26/2022, 8:18 PM
    After adding that option, try reloading vscode window
  • l

    lively-nest-28537

    11/26/2022, 8:22 PM
    woah, it worked
  • l

    lively-nest-28537

    11/26/2022, 8:22 PM
    many thanks! you saved me 😄
  • s

    straight-beach-2843

    11/26/2022, 8:23 PM
    😁
  • s

    straight-beach-2843

    11/26/2022, 8:24 PM
    No problem! Glad to help you out 👍🏻
  • f

    full-branch-47022

    11/26/2022, 8:31 PM
    the
    cypress
    package was installed on my project, i ran into an unrelated problem, deleted my node_modules and lock file. installed again, now
    cypress
    won't finish installing
    Copy code
    [1/4] Resolving packages...
    [2/4] Fetching packages...
    [3/4] Linking dependencies...
    [4/4] Building fresh packages...
    [1/1] ⠈ cypress
  • f

    full-branch-47022

    11/26/2022, 8:32 PM
    it stucks on this step, i am sure about the access to the internet
  • f

    full-branch-47022

    11/26/2022, 8:32 PM
    i didn't have this problem weeks ago
  • s

    straight-beach-2843

    11/26/2022, 8:35 PM
    I think it might related to Cache folder. Cypress keeps Cache folder to be faster loads. If version of Cypress on wont match that might cause that
  • s

    straight-beach-2843

    11/26/2022, 8:35 PM
    Try to delete that file also
  • f

    full-branch-47022

    11/26/2022, 8:36 PM
    where is the cahce folder ?
  • f

    full-branch-47022

    11/26/2022, 8:36 PM
    interesting, i tried an older version (
    10.8.0
    ) and it installed without problem !!! the new release seems to be damn buggy
  • s

    straight-beach-2843

    11/26/2022, 8:37 PM
    I am using mac
  • s

    straight-beach-2843

    11/26/2022, 8:37 PM
    It was under applications/Cache folder
  • f

    full-branch-47022

    11/26/2022, 8:38 PM
    current cypress version is
    11.2.0
    , my package json was
    ^10.8.0
    , i ran
    yarn install
    after weeks, and that was alone enough to blow 1hour of my time thanks cypress
  • s

    straight-beach-2843

    11/26/2022, 8:40 PM
    on mac you can find your cache file on Library/Caches
  • s

    straight-beach-2843

    11/26/2022, 8:41 PM
    Its under this folder
  • s

    straight-beach-2843

    11/26/2022, 8:41 PM
    Remove that and try again
1...213214215...252Latest