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

    kind-minister-59159

    10/18/2022, 4:06 PM
    I want to create a roadmap for API testing that I’m currently working on with Cypress. Has anyone ever done mind mapping for API tests? Or is there a better way to lay out work that is recommended?
  • e

    eager-iron-1555

    10/19/2022, 1:59 AM
    Hi. I am not able to share and access data between Vue 3 and cypress 10.
    Copy code
    // in component I have:
    
      const foo = computed(() => ({
        foo: 'foo',
        bar: 'bar',
      }))
    
    onMounted(() => {
      if (window.Cypress)
        window.shared = { foo }
    })
    In the test I have:
    Copy code
    it.only('demo', () => {
              cy.window()
                .its('shared')
                .then(ctx => {
                  cy.wrap(ctx).as('pageContext')
                })
    
              cy.get('@pageContext').then(ctx => {
                console.log(':::ctx', ctx)
              })
            })
    I am not able to get the data for the computed prop "currentProject" Instead I get an ObjectRefImpl. Is it possible to get the data instead?
  • a

    ambitious-monkey-72386

    10/19/2022, 4:23 AM
    Can someone tell me if it’s necessary to migrate from previous 9. Xx version to cypress 10 ? If yes do let me know what if we stay with the old?
  • f

    fresh-doctor-14925

    10/19/2022, 8:36 AM
    Same as not updating any software, really. You won't have access to new features and bugfixes
  • f

    flaky-gold-17986

    10/19/2022, 6:49 PM
    Can someone help me understand the use cases for Cypress Chrome Recorder? I appreciate the feature and all of the team's hard work on it. I would love to hear how people plan to integrate it into their current workflows 🙂
  • a

    adorable-smartphone-87280

    10/20/2022, 1:05 AM
    Did you watch this yet?

    https://youtu.be/HfzU5XAn2Ms▾

  • f

    flaky-gold-17986

    10/20/2022, 5:54 AM
    Yes and the team did great. The video covers primarily how to use it, rather than when/why. Should this replace TDD for example? Or go in partnership with it? I’m interested to learn how others plan to use it.
  • w

    wooden-megabyte-23794

    10/20/2022, 8:36 AM
    Hi Team ,
  • w

    wooden-megabyte-23794

    10/20/2022, 8:37 AM
    I have recently migrated the cypress project to v10 , when iam trying the run the maven commands its still considering the cypress.json instead of cypress.config.js. Any thoughts why is it still picking that file ?
  • f

    fresh-doctor-14925

    10/20/2022, 11:01 AM
    Please don't spam multiple channels with the same question. I've answered in #755913900024791046
  • c

    colossal-farmer-50435

    10/21/2022, 7:03 AM
    Hi All, I was one of the selected speakers at UK's ministry of testing Test Bash 2022 conference based on a video I had submitted - "How you can use Cypress to create independent, short, efficient tests using data seeding mechanism"
  • i

    incalculable-nightfall-21641

    10/21/2022, 8:20 AM
    Hi I am not able to import a component to e2e folder for mounting or unit testing
  • i

    incalculable-nightfall-21641

    10/21/2022, 8:20 AM
    It is saying module error
  • i

    incalculable-nightfall-21641

    10/21/2022, 8:21 AM
    import Login from "../../src/Login.js"
  • f

    fresh-doctor-14925

    10/21/2022, 8:37 AM
    @incalculable-nightfall-21641 You will need to provide more information than that. At the moment it looks like you just haven't specified the correct folder
  • i

    incalculable-nightfall-21641

    10/21/2022, 8:43 AM
    Cypress folder is outside of src folder, login file is inside src folder
  • f

    fresh-doctor-14925

    10/21/2022, 8:52 AM
    ok, well there's your problem. You would be better off having a Cypress folder from within
    src
    to handle your component tests
  • f

    fresh-doctor-14925

    10/21/2022, 8:53 AM
    Otherwise you are probably going to need to do some funky config in order to support importing components from outside the cypress folder
  • i

    incalculable-nightfall-21641

    10/21/2022, 8:55 AM
    Ok
  • i

    incalculable-nightfall-21641

    10/21/2022, 9:41 AM
    This problem is solved thank you
  • i

    incalculable-nightfall-21641

    10/21/2022, 9:43 AM
    Also in my app, there are a lot of relative paths are defined for supporting files/components, but cypress is throwing error on these relative paths
  • i

    incalculable-nightfall-21641

    10/21/2022, 9:43 AM
    How do I resolve this
  • i

    incalculable-nightfall-21641

    10/21/2022, 9:55 AM
    So whenever i import a file, path willbbe on tha file
  • c

    cuddly-kitchen-97815

    10/21/2022, 2:08 PM
    This might be the cause of my issue as well, as I'm running into something similar. So can I just move the Cypress folder such that its in the top level of the
    src
    folder? My folder structure has the components nested in other folders within
    src
    . I suppose I'm not super clear on what the folder structure should be for component testing.
  • r

    rhythmic-easter-75054

    10/22/2022, 7:18 PM
    Hi guys, do you know why certain api calls are not even displayed/triggered by cypress UI? While testing manually they do, I have several grids that are not populating in my page when Im automating or running gui mode.
  • u

    user

    10/24/2022, 4:28 PM
    Hi guys, I am having a issue in cypress dashboard. Github actions stopped but the run is not getting terminated in cypress dashboard, can someone help?
  • s

    straight-nail-40770

    10/24/2022, 5:11 PM
    can someone tell me please which programing languages does cypress support for testing? And also which browsers?
  • s

    stale-optician-85950

    10/24/2022, 5:21 PM
    1. JavaScript and Typescript. 2. https://docs.cypress.io/guides/guides/launching-browsers#Browsers
  • s

    straight-nail-40770

    10/24/2022, 5:28 PM
    I have some websites that said cypress support all language programs
  • s

    straight-nail-40770

    10/24/2022, 5:48 PM
    what i mean is if the developer writes a system with python c# whatever language does cypress support them for testing?
1...888990...127Latest