https://cypress.io logo
Join Discord
Powered by
# e2e-testing
  • l

    loud-vase-48777

    06/03/2022, 12:28 PM
    ?
  • a

    aloof-balloon-7570

    06/03/2022, 12:43 PM
    Hello All, I Have updated my cypress to 10.0.2 but its not working Would you please someone can help with it. Thanks
  • e

    echoing-painting-40909

    06/03/2022, 12:58 PM
    Hello, you can use the #974362106822545429 channel. Provide a complete explanation of your issue if you want some help.
  • a

    aloof-balloon-7570

    06/03/2022, 12:59 PM
    ya sure
  • a

    adventurous-branch-4501

    06/04/2022, 4:35 PM
    Do I need to install "scroll-to-bottomjs"? where I can find the file
  • s

    some-window-79000

    06/04/2022, 10:09 PM
    Do we get any group bonus/discount?
  • e

    echoing-painting-40909

    06/05/2022, 8:00 AM
    Yes, indicated in the link.
  • r

    rhythmic-butcher-48923

    06/05/2022, 10:29 AM
    how can i make cypress expand environment variables?
    Copy code
    bash
    # Cypress wont expand
    CYPRESS_baseUrl=$PROTOCOL://$HOSTNAME:$PORT
  • g

    gray-kilobyte-89541

    06/05/2022, 12:04 PM
    I had a discount when I first released it for subscribers to my https://cypresstips.substack.com/ but that one has expired and I don't have any new promotions lined up
  • g

    gray-kilobyte-89541

    06/05/2022, 12:05 PM
    you do it yourself in the plugins (or cypress.config.js) file
  • s

    straight-chef-47891

    06/05/2022, 11:45 PM
    Those with Buildkite as their CICD, has anyone tried this to integrate with Cypress tests? https://buildkite.com/test-analytics
  • m

    most-night-19949

    06/06/2022, 7:26 AM
    Hi All. I'm trying to implement Cypress for E2E testing on a backend only repo. Is this possible to do. If possible how do I handle passing the Okta access token required to pass in the headers for the APIs.
  • e

    elegant-dog-90839

    06/06/2022, 9:39 AM
    hey how can I pass additional arguments to percy? Currently I am starting my teests like this:
    Copy code
    npx percy exec -- cypress run --spec "tests/e2e/specs/$1/*-$1.spec.js" --browser chrome --record --key $CYPRESS_APP_KEY
    When I do this in a vue webcomponent project I get blank scrrenshots in percy, hence I want to enable the debugger and perhaps give the option
    --enable_javascript
    to percy.
  • e

    elegant-dog-90839

    06/06/2022, 9:42 AM
    I currently get
    Copy code
    [percy] Warning: Missing command separator (--), some command options may not work as expected
    [percy] Error: Command not found "--enable_javascript"
  • a

    adorable-stone-42197

    06/06/2022, 2:07 PM
    Hello guys
  • a

    adorable-stone-42197

    06/06/2022, 2:08 PM
    Is someone faced with issue
  • a

    adorable-stone-42197

    06/06/2022, 2:08 PM
    Unexpected token u in JSON at position 0
  • a

    adorable-stone-42197

    06/06/2022, 2:08 PM
    I didn’t change anything in my test and i got this error
  • c

    chilly-wire-18703

    06/06/2022, 2:49 PM
    riddle me this, ljubecf: what is the zeroth element of this string?: "undefined"
  • a

    adorable-stone-42197

    06/06/2022, 2:52 PM
    In my code i just trying to close a window
  • c

    chilly-wire-18703

    06/06/2022, 2:53 PM
    another way to say it: what is the element at position 0 for the string "undefined"?
  • g

    gray-easter-54566

    06/06/2022, 5:23 PM
    hi any way to execute a functions from
  • a

    acceptable-solstice-90676

    06/06/2022, 8:31 PM
    Hello guys, I used to do this to load secondary pages within the same tab, but after doing the update to v10 the page turns white and the secondary page is not loading within the same tab. If I remove the
    target
    from Chrome myself, it does properly, so it seems to be something with Cypress.
    Copy code
    cy.get('mat-cell a').first()
            .invoke('removeAttr', 'target')
            .click()
  • a

    acceptable-solstice-90676

    06/06/2022, 8:52 PM
    I am getting this issue when using
    cy.origin
    Copy code
    it('Validates receipts can be viewed and user can access to it', () => {
           //Click on View button
            cy.get('mat-cell a').first()
              .click()
            cy.origin('https://invoice.stripe.com/i/acct_189LShGXMLuHtlf8/test_YWNjdF8xODlMU2hHWE1MdUh0bGY4LF9McE5GcDkxdzhPR2tTU3M3R2YyTWZWTHp6bFRNaVYzLDQ1MDg2ODg10200HKSHE6Qt?s=ap'), () =>{
                cy.get('[colspan="2"]')
                  .should('be.visible')
            }
    g
    • 2
    • 3
  • a

    adamant-beard-17074

    06/06/2022, 11:59 PM
    Goodnight. Can anyone help me with a cron setup? I'm trying to configure a default time so that the tests are done automatically, but the tests are not running automatically. I've already put the time with a difference of -3 (17:15), +3 (23:20), with the current time (20:20) and it won't. When I do the push the test is done automatically, but by the time it won't.
  • f

    fresh-doctor-14925

    06/07/2022, 7:15 AM
    I don't see anything immediately wrong there. Your callback doesn't look too different to the examples in the docs(https://docs.cypress.io/api/commands/origin#Syntax) Can I see some more of the code following the
    origin()
    call?
  • e

    echoing-painting-40909

    06/07/2022, 7:22 AM
    Hello, don't rely on GitHub action to run a cron on the exact time. Servers might be busy and it'll trigger when available, which might happen few hours later
  • b

    broad-helmet-80717

    06/07/2022, 8:05 AM
    Hello all i am loading data using fixture in before method it is working fine for other methods i have created through bdd but for the repeated steps i have created a function in this function data is not able to load can you please help anyone
  • b

    bitter-easter-25324

    06/07/2022, 9:16 AM
    Hi all, I am having a problem doing e2e testing with different users. I login with different client certificates configured for different url/path patterns. It used to work correctly but now my server has mod_ssl configured to allow ssl session caching. This makes that even if I specify connection: close in my request headers, the same ssl session is reused when I try to login with a different user. I need something like the ability to invalidate all ssl sessions on browser side. Does anybody had a similar issue or any idea on how to move on this ?
  • c

    cold-accountant-75560

    06/07/2022, 9:22 AM
    Hi all I have an issue with an iframe placed on top on my app while automating it or embedding it through cypress not allowing me to interact with the app Im automating, if I open it from chrome it's fine. but while opening it through cypress browser, It says that the content is not editable... Is this a CORS ISSUE? what are the solutions I can have? should I juts change the testing framework
1...474849...192Latest