https://cypress.io logo
Join DiscordCommunities
Powered by
# general-chat
  • p

    powerful-journalist-49461

    03/17/2023, 2:00 PM
    Ok, but why GitHub has this option if 5 of their VM are smaller than 1 local machine ๐Ÿ™‚ What is solution for this, only self-hosted github runner, right?
  • g

    gray-kilobyte-89541

    03/17/2023, 2:02 PM
    Yup. I am not sure if GitHub Actions has resource classes, similar to CircleCI or other things. You can also save resources and CPU by not having video recording or using lower resolution for videos
  • m

    many-airline-45402

    03/17/2023, 2:35 PM
    You can find out about GitHub runner resources on https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources. They also offer so-called "larger runners" https://docs.github.com/en/actions/using-github-hosted-runners/using-larger-runners#machine-specs-for-larger-runners. GitHub Action also has documentation about running tests in parallel using Cypress Cloud. See https://github.com/cypress-io/github-action#parallel.
  • g

    gray-kilobyte-89541

    03/17/2023, 2:49 PM
    @many-airline-45402 you are the best
  • m

    many-airline-45402

    03/17/2023, 3:23 PM
    @gray-kilobyte-89541 a lot of this would not even be possible without all your development work anyway! ๐Ÿ˜€
  • f

    freezing-piano-2792

    03/19/2023, 2:08 PM
    What is the canonical way of determining in an afterEach block, whether the current test will be retried or not?
  • d

    dazzling-thailand-9844

    03/19/2023, 9:16 PM
    Hi, probably it can be based on a condition check
    (attempt < retries)
    where
    attempt = Cypress.currentRetry
    and `retries = cy.state('runnable')._retries`: https://docs.cypress.io/guides/guides/test-retries#Can-I-access-the-current-attempt-counter-from-the-test
  • f

    freezing-piano-2792

    03/20/2023, 7:47 AM
    Ah, excellent, thanks Alex!
  • e

    early-computer-34425

    03/20/2023, 10:34 AM
    Is there any settings-file where you can put in no_proxy setting? Running windows and we have http_proxy set in env and I dont wanttouch those settings when running cypress, as I am running different projects at the same time
  • Anyone know how to get the current
    a

    able-painting-97388

    03/20/2023, 2:38 PM
    Anyone know how to get the current clientX of an element? I would have expected something like the following but with no joy. cy.get('element').then(params => params.clientX) Any help would be appreciated
    d
    • 2
    • 1
  • s

    stale-park-86404

    03/20/2023, 5:43 PM
    hey guys, so I'm exploring a bit in typescript. I'm not sure why is 'cy' not recognized within typescript class block? but can be accessed outside the class def
  • h

    handsome-yak-40455

    03/20/2023, 8:14 PM
    https://learn.cypress.io/
  • g

    gentle-bird-77272

    03/20/2023, 8:15 PM
    @handsome-yak-40455 thanks for sharing ๐Ÿ™๐Ÿป
  • h

    handsome-yak-40455

    03/20/2023, 8:18 PM
    Which version of Cypress are you using?
  • s

    stale-park-86404

    03/21/2023, 3:47 AM
    Hi, I'm using v12.0
  • g

    gentle-bird-77272

    03/21/2023, 10:58 AM
    This is a time when we are encouraged to give back to our community and help those who are less fortunate. Our target is 50+ very deserving families inshallah. Your single penny could help out and donation will not waste. We'll start drive Inshallah on 05 April 2023. Food insecurity is a real issue that affects many people, both locally and globally. Through this Ration drive, we hope to provide support and nourishment to families and individuals who are struggling to put food on the table. "Whoever gives food to a fasting person to break his fast, shall have his sins forgiven, and he will be saved from the Fire of Hell, and he shall have the same reward as the fasting person, without his reward being diminished at all." [Tirmidhi] Let's come together as a community to make a positive impact this Ramadan. Please share this post with your network and help spread the word. Bank Details: Standard Chartered: 01004185301 IBAN No: PK31SCBL0000001004185301 Easy paisa: 03168589252 M Umar Anjum JazakAllah Khair for your support and generosity. May Allah bless you all. Spread The post and join us on day of ration drive #ramadan2023 #fooddrive #linkedinfamily #rationdrive #linkedinlearning #helpinghands #poorpeople #community #share #network #bank #food #people #help
  • p

    prehistoric-market-22707

    03/22/2023, 10:05 PM
    My customer upload file in form on my app and I need to get this file in server side and upload him with Cypress in another form of another web app. (not mine web app), how do I do this? In my server I get file object and I don't know how do I upload him with Cypress..
  • d

    dazzling-thailand-9844

    03/22/2023, 10:58 PM
    Hi, this article by @nutritious-restaurant-91514 about uploading a file with Cypress might be helpful for you: https://filiphric.com/cypress-basics-uploading-file
  • p

    prehistoric-market-22707

    03/22/2023, 11:02 PM
    Thanks, but he don't explain my scenario..
  • Hi all
    b

    boundless-processor-89029

    03/23/2023, 2:37 PM
    Hi all, anyone could suggest a good "Test Data Management" tool ?
    l
    • 2
    • 1
  • h

    handsome-yak-40455

    03/23/2023, 10:27 PM
    Grabbed this from our docs: https://docs.cypress.io/guides/tooling/typescript-support#Configure-tsconfigjson Give it a look and see if it helps with configuration.
  • is there a way to make the window open
    d

    dazzling-thailand-9844

    03/25/2023, 5:09 PM
    Hi, if you are using the chromium browser family, you can try passing 'incognito' preference to win.open command:
    Copy code
    cy.window().then(win => {
        const options = {
            chromePreferences: {
                'incognito': true
            }
        }
        win.open(url, '_blank', options)
    })
    m
    • 2
    • 1
  • hello I am trying to handle a tooltip
    d

    dazzling-thailand-9844

    03/25/2023, 5:44 PM
    Hi, it may depend on how it's implemented. I've mostly encountered cases where the tooltip appearance was triggered by css hover state. For that I've used the cypress-real-events plugin with the
    realHover()
    command and setting an additional time delay for assertions wasn't necessary.
  • s

    sticky-energy-17458

    03/29/2023, 4:28 PM

    https://cdn.discordapp.com/attachments/763114122065739818/1090673733582196776/IMG_0952.jpgโ–พ

  • Guys I hope that you re great I have a
    t

    tall-house-12547

    03/29/2023, 7:52 PM
    Guys, I hope that you're great. I have a couple of questions: 1. I tried to use the getByData custom command in my 'home.cy.ts' file. The 'commands.ts' file has the code: Cypress.Commands.add("getByData", (selector, ...args) => { return cy.get(
    [data-test=${selector}]
    , ...args) }) and in the tsconfig.json has the code: "compilerOptions": { "types": ["cypress"], But the system gives the massage: Type 'Chainable' is not generic - and - Property 'getByData' does not exist on type 'cy & CyEventEmitter' I've run the command 'npm install --save-dev @types/cypress' but it doesn't work. 2. And the second is that I created a second file in the e2e folder. I've already written the followinginto de file but when I run the command npx cypress open just run the first file but not the second, what should I do? describe("Newsletter Subscribe Form", () => { beforeEach(() => { cy.visit("http://localhost:3000") }) it("allows users to subscribe to the email list", () => { cy.getByData('email-input').type('tom@aol.com') }) }) What's wrong? Thanks in advance.

    https://cdn.discordapp.com/attachments/763114122065739818/1090725150267289610/image.pngโ–พ

    e
    • 2
    • 3
  • Hi everyone. Two questions but one isnโ€™t Cypress specific. Are ISTQB certifications worth obtaining for job/career purposes? Is there a Cypress course that offers a Cypress Certification?
    m

    most-secretary-62975

    03/29/2023, 8:46 PM
    Hi everyone. Two questions but one isnโ€™t Cypress specific. Are ISTQB certifications worth obtaining for job/career purposes? Is there a Cypress course that offers a Cypress Certification?
  • hi given using github actions cypress io
    m

    mysterious-psychiatrist-29678

    03/29/2023, 10:19 PM
    hi. given using github actions (cypress-io/github-action@v5) how can I turn off video capturing completely to avoid video encoding for minutes? like with using command switch
    Copy code
    --config video=false
    • 1
    • 1
  • First runs with Cypress 12 9 0 against
    r

    rough-van-84956

    03/30/2023, 5:25 AM
    First runs with Cypress 12.9.0 (against Bitbucket) Runs are showing in Dashboard with 'No commit message available' I'll try rolling back to confirm that it's not something else.

    https://cdn.discordapp.com/attachments/763114122065739818/1090869342310252554/image.pngโ–พ

    t
    • 2
    • 5
  • Is there a Typescript-dedicated channel/board here or do I just post my questin in general-chat?
    t

    thankful-wire-37848

    03/30/2023, 7:16 AM
    Is there a Typescript-dedicated channel/board here or do I just post my questin in general-chat?
  • s

    sticky-energy-17458

    03/30/2023, 3:32 PM

    https://cdn.discordapp.com/attachments/763114122065739818/1091022084240580628/E3FD28FF-1CF4-43F5-9F4F-DBAF99B45D69.jpgโ–พ

1...118119120...127Latest