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

    billowy-hairdresser-82846

    12/26/2022, 9:45 AM
    @kind-angle-5131 I found solution using testIsolation: false in cypress.config.js
  • k

    kind-angle-5131

    12/26/2022, 3:56 PM
    @billowy-hairdresser-82846 thanks , I will try it.
  • s

    steep-river-95128

    12/27/2022, 3:17 PM
    Someone have that problem when run tests in cypress dashboard? at rejectAndCleanup (node:electron/js2c/browser_init:165:7500)at EventEmitter.stopLoadingListener (node:electron/js2c/browser_init:165:7875)at EventEmitter.emit (node:events:527:28)
  • b

    best-flower-17510

    12/27/2022, 3:22 PM
    Nice, will explore this option in 2023
  • b

    big-garden-69373

    12/27/2022, 7:28 PM
    anyone has an idea of a way to organize my cypress E2E tests so when i write a new test i should easily know if i tested that functionality in the pased?
  • b

    bitter-fountain-36713

    12/28/2022, 12:48 AM
    One way is to organize your tests directory by features
  • a

    adorable-smartphone-87280

    12/28/2022, 7:34 AM
    We write our tests in TestRail and then automate them. Every test in Cypress has an ID reference out to our TestRail database. You could also use Airtable or something similar.
  • b

    brash-scientist-28014

    12/29/2022, 10:15 AM
    anyone knows of a cypress course that is updated to match Cypress 12?
  • b

    best-flower-17510

    12/29/2022, 1:05 PM
    I am sure @gray-kilobyte-89541 has a updated course 😀
  • g

    gray-kilobyte-89541

    12/29/2022, 1:58 PM
    Well, my https://cypress.tips/courses/cypress-plugins is using Cypress v12 (except for cypress-if and cypress-aliases that Cypress v12 broke 🙂 )
  • n

    narrow-processor-41395

    12/31/2022, 9:39 AM
    @all Anyone knows how to resolve image upload issue tried multiple solution plugin approach, select file . Getting exactly same issue
  • n

    narrow-processor-41395

    12/31/2022, 9:39 AM
    https://github.com/javieraviles/cypress-upload-file-post-form/issues/2
  • n

    narrow-processor-41395

    12/31/2022, 9:41 AM
    I dont have input tag with type as file rather its svg tag
  • l

    late-dinner-1440

    01/01/2023, 7:10 PM
    Happy new year and green pipelines 😉
  • l

    late-dinner-1440

    01/01/2023, 8:05 PM
    Is there a waz to onlz get the return like true or false on a click command. I want to check if one of 3 imprint links is cliackable
  • f

    freezing-piano-2792

    01/02/2023, 10:30 AM
    Anyone here with knowledge of
    verifyUpcomingAssertions
    ?
  • g

    green-book-63455

    01/03/2023, 9:38 AM
    https://discord.com/channels/725371605378924594/1019641731332976722 hopefully that has worked
  • t

    thankful-wire-37848

    01/03/2023, 2:23 PM
    I'm trying to write some Typescript declarations for my custom commands in a project that perform actions against a BPMN engine endpoint (for test setup purposes). These bits work but I wanted to find a way to make sure the
    submitTask
    and
    expectTaskName
    commands can only be chained off from a
    Chainable<TaskContext>
    subject and not a
    Chainable<any>
    subject. Is that possible in Typescript?
  • t

    thankful-wire-37848

    01/03/2023, 2:25 PM
    I tried adding additional
    interface Chainable<TaskContext> { ... }
    or
    interface Chainable<Subject = TaskContext> { ... }
    blocks but that doesn't seem to be valid.
  • t

    thankful-wire-37848

    01/03/2023, 3:13 PM
    On a related note: is there a way to distinguish between parent, dual and child commands for added Typescript validation?
  • b

    boundless-pager-73753

    01/03/2023, 3:54 PM
    Hello! My tests are loading too long, especially e2e.js support file(15-20 sec) Anything could be done to improve that? Tried to clean up App Data and reinstalled cypress. Thank you!
  • i

    incalculable-rainbow-43330

    01/03/2023, 4:17 PM
    HI team how to solve the problem of pdf being saved as blank page when i used cy.writeFile('sample1.pdf', APIresponse,'utf8'); does anyone faced the same issue ? there is no error the pdf named sample1.pdf is generated but when i open the file its blank also, i have seen there no no way to generate a pdf directly from Byte[] Response using pdf2html npm package but instead we should give a path if i get any npm package which takes Response coming from API call (Byte[]) to generate pdf file it helps me so if any one knows about this please help me have a nice day ahead
  • e

    enough-truck-68085

    01/03/2023, 5:37 PM
    I'd recommend watching this video by @magnificent-finland-58048

    https://www.youtube.com/watch?v=9d7zDR3eyB8&ab_channel=MuratOzcan▾

    There's a good section about performance and managing your imports in the
    e2e
    file, among other tips.
  • b

    boundless-pager-73753

    01/03/2023, 6:41 PM
    Thank you! 👍🏻
  • d

    dazzling-addition-19232

    01/04/2023, 7:29 AM
    Hey, I'm going to introduce Cypress for a new developer team, who doesn't used E2E or tests at all - anyone has a good PowerPoint file or some slides to share?
  • s

    straight-rose-89671

    01/04/2023, 9:13 AM
    I would like to notice something i found out. By using the .env in the cypress.config.js i got this error of a env value i used to declare my baseUrl
    baseUrl: process.env.APP_URL,
    APP_URL is a combination in my .env
    APP_URL=https://${CLIENT_SUBDOMAIN}.${APP_TLD}
    Cypress can't handle the variables in the config and i got this error when i want to open cypress
  • s

    straight-rose-89671

    01/04/2023, 9:14 AM
    So instead of
    Copy code
    require('dotenv').config()
    
    module.exports = defineConfig({     
        e2e: {
            baseUrl: process.env.APP_URL,
        },
    })
    I did this:
    Copy code
    var dotenv = require('dotenv')
    var dotenvExpand = require('dotenv-expand')
    
    var myEnv = dotenv.config()
    dotenvExpand.expand(myEnv)
    
    module.exports = defineConfig({     
        e2e: {
            baseUrl: process.env.APP_URL,
        },
    })
  • s

    straight-rose-89671

    01/04/2023, 9:15 AM
    Not sure if there would be another way. Didn't find anything on the website or github issues about it. But that fixed my issue. Maybe it could be explained in the docs for people who need this to ?
  • g

    gray-kilobyte-89541

    01/04/2023, 11:36 AM
    any of these presentations are ok https://slides.com/bahmutov/decks/cypress-introduction or https://on.cypress.io/introduction
  • i

    incalculable-rainbow-43330

    01/05/2023, 4:48 PM
    is there any way to get pdf (Blob) to Html using pdf2Html kind of npm package friends? as of now pdf2Html needs URL of Pdf file to convert it as html but i have a Pdf content or Blob so how to make use of it is there any other package like pdf2Html ? friends
1...104105106...127Latest