https://cypress.io logo
Join DiscordCommunities
Powered by
# e2e-testing
  • p

    purple-afternoon-2408

    07/14/2021, 3:58 PM
    Input date was found, type should work but it doesn't do anything
  • p

    purple-afternoon-2408

    07/14/2021, 3:58 PM
    The test was working, I upgraded to
    7.7.0
    then it's no longer working, i reverted back but it doesn't work anymore and it fails on that line.
  • b

    bulky-sundown-74498

    07/14/2021, 4:00 PM
    Could it be the version of chrome you are using now that has changed?
  • b

    bulky-sundown-74498

    07/14/2021, 4:00 PM
    Does it fail in CI ?
  • p

    purple-afternoon-2408

    07/14/2021, 4:01 PM
    I cannot confirm this in terms of the CI, cuz other areas are failing in CI but succeeding in local (I am really puzzled)
  • p

    purple-afternoon-2408

    07/14/2021, 4:01 PM
    What can I do to unify CI and local?
  • b

    bulky-sundown-74498

    07/14/2021, 4:02 PM
    Have you tried cypress run --headless ?
  • p

    purple-afternoon-2408

    07/14/2021, 4:02 PM
    If that is locally, then it would defeat the purpose of the visual testing...
  • p

    purple-afternoon-2408

    07/14/2021, 4:02 PM
    Aren't they all expected to be the same?
  • b

    bulky-sundown-74498

    07/14/2021, 4:03 PM
    Kindof
  • b

    bulky-sundown-74498

    07/14/2021, 4:03 PM
    Usually locally cypress tests on chrome when it's open
  • b

    bulky-sundown-74498

    07/14/2021, 4:03 PM
    And tests on electron when on headless
  • p

    purple-afternoon-2408

    07/14/2021, 4:04 PM
    But my app can't be tested in electron
  • p

    purple-afternoon-2408

    07/14/2021, 4:04 PM
    In CI, I am using chrome based image
  • b

    bulky-sundown-74498

    07/14/2021, 4:04 PM
    And chrome is usually the browser you have setup on your machine and can get updated without cypress knowing
  • b

    bulky-sundown-74498

    07/14/2021, 4:04 PM
    But not electron
  • p

    purple-afternoon-2408

    07/14/2021, 4:04 PM
    In Cypress, I just checked which version, it's chrome 91
  • p

    purple-afternoon-2408

    07/14/2021, 4:05 PM
    In CI, i am using
    cypress/browsers:node14.16.0-chrome89-ff86
  • p

    purple-afternoon-2408

    07/14/2021, 4:06 PM
    Either way, typing a date in input dates shouldn't make the behaviour not to type anything in any case
  • p

    purple-afternoon-2408

    07/14/2021, 4:10 PM
    Is there anyway that I enforce or temporarily inject value in there in the event that this is a bug till it's fixed?
  • p

    purple-afternoon-2408

    07/14/2021, 4:11 PM
    I can confirm the input is picked (this is screenshot of before)
  • p

    purple-afternoon-2408

    07/14/2021, 4:11 PM
    That's after, the error that was there highlighting it cannot be empty is gone, but there is no value in there.
  • p

    purple-afternoon-2408

    07/14/2021, 4:17 PM
    In headless, same error
  • p

    purple-afternoon-2408

    07/14/2021, 4:36 PM
    There is no date input here https://example.cypress.io/commands/actions for reproduction
  • p

    purple-afternoon-2408

    07/15/2021, 1:50 PM
    Hi team, the input date issue appeared to be a bug on my end. And it's fixed. Thank you.
  • p

    purple-afternoon-2408

    07/15/2021, 3:14 PM
    I have a question about running
    cy run
    (headless) vs browser one
  • p

    purple-afternoon-2408

    07/15/2021, 3:15 PM
    Why would there be a differences in the result? I.e headless one can fail sometimes and sometimes not, depending on it's mood
  • p

    purple-afternoon-2408

    07/15/2021, 3:18 PM
    Currently, I'm noticing a constant behavior of failing during routing, i.e:
    Copy code
    AssertionError: expected 'http://localhost:4200/' to include '/sub-route
  • p

    purple-afternoon-2408

    07/15/2021, 3:30 PM
    @User : I am experiencing the same issue as https://github.com/cypress-io/cypress/issues/5098
  • p

    purple-afternoon-2408

    07/15/2021, 3:30 PM
    but mine doesn't need to run in CI, it jsut happens in local as well but headless
1...111213...192Latest