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

    boundless-activity-75504

    09/08/2022, 5:40 PM
    i think cypress dont suport import from ES6 in this file
  • g

    gray-kilobyte-89541

    09/08/2022, 8:43 PM
    well, imports usually work just fine, but without a reproduction it is impossible to tell
  • b

    bored-school-78265

    09/08/2022, 8:45 PM
    Any idea when the next release might be? Would be really nice to get https://github.com/cypress-io/cypress/pull/23637
  • c

    cuddly-winter-72122

    09/09/2022, 1:03 AM
    @bored-school-78265 releases are biweekly on Tuesdays, so 9/13
  • g

    gray-kilobyte-89541

    09/09/2022, 1:23 AM
    so ... twice a week, right
  • c

    cuddly-winter-72122

    09/09/2022, 1:23 AM
    what's biweekly again?
  • c

    cuddly-winter-72122

    09/09/2022, 1:23 AM
    uhh
  • c

    cuddly-winter-72122

    09/09/2022, 1:24 AM
    once every two weeks.
  • b

    bored-school-78265

    09/09/2022, 4:38 AM
    This seems like an obvious question but how to I run one of the cypress system-tests? I'm trying to follow the instructions in the README.md but it fails with:
    Copy code
    jason@goodness> yarn test config_modules_spec                                                                                                   ~/src/cypress/system-tests
    yarn run v1.22.19
    $ node ./scripts/run.js --glob-in-dir="{test,test-binary}" config_modules_spec
    cwd: /Users/jason/src/cypress/system-tests
    specfiles: [ '{test,test-binary}/**/*config_modules_spec*' ]
    test command:
    xvfb-maybe -as "-screen 0 1280x1024x24" -- node --max-http-header-size=1048576 node_modules/.bin/_mocha {test,test-binary}/**/*config_modules_spec* --timeout 10000 --recursive -r @packages/ts/register --reporter mocha-multi-reporters --reporter-options configFile=/Users/jason/src/cypress/system-tests/scripts/mocha-reporter-config.json --extension=js,ts --exit
    Warning: Cannot find any files matching pattern "test-binary/**/*config_modules_spec*"
    
    /Users/jason/src/cypress/system-tests/test/config_modules_spec.ts:1
    import systemTests from '../lib/system-tests'
    ^^^^^^
    
    SyntaxError: Cannot use import statement outside a module
  • t

    thousands-pharmacist-63522

    09/09/2022, 9:49 AM
    is cypress also affected by the chrome 105 :has jquery bug or where fine?
  • t

    thousands-pharmacist-63522

    09/09/2022, 9:49 AM
    karma mocha does seem to have some problems
  • t

    thousands-pharmacist-63522

    09/09/2022, 9:50 AM
    https://github.com/jquery/jquery/issues/5098
  • b

    breezy-hydrogen-39214

    09/09/2022, 2:52 PM
    Has anyone ever used ran Cypress on google cloud?
  • c

    cuddly-winter-72122

    09/09/2022, 3:45 PM
    what OS are you on? this is the correct command
  • b

    bored-school-78265

    09/09/2022, 9:04 PM
    macOS (Apple M1)
  • b

    bored-school-78265

    09/09/2022, 9:05 PM
    I also tried
    yarn workspace @tooling/system-tests test config_modules_spec
    from the root and same result
  • b

    bored-school-78265

    09/09/2022, 9:36 PM
    I must have forgotten to do a
    yarn install
    after pulling the latest changes 🤦‍♂️ Ugh I wish there was a better way to prevent this.
  • b

    bored-school-78265

    09/09/2022, 9:39 PM
    I'm now getting this warning (which later causes and error) when trying to do `yarn install`:
    Copy code
    @packages/runner: The exported identifier "AutomationCookie" is not declared in Babel's scope tracker
    @packages/runner: as a JavaScript value binding, and "@babel/plugin-transform-typescript"
    @packages/runner: never encountered it as a TypeScript type declaration.
    @packages/runner: It will be treated as a JavaScript value.
    @packages/runner: This problem is likely caused by another plugin injecting
    @packages/runner: "AutomationCookie" without registering it in the scope tracker. If you are the author
    @packages/runner:  of that plugin, please use "scope.registerDeclaration(declarationPath)".
  • d

    dazzling-addition-19232

    09/12/2022, 10:06 AM
    I added cypress into my Angular project, now I want to add it to my CI, for both UI\SERVER merge requests (seperate projects) - is it a problem\good practive to create a new project just for the e2e testing ? (remove it from the angular project).
  • d

    dry-memory-36351

    09/12/2022, 2:14 PM
    Hi, I am getting blank page in middle of test, specifically on opening pop up (mat-dialog-container) box. Pls help me to resolve this issue.
  • g

    glamorous-lighter-30340

    09/12/2022, 5:57 PM
    Any screenshots or code examples? Tough to help without more details.
  • p

    prehistoric-restaurant-72560

    09/12/2022, 9:31 PM
    I feel like blank page is starting to be a common issue... 🧐
  • v

    victorious-honey-34966

    09/13/2022, 7:50 AM
    Any reason why the last test can't end, no matter what i put. See example:
    p
    • 2
    • 1
  • p

    prehistoric-restaurant-72560

    09/13/2022, 8:07 AM
    Any reason why the last test can t end
  • v

    victorious-honey-34966

    09/13/2022, 8:23 AM
    I found the reason- it contains describe. somehow cypress allows it but it causes a logic problem
  • p

    prehistoric-restaurant-72560

    09/13/2022, 8:51 AM
    Hi, I am fighting to display text visible after hover. cypress-real-events works great, but I would expect
    .invoke('show')
    work as well. (so it work on other browsers) Page url: https://www.stadlermade.com/pizza-calculator/ I hover over Question Mark next to pizza style
    Copy code
    describe("empty spec", () => {
      it("passes", () => {
        cy.visit("/pizza-calculator/");
        cy.get("div[class^='stadler-calculator__form__row__questionmark']").first().as("firstQM");
        cy.get("@firstQM").should("be.visible").invoke("show");
        cy.get("div[class='stadler-calculator__form__row__answer']").first().should("be.visible");
      });
    });
    • 1
    • 1
  • l

    lemon-winter-31408

    09/13/2022, 7:02 PM
    FYI: I'm excited to try out the webkit support that's been launched in 10.8.0! The changelog (https://docs.cypress.io/guides/references/changelog#10-8-0) has a link to a blog post which doesn't seem to be valid, https://www.cypress.io/blog/2022/09/13/cypress-10-8-experimental-run-tests-in-webkit.
  • f

    fancy-match-96032

    09/13/2022, 7:18 PM
    FYI, blog link is up
  • b

    boundless-activity-75504

    09/13/2022, 11:20 PM
    Hello, everyone...how to know how many times the interceptor has been called in cypress ??
  • g

    gray-kilobyte-89541

    09/13/2022, 11:57 PM
    Something like this https://glebbahmutov.com/blog/cypress-intercept-problems/#count-intercepts-again or using
    alias.all
    too
1...808182...127Latest