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

    acceptable-hamburger-48790

    08/28/2022, 5:33 PM
    cypress-cucumber-preprocessor - this is not maintained anymore and it uses old version of cucumber-js. "@freezing-piano-2792/cypress-cucumber-preprocessor" is the current active project and has updated version of cucumber-js too
  • f

    freezing-piano-2792

    08/28/2022, 5:41 PM
    https://github.com/badeball/cypress-cucumber-preprocessor/blob/master/package.json#L94
  • f

    freezing-wall-7568

    08/28/2022, 5:52 PM
    httpsgithub combadeballcypress cucumber
  • f

    freezing-wall-7568

    08/28/2022, 5:53 PM
    thank you, is there a sample for: cypress-cucumber-webpack-typescript where cypress version is below 10.0
  • f

    freezing-piano-2792

    08/28/2022, 6:58 PM
    No
  • f

    freezing-piano-2792

    08/28/2022, 6:59 PM
    Just do the cypress upgrade guide in reverse
  • b

    brave-notebook-55583

    08/29/2022, 1:35 PM
    I'm having an issue with component testing where the component uses redux but it breaks even before the test starts and I get the following error message: Cannot access 'SET_BASKET' before initialization anyone had the same issue?
  • b

    bright-kilobyte-78303

    08/29/2022, 4:22 PM
    Hi, I’m trying to use two preprocessors web pack-preprocessors and cypress-tags. It looks like that’s not supported. https://github.com/cypress-io/cypress/issues/5832 I tried piping the output of the first preprocessor into the second one but it doesn’t work.
    Copy code
    on('file:preprocessor', (file) => {
      const { filePath, outputPath, shouldWatch } = file;
      return webpackPreprocessor(options)(file)
        .then((webpackFileOutput) => {
          const newFile = {
            filePath: webpackFileOutput,
            outputPath: webpackFileOutput,
            shouldWatch,
            on: () => {},
          };
    
          return tagify(config)(newFile);
        });
    });
    My guess is I can’t use the same input and output file because there’s a conflict as it writes into it. Does anyone know of a workaround?
  • f

    flaky-intern-13440

    08/29/2022, 4:59 PM
    Thank you, yeah, I found solutions for Selenium and Playwright, but unfortunately no workable solutions for Cypress 😦
  • h

    helpful-lunch-264

    08/29/2022, 6:37 PM
    Hello, I'm having trouble running a test project in Cypress. I have a problem with Cypress.env, the problem is when it calls the node/ci-info/index.js module. if you need to see the project, it is at: https://github.com/Eduardo-Manoel/Cypress-inter
  • h

    helpful-lunch-264

    08/29/2022, 6:37 PM
    /// const cypress = require('cypress') const faker = require('faker') describe('Create Project', () => { beforeEach (() => cy.login ()) it('successfully', ()=>{ const project = { name:
    project-${faker.random.uuid()}
    , description: faker.random.words(10) } cy.gui_createProject(project) cy.url() .should ('be.equal',
    ${cypress.defineConfig('baseUrl')}${Cypress.env('user_name')}/${project.name}
    ) cy.contains(project.name) .should('be.visible') cy.contains(project.description) .should('be.visible') }) })
  • f

    fresh-nail-30646

    08/29/2022, 8:13 PM
    Hey All, What's the best practice if I want to have a set of network tests that verify the API is functional before starting E2E tests? Ideally failure would cause E2E tests to not run.
  • u

    user

    08/29/2022, 8:27 PM
    Any one know best guide for running Cypress ete testing in a next.js project that uses Azure AD?
  • b

    bitter-fountain-36713

    08/29/2022, 9:54 PM
    If it's a set of tests, you can have it as a pre req job in your ci workflow that will need to pass before running your e2e tests
  • f

    freezing-wall-7568

    08/30/2022, 4:31 AM
    throwing the api tests within beforeEach hook should do it
  • c

    cold-van-45410

    08/30/2022, 5:47 AM
    how to generate current cdt time in javascript
  • e

    early-computer-34425

    08/30/2022, 7:56 AM
    are the runs only online, no way to set them up for offline?
  • a

    acceptable-hamburger-48790

    08/30/2022, 8:01 AM
    Could you please let us know what do you mean by offline ?
  • e

    early-computer-34425

    08/30/2022, 8:02 AM
    I seem to have top login to some online dashboard to see previous runs, there is no offline mode? or is it some premium feature? @acceptable-hamburger-48790
  • a

    acceptable-hamburger-48790

    08/30/2022, 8:11 AM
    Ok so if you have integrated your Cypress project with dashboard then your runs will be displayed in Cloud Dashboard of Cypress . You can also run them locally in your machine
  • e

    early-computer-34425

    08/30/2022, 8:12 AM
    ahh ok, then no total offline part then, needs a login to dashboard
  • s

    steep-pager-93774

    08/30/2022, 9:33 AM
    Hello, I'm at a dead end on a test. I'm looking to have cypress find text across the entire page. i wrote that : cy.get(':nth-child(1) > .indicator > .indicator__header > .indicator__header-label').contains("NOMBRE DE PROGRAMMES EN COURS").should('be.visible')
  • s

    steep-pager-93774

    08/30/2022, 9:33 AM
    thank you very much if you manage to unblock me
  • s

    stale-optician-85950

    08/30/2022, 10:08 AM
    Right click on NOMBRE DE PROGRAMMES EN COURS and Inspect. Show the HTML here for more chances of an exact answer. Because the answer will be something like
    Copy code
    cy.contains('h2', 'NOMBRE DE PROGRAMMES EN COURS').should('be.visible')
  • f

    faint-painting-33140

    08/30/2022, 10:21 AM
    Hey everyone, I am getting this error for skipped tests - I'm using grep tags and tags in cucumber preprocessor. I get this error and a 0s video is produced. What's even weirder, these videos don't get deleted with the after:spec hook (https://docs.cypress.io/guides/guides/screenshots-and-videos#Only-upload-videos-for-specs-with-failing-or-retried-tests) Has anyone encountered this issue? Started seeing this like a month or tho months ago
  • s

    steep-pager-93774

    08/30/2022, 10:21 AM
    thank you I found the solution it was quite stupid you had to write the text in lowercase
  • h

    helpful-coat-87654

    08/30/2022, 12:31 PM
    Hi guys, how to handle disappearing ant dropdown? I need to choose one row but after it clicks on element it disappears
  • p

    prehistoric-restaurant-72560

    08/30/2022, 12:52 PM
    Hi guys how to handle disappearing ant
  • c

    chilly-teacher-56118

    08/30/2022, 1:16 PM
    I’m facing error in while installing Cypress can any one help me out
  • h

    hundreds-shoe-33118

    08/30/2022, 5:07 PM
    Hello, I am facing a challenge while selecting a date from calendar. Right now the simple hard coded date is also not getting picked up by css selector or xpath. The URL is : https://airmalta.com/en 😩
1...137138139...252Latest