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

    miniature-father-81446

    07/04/2022, 6:22 PM
    Has anyone served the Cypress Interactive Mode App over a port on a Linux Server? https://discord.com/channels/755913899261296641/763105090679865354/993581811051540560
  • r

    rough-hamburger-82157

    07/05/2022, 9:23 AM
    Multiple tests of a particular feature in e2e
  • r

    rough-hamburger-82157

    07/05/2022, 9:24 AM
    ?
  • q

    quick-hydrogen-30269

    07/05/2022, 11:08 AM
    I found one article which saying issue is due to URL having hypen in it.
  • a

    acoustic-zoo-37964

    07/05/2022, 1:18 PM
    Hi everyone, I just got on a project and inherited old cypress tests in version 3.2.0 (I haven't tried updating to a newer version yet) and I can't open cypress workspace. I downloaded cypress dependencies from the url provided in the error msg. Also i did npm install in the cypress folder. this is the terminal error i get after $ npx cypress open It looks like this is your first time using Cypress: 3.2.0 ✖ Verifying Cypress can run /home/user/.cache/Cypress/3.2.0/Cypress → Cypress Version: 3.2.0 Cypress failed to start. This is usually caused by a missing library or dependency. The error below should indicate which dependency is missing. https://on.cypress.io/required-dependencies If you are using Docker, we provide containers with all required dependencies installed. ---------- (Cypress:170090): Pango-ERROR **: 14:49:41.550: Harfbuzz version too old (1.4.2) ---------- Platform: linux (Ubuntu Linux - 20.04)
  • a

    astonishing-electrician-44897

    07/05/2022, 2:38 PM
    Is their a way to skip the first two clicks when you do
    npx cypress open
    because I always to E2E and always in Chrome. Can I pass some parameters to skip those two clicks?
    b
    • 2
    • 1
  • g

    gray-kilobyte-89541

    07/05/2022, 2:50 PM
    https://glebbahmutov.com/blog/cypress-v10-tips/#launch-the-test-runner-in-the-desired-mode
  • b

    boundless-account-21801

    07/05/2022, 6:41 PM
    I'm having trouble trying to figure out how to get a specific div based on the value of a custom field. I've been looking through the docs but it's still not clear how I should do it. Let's say there's an element
    Copy code
    html
    <div someCustomField="special value"></div>
    Assuming this isn't the only div with
    someCustomField
    , how do I get the reference to the element where it has
    someCustomField
    AND that field is set to
    special value
    ?
  • g

    gray-kilobyte-89541

    07/05/2022, 6:56 PM
    you query by attribute
    cy.get('[someCustomField="special value"]')
    , see https://glebbahmutov.com/cypress-examples/9.7.0/commands/querying.html#using-data-attribute
  • b

    boundless-account-21801

    07/05/2022, 6:59 PM
    awesome, thanks!
  • b

    bulky-engine-91129

    07/06/2022, 3:36 AM
    npx cypress open --e2e --browser chrome
  • b

    bulky-engine-91129

    07/06/2022, 3:40 AM
    Hello, Our product UI is build with ExtJS and to load the UI in the development environment takes around 30 - 60 seconds as we do not build the libraries(it does not happen in Production). When we used use version before Cypress 10, it used to take similar time to load the UI as that of doing it manually, but after upgrading to Cypress 10.3.0, it takes around 4 mins to load the UI. Its basically cy.visit() that takes so long time. We tried this on multiple development environments and we are seeing the exact behavior. Any idea how to debug this problem and identify the root cause ?
  • b

    bulky-engine-91129

    07/06/2022, 3:44 AM
    Is their a way to skip the first two
  • h

    hallowed-doctor-10352

    07/06/2022, 9:42 AM
    I am testing a feature where a password reset link is sent to the user in the mail, where the user needs to click on the reset link and it takes u to a new page where u reset the password. I want to write an automation script for this but I have no idea how to access the link directly through the test without logging into my mail
  • g

    gray-kilobyte-89541

    07/06/2022, 11:04 AM
    https://slides.com/bahmutov/email-testing is a good starting point
  • m

    magnificent-telephone-56514

    07/06/2022, 11:47 AM
    Is it necessary when moving to Cypress 10 to change the spec names to
    .cy.js
    ? this is causing a lot of problems with our migration. All our spec files end in
    _spec.js
    and all our CI containers, configs, logging and reporting tools are setup to work with
    _spec.js
  • b

    big-baker-75250

    07/06/2022, 12:22 PM
    Hey guys! The "TypeScript Configuration" link is broken
  • b

    big-baker-75250

    07/06/2022, 12:24 PM
    And this link for Next examples is not working as well
  • b

    bulky-engine-91129

    07/06/2022, 1:11 PM
    Any help ?
  • a

    adorable-smartphone-87280

    07/06/2022, 2:44 PM
    Yes it is necessary as far as I know.
  • b

    bulky-engine-91129

    07/06/2022, 3:16 PM
    You can configure your specPattern to use the pattern "_spec.js" instead of ".cy.js"
  • m

    many-city-96644

    07/07/2022, 7:30 AM
    Hello, I have a problem with cypress starting two times on the first test. I am using the baseUrl and it was working fine until I changed the URL. Before the URL was pointing at stage env and now I run the app that I am testing locally so the baseUrl is pointing to the app URL locally. So the only difference is that the app I am testing is now running locally and before it was on some server.
  • f

    freezing-piano-2792

    07/07/2022, 11:05 AM
    Not opening and closing the browser between each spec in run-mode, is this under consideration and is there an issue tracking it?
  • s

    salmon-truck-22622

    07/07/2022, 2:09 PM
    Hi there. Is it possible to override builtin commands by using
    Cypress.Commands.overwrite
    ?
  • s

    salmon-truck-22622

    07/07/2022, 2:15 PM
    It was possible until 10.0. But I haven't found any breaking changes info that builtin commands aren't available for overriding
  • s

    salmon-truck-22622

    07/07/2022, 2:17 PM
    In the latest code there is a check for invalid overwrite and a little above there are three objects one of them for builtin commands, but in line 117 there are only two of them. It looks like a bug, isn't it?
  • p

    polite-painting-51763

    07/08/2022, 8:39 AM
    Has anyone been able to update an existing excel file using cypress task?
  • p

    powerful-orange-86819

    07/08/2022, 8:49 AM
    focus should be on your app, not excel, have premade excel sheets that your tests use, dynamically changing excel data will take too much time for literally no-return
  • p

    polite-painting-51763

    07/08/2022, 8:58 AM
    My focus is on my app only. I am validating import functionality. I can't keep on importing same data, so need to update existing excel file and then provide it to app
  • p

    powerful-orange-86819

    07/08/2022, 9:55 AM
    there are ways arround it, you can always make the data dynamic(dates and such) or have a file generator
1...636465...127Latest