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

    clean-psychiatrist-8640

    02/13/2022, 6:07 AM
    Not sure what kind of permission need to set.. I'm getting this error whenever hitting the API ... net::ERR_BLOCKED_BY_CLIENT
  • m

    mysterious-area-98742

    02/14/2022, 9:48 AM
    Hello there! Where does that error come from?
    Copy code
    Warning: We failed to record the video.
    
    This error will not alter the exit code.
    
    Error: EACCES: permission denied, mkdir '/__w/d/d/tests/e2e/results'
    no term (record, failed, video, mkdir) returns results in the
    node_modules/cypress
    directory 😕
  • m

    mysterious-area-98742

    02/14/2022, 10:00 AM
    Replying to myself: It seems that cypress doesn't really run
    mkdir
  • m

    mysterious-area-98742

    02/14/2022, 10:01 AM
    Why doesn't cypress run
    mkdir -p
    for:
    Copy code
    js
        return Object.assign({}, config, {
            fixturesFolder: 'tests/e2e/fixtures',
            integrationFolder: 'tests/e2e/specs',
            screenshotsFolder: `${test_results}/screenshots`,
            videosFolder: `${test_results}/videos`,
            supportFile: 'tests/e2e/support/index.js'
        })
    ??
  • p

    powerful-orange-86819

    02/14/2022, 11:38 AM
    Has anyone used this library: https://www.npmjs.com/package/@lensesio/cypress-websocket-testing I have a case where i need to open a bunch of websocket connections in the background and check their messages while my E2E tests are running
  • m

    mysterious-area-98742

    02/14/2022, 1:56 PM
    ... again responding to myself: Using
    Copy code
    container: cypress/browsers:node16.13.2-chrome97-ff96
    Causes the above issue to happen, with the aforementioned configuration. Maybe :
    Copy code
    container:
          image: cypress/browsers:node16.13.2-chrome97-ff96
          options: --user 1001
    Should be the default "command" at least in the https://docs.cypress.io/guides/continuous-integration/github-actions tutorial? 😕
  • a

    adorable-smartphone-87280

    02/14/2022, 2:11 PM
    So... are we just using #763114122065739818 for everything instead of #763105090679865354 ?
  • e

    elegant-controller-37790

    02/15/2022, 8:51 AM
    I'm getting a confusing error in
    cypress/plugins/index.ts
    saying that
    webpackPreprocessor
    is `undefined`:
    Copy code
    /// <reference types="cypress" />
    
    /**
     * @type {Cypress.PluginConfig}
     */
    
    import webpackPreprocessor from '@cypress/webpack-preprocessor'
    
    export default (on: Cypress.PluginEvents) => {
      on('file:preprocessor', webpackPreprocessor(webpackPreprocessor.defaultOptions))
    }
    Does anyone know what the issue might be? I have
    "@cypress/webpack-preprocessor": "^5.11.1"
    and other required dependencies installed properly.
  • e

    early-lamp-20318

    02/15/2022, 9:19 AM
    Hey, I am using "expect" assertion which stop my test case if assertion get fails. Can you guys suggest me which does not fail my test case even after failing on assertion?
  • m

    mysterious-area-98742

    02/15/2022, 10:22 AM
    Is it possible to get the
    WAIT  Compiling...
    prompt on the UI instead? Maybe the terminal used to execute Cypress (e.g.
    npm run test:e22
    ) is not always in view ...
  • p

    powerful-orange-86819

    02/15/2022, 1:31 PM
    try to use {timeout:10000} in cy.contains("save", { timeout:10000 }) or in the cy.get for longer duration of search, also if someone knows how to wait for update on the UI, not just waiting the response of a request with intercept will be nice to know
  • a

    adventurous-dream-20049

    02/15/2022, 9:13 PM
    I am not sure what you mean. When using an assertion what is the expected behavior in this case? Are you currently using a setting (via plugin, command command, or Dashboard feature) that stops tests are a failed run?
  • a

    adorable-smartphone-87280

    02/15/2022, 11:26 PM
    Are you using TypeScript?
  • e

    early-lamp-20318

    02/16/2022, 7:48 AM
    Basically I want to do soft assertion in my test case.
    a
    • 2
    • 2
  • g

    glamorous-architect-52545

    02/16/2022, 2:33 PM
    Hello people, i'm working with cypress and i'm finding one problem, anyone would help-me?
  • g

    glamorous-architect-52545

    02/16/2022, 2:34 PM
    when i go run the tests, mine window preview, don't show the elements from system
  • g

    glamorous-architect-52545

    02/16/2022, 2:34 PM
    like this
  • g

    glamorous-architect-52545

    02/16/2022, 2:35 PM
    anyone know what can i do?
  • a

    adventurous-dream-20049

    02/16/2022, 4:10 PM
    Assertion
  • a

    adventurous-dream-20049

    02/16/2022, 4:19 PM
    Hi! To get the best assistance, kindly post this in the channel that best fits (ie #755921564108587038 ). If you are unsure which channel, let me know and I am happy to help direct you
  • g

    glamorous-architect-52545

    02/16/2022, 5:05 PM
    OK Shawn, thanks ;D
  • c

    clean-wire-62738

    02/17/2022, 3:16 PM
    Errr... Hi! I wanted to submit a typo (probably) in the docs, but I don't know where to send it.
  • c

    clean-wire-62738

    02/17/2022, 3:17 PM
    Oh, sorry. My bad. Massage is used through all the guide - I guess that is a term.
  • s

    stocky-oil-88776

    02/17/2022, 4:58 PM
    https://tenor.com/view/cat-massage-kitty-kitten-cute-gif-17418425
  • b

    billowy-spoon-30011

    02/17/2022, 4:59 PM
    I could use one lol
  • a

    adventurous-dream-20049

    02/17/2022, 7:52 PM
    For future reference, you are always welcome to submit a PR to our public facing docs here: https://github.com/cypress-io/cypress-documentation
  • p

    powerful-orange-86819

    02/18/2022, 11:13 AM
    use intercept and wait for request to make sure cypress starts testing information after server has returned a response, also use find and then to make sure it retries until it finds the elements
  • g

    glamorous-architect-52545

    02/18/2022, 11:32 AM
    hi bro, good morning! i found in document from cypress about 'error messages', and the document suggests that u use the paramters for disable the 'animations', or disable in own field
  • g

    glamorous-architect-52545

    02/18/2022, 11:32 AM
    https://docs.cypress.io/guides/references/error-messages
  • g

    glamorous-architect-52545

    02/18/2022, 11:41 AM
    i'm using intercept and waiting for requests, but can i use 'find' together?
1...293031...127Latest