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

    handsome-lion-1748

    07/25/2022, 8:46 AM
    I found this: https://stackoverflow.com/questions/17509669/how-to-install-an-npm-package-from-github-directly I'll try it
  • h

    handsome-lion-1748

    07/25/2022, 8:49 AM
    I got a different error
    Not Found - GET https://registry.npmjs.org/@klaveness%2fcypress-configuration - Not found
    '@klaveness/cypress-configuration@^3.0.0' is not in this registry.
  • h

    handsome-lion-1748

    07/25/2022, 8:58 AM
    Found this: https://testersdock.com/cypress-cucumber-bdd/ and it has instructions about cypress 10 so I'll try it
  • m

    mammoth-manchester-71430

    07/25/2022, 9:41 AM
    While generating reports using multiple-cucumber-html-reporter, and running more than 1 feature file, the report generated for only for the last feature file . Is there any method or idea to generate report for all feature file ?
  • h

    handsome-lion-1748

    07/25/2022, 9:53 AM
    @mammoth-manchester-71430 sorry I don't have an answer, but I'd like to know, are you using cucumber with latest cypress?
  • m

    mammoth-manchester-71430

    07/25/2022, 9:57 AM
    Not using latest version
  • a

    acceptable-hamburger-48790

    07/25/2022, 10:04 AM
    There are few cucumber config you need to be doing i believe, Do you have an example repo in github to take a look ?
  • f

    freezing-piano-2792

    07/25/2022, 11:07 AM
    @handsome-lion-1748 you've been reading examples at https://github.com/Klaveness-Digital/cypress-cucumber-preprocessor, but that's not the repository I told you to look at
  • m

    mammoth-manchester-71430

    07/25/2022, 11:07 AM
    Don't have an github repo
  • m

    mammoth-manchester-71430

    07/25/2022, 11:08 AM
    Can you please provide the steps to be configured to generate report for all feature file executing
  • h

    handsome-lion-1748

    07/25/2022, 11:30 AM
    Yeah you're right I figured that after so much work on installing the deps 😂 I was planning to remove the messages here, I did learn some stuff though, thanks for reply, I'm following the instructions on your repo now and I need to add types for @gray-kilobyte-89541's package for the reference in the config to work.
  • h

    handsome-lion-1748

    07/25/2022, 11:33 AM
    this is the error I'm getting:
    Could not find a declaration file for module '@bahmutov/cypress-esbuild-preprocessor'.
  • f

    freezing-piano-2792

    07/25/2022, 11:36 AM
    Where do you see that error?
  • h

    handsome-lion-1748

    07/25/2022, 11:50 AM
    @freezing-piano-2792 in cypress.config.ts
  • h

    handsome-lion-1748

    07/25/2022, 11:51 AM
    @freezing-piano-2792 I resolved the error by adding a baha.d.ts file to the root of the project, but now I'm having errors when I'm running cypress
  • h

    handsome-lion-1748

    07/25/2022, 11:52 AM
    Oops...we found an error preparing this test file: > cypress/e2e/dukgo.feature The error was: Error: Build failed with 5 errors: cypress/e2e/dukgo.feature:2:4: ERROR: Transforming const to the configured target environment ("es5") is not supported yet cypress/e2e/dukgo.feature:2:10: ERROR: Transforming destructuring to the configured target environment ("es5") is not supported yet cypress/e2e/dukgo.feature:3:4: ERROR: Transforming const to the configured target environment ("es5") is not supported yet cypress/e2e/dukgo.feature:3:10: ERROR: Transforming destructuring to the configured target environment ("es5") is not supported yet cypress/e2e/dukgo.feature:5:4: ERROR: Transforming const to the configured target environment ("es5") is not supported yet at failureErrorWithLog (/path/to/project/node_modules/esbuild/lib/main.js:1615:15) at /path/to/project/node_modules/esbuild/lib/main.js:1257:28 at runOnEndCallbacks (/path/to/project/node_modules/esbuild/lib/main.js:1037:63) at buildResponseToResult (/path/to/project/node_modules/esbuild/lib/main.js:1255:7) at /path/to/project/node_modules/esbuild/lib/main.js:1368:14 at /path/to/project/node_modules/esbuild/lib/main.js:669:9 at handleIncomingPacket (/path/to/project/node_modules/esbuild/lib/main.js:766:9) at Socket.readFromStdout (/path/to/project/node_modules/esbuild/lib/main.js:635:7) at Socket.emit (node:events:513:28) at Socket.emit (node:domain:482:12) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Socket.Readable.push (node:internal/streams/readable:234:10) at Pipe.onStreamRead (node:internal/stream_base_commons:190:23
  • f

    freezing-piano-2792

    07/25/2022, 12:02 PM
    You'll find answer to that by google
  • h

    handsome-lion-1748

    07/25/2022, 12:14 PM
    I'm trying
  • h

    handsome-lion-1748

    07/25/2022, 12:20 PM
    @freezing-piano-2792 I found this https://github.com/cypress-io/cypress/issues/22074 saying not to use esbuild!
  • f

    freezing-piano-2792

    07/25/2022, 12:21 PM
    Risregard that issue, it's not meant for you as an end-user of Cypress
  • f

    freezing-piano-2792

    07/25/2022, 12:23 PM
    You can absolutely use esbuild
  • m

    mammoth-manchester-71430

    07/25/2022, 12:29 PM
    @acceptable-hamburger-48790 Could you please provide the steps to be configured
  • h

    handsome-lion-1748

    07/25/2022, 12:54 PM
    Sorry but I couldn't find anything, there's almost no relevant search results
  • h

    handsome-lion-1748

    07/25/2022, 1:03 PM
    The tests finally are working, a dev from my team helped me reialize that I needed to take compilerOptions from your tsconfig.json @freezing-piano-2792!!
  • h

    handsome-lion-1748

    07/25/2022, 1:14 PM
    the issue was that TS was being compiled to ES5, changing only that to ES6 solved the issue.
  • f

    freezing-piano-2792

    07/25/2022, 1:20 PM
    The examples are all working and are all minimal, which means that they contain nothing expect exactly what you need, so I recommend just using them as a base and expand them into a project
  • h

    handsome-lion-1748

    07/25/2022, 1:41 PM
    Starting from the examples wasn't possible in my case since I'm joining the project as a test engineer and there's already a team working on the project as a Next.js project and I had to add Cypress to it.
  • b

    blue-quill-43979

    07/25/2022, 3:38 PM
    Hi there! There is a way to debug using
    cypress run
    ? I have a test that only fails when using
    cypress run
    and I don't find any debugging tool that works outside the command line of
    cypress open
  • c

    curved-father-48262

    07/25/2022, 6:19 PM
    has anyone gotten https://github.com/Fredx87/cypress-keycloak-commands working on V10? its listed on cypress.io plugins page, not sure where the bits go in the new version of cypress
  • b

    billowy-bird-41053

    07/25/2022, 7:11 PM
    Just out of curiosity, is anyone using a Cucumber/Gherkin with Cypress or do most of you stick with vanilla Cypress?
1...707172...127Latest