https://cypress.io logo
Join Discord
Powered by
# help
  • u

    user

    05/22/2021, 5:46 PM
    E2E, yeah
  • s

    stocky-dream-36427

    05/22/2021, 5:46 PM
    Shouldn't matter. You could test a php site in Cypress, it's completely agnostic.
  • s

    stocky-dream-36427

    05/22/2021, 5:47 PM
    So if you're having issues, it's something else
  • u

    user

    05/22/2021, 5:48 PM
    hmm... actually, my demo is node.js based, with some front & back JS (as ES6 modules and that type into my
    package.json
    )
  • s

    stocky-dream-36427

    05/22/2021, 5:49 PM
    Yeah what I'm saying is it doesn't matter at all.
  • s

    stocky-dream-36427

    05/22/2021, 5:49 PM
    It could be in any language, in any stack. For example, you could've already deployed to prod at
    https://my-website.com
    and Cypress doesn't care how you compiled or deployed the App
  • u

    user

    05/22/2021, 5:49 PM
    but even if I create a
    cypress/plugins/index.js
    in ESM/CJS style, it complains
  • s

    stocky-dream-36427

    05/22/2021, 5:50 PM
    Ok that's different... You're trying to use ESM inside of Cypress inside of plugins?
  • u

    user

    05/22/2021, 5:50 PM
    I'm trying to have everything in ESM, yeah
  • s

    stocky-dream-36427

    05/22/2021, 5:51 PM
    I see.
  • s

    stocky-dream-36427

    05/22/2021, 5:51 PM
    Is it OSS?
  • s

    stocky-dream-36427

    05/22/2021, 5:51 PM
    It's difficult to get a similar environment up. If you can get me a project that has the same issue, I can play with it.
  • u

    user

    05/22/2021, 5:52 PM
    yeah, everything I publish
  • u

    user

    05/22/2021, 5:54 PM
    ok, lemme a few time to eat then I push it into my repo
  • s

    stocky-dream-36427

    05/22/2021, 5:54 PM
    Mmk tyty
  • u

    user

    05/22/2021, 5:54 PM
    but ty 🙂
  • s

    stocky-dream-36427

    05/22/2021, 5:54 PM
    Oh you know
  • s

    stocky-dream-36427

    05/22/2021, 5:54 PM
    I think I know why.
  • s

    stocky-dream-36427

    05/22/2021, 5:54 PM
    You're using file:preprocessor aren't you
  • u

    user

    05/22/2021, 5:55 PM
    it's one of the goals but not actually
  • s

    stocky-dream-36427

    05/22/2021, 5:56 PM
    K. Nvm then. Tty in a bit
  • u

    user

    05/22/2021, 6:37 PM
    @User done: https://github.com/Lcfvs/anticore the problem occurs when I add this pluginsFile (which doesn't make anything, actually)
    Copy code
    js
    export default (on, config) => {
      return config
    }
  • u

    user

    05/22/2021, 6:39 PM
    (please don't compare it to a jQuery, it's a very frequent error, it totally works differently)
  • u

    user

    05/22/2021, 6:44 PM
    (the cypress things are into the
    /demo
    )
  • u

    user

    05/22/2021, 6:52 PM
    @User if you have a fix, you can PR it, they are always welcome on my projects 🙂
  • s

    stocky-dream-36427

    05/22/2021, 6:52 PM
    Hey sorry, looking.
  • s

    stocky-dream-36427

    05/22/2021, 6:52 PM
    Was helping in another channel (DM)
  • u

    user

    05/22/2021, 6:53 PM
    no worries, take your time 😉
  • s

    stocky-dream-36427

    05/22/2021, 6:53 PM
    Yeah you'll need to compile it is the TLDR
  • s

    stocky-dream-36427

    05/22/2021, 6:53 PM
    Are you using Typescript
1...141516...252Latest