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

    cuddly-thailand-33926

    02/04/2023, 5:41 PM
    https://github.com/mikzerafa/pixel Made this repo for a test, was told I was not up to par with their standards. So I'd like anyone here to check it out and see my faults so that I can get to the next level, If you believe you could mentor me I'll pay
  • g

    gray-kilobyte-89541

    02/04/2023, 9:17 PM
    I should have linked more resources there. Read https://glebbahmutov.com/blog/fp-cy-helpers/ https://glebbahmutov.com/blog/use-a-little-bit-of-fp/ https://glebbahmutov.com/blog/getting-good-at-fp/ and other blog posts tagged "functional"
  • g

    gray-kilobyte-89541

    02/04/2023, 9:22 PM
    well, I would not commit node_modules and downloads / videos / screenshots folders
  • g

    gray-kilobyte-89541

    02/04/2023, 9:23 PM
    by the way, cypress-map has bunch of examples, plus I cover those query methods in my cypress plugins course
  • c

    cuddly-thailand-33926

    02/04/2023, 9:44 PM
    Fair
  • d

    dazzling-thailand-9844

    02/06/2023, 6:32 AM
    Cypress with async/await.. how is it possible?🤨
  • g

    gray-kilobyte-89541

    02/06/2023, 11:50 AM
    you don't need it. Seriously
  • s

    sticky-energy-17458

    02/06/2023, 3:31 PM
    I have been trying for running scripts in parallel that are in “Filters” could anyone please help I am stuck
  • t

    thousands-house-85089

    02/06/2023, 5:06 PM
    Have you tried using includeSpecPattern or excludeSpecPattern config settings? (same place you specify baseUrl)
    Copy code
    js
    includeSpecPattern: [
        "**/Filters/*.js"
      ]
    https://docs.cypress.io/guides/references/configuration
  • g

    gray-kilobyte-89541

    02/06/2023, 5:29 PM
    a) your command syntax is wrong. You cannot do "cypress open && cypress run" together. Second - you are using absolute paths in the spec, I don't think those are correct either
  • s

    sticky-energy-17458

    02/06/2023, 5:30 PM
    Yes I just corrected the path
  • s

    sticky-energy-17458

    02/06/2023, 5:49 PM
    Can I integrate it with circle CI to run test cases in parallel without circle CI
  • s

    sticky-energy-17458

    02/06/2023, 6:51 PM
    This what I have done so far, any comments?
  • g

    gray-kilobyte-89541

    02/06/2023, 7:57 PM
    search https://cypress.tips/search for "circleci free parallel" and find the blog post about plugin cypress-split
  • w

    witty-author-90805

    02/07/2023, 12:25 AM
    Is there any information on what other browsers Cypress supports aside from the ones it ships with initially?
  • t

    thousands-house-85089

    02/07/2023, 1:19 AM
    All Chrome-family browsers, Webkit, and Firefox
  • t

    thousands-house-85089

    02/07/2023, 1:19 AM
    https://docs.cypress.io/guides/guides/cross-browser-testing
  • w

    witty-author-90805

    02/07/2023, 1:19 AM
    Nice, thanks.
  • w

    witty-author-90805

    02/07/2023, 1:20 AM
    Nice, webkit.
  • t

    thousands-house-85089

    02/07/2023, 1:20 AM
    Yes, in experimental right now
  • b

    blue-battery-71202

    02/07/2023, 7:57 AM
    Hi colleagues. Do you know the possibility to force mui datepicker to render as mobile like in CI? neither viewport, nor useragent settings don't work.
  • a

    agreeable-painting-90494

    02/07/2023, 10:11 AM
    Hi Folks, I can't seem to set testIsolation to false (when upgrading to v12). When i use : -
    Copy code
    const { defineConfig } = require("cypress");
    
    module.exports = defineConfig({
      e2e: {
        setupNodeEvents(on, config) {
          // implement node event listeners here
        },
        testIsolation: false,
      },
    })
    I get
    > process is not defined
    Any idea what I am doing wrong?
    • 1
    • 1
  • a

    agreeable-painting-90494

    02/07/2023, 10:14 AM
    I can do it on individual describes, but I'd like to do it globally (for the moment)
  • i

    icy-caravan-50849

    02/07/2023, 10:37 AM
    Hi lovely peeps, I have a trouble with fetching response data from my call. When I run my Cypress test, on response I see an empty array. Just after that when I try with the exact same request on Postman I can see coming array within data. Here is my request: const option = { method: 'GET', url:
    ${baseUrl}/${client_id}/folders/${folder_id}
    , headers: { Authorization: 'Bearer ' + Cypress.env('access_token') } } cy.request(option).then((resp) => { expect(resp.status).to.eq(200) const documentData = resp.body.data expect(documentData.length).to.not.eq(0) }) Do you have something in your mind that cause this problem? My Cypress version is ^10.7.0.
  • g

    gray-kilobyte-89541

    02/07/2023, 11:33 AM
    is the response data empty when the status code is 304 cached?
  • i

    icy-caravan-50849

    02/07/2023, 12:09 PM
    when status code is 200, response data array returns empty. on Postman I get again 200 status code but with data in the array.
  • g

    gray-kilobyte-89541

    02/07/2023, 12:35 PM
    check the headers, does it send the caching headers? It is weird that it would send empty data with 200
  • i

    icy-caravan-50849

    02/07/2023, 12:52 PM
    On Postman I send these (SS) but on Cypress I only put header Authorization. When I tried to put cy.clearLocalStorage if it stored some previous token somehow, still it returns empty array. Yes it is indeed interesting while it returns 200 no data comes in array :S
  • g

    gray-kilobyte-89541

    02/07/2023, 12:59 PM
    @cuddly-thailand-33926 can I use your repo as an example for a blog post?
  • c

    cuddly-thailand-33926

    02/07/2023, 1:09 PM
    Yes ofc, feel free
1...109110111...127Latest