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

    boundless-king-15191

    10/28/2022, 10:17 AM
    i used Cypress Version: 10.11.0 (stable) System Platform: win32 (10.0.19043)
  • s

    stale-optician-85950

    10/28/2022, 10:24 AM
    There you go. Windows 7 and above (64-bit only) https://docs.cypress.io/guides/getting-started/installing-cypress#System-requirements
  • b

    boundless-king-15191

    10/28/2022, 10:26 AM
    strange, I have an x64 system, but for some reason cypress sees it as x32
  • s

    stale-optician-85950

    10/28/2022, 10:27 AM
    I'll leave it with you to investigate from here, as I'm on Mac, and you know the root cause now.
  • b

    boundless-king-15191

    10/28/2022, 10:28 AM
    Thanks a lot!
  • l

    limited-barista-33480

    10/28/2022, 1:34 PM
    Hi Team, Can anyone tell me, how to add ssl certificate for https website? URL which i am launching is https which is showing as not secure in my cypress automation browsers, because of this my automation is blocked..Please help. browser showing as Not secure to my https url, which is blocking my automation
  • m

    mysterious-belgium-25713

    10/28/2022, 1:39 PM
    You are showing 12 results that are passing. Maybe show the error code so we can see if its really because of the SSL
  • c

    chilly-soccer-83645

    10/28/2022, 2:18 PM
    Hi I just updated my cypress to 10.11.0 and now when I open cypress interface I am getting this config error. Can someone help please
  • c

    cuddly-kitchen-97815

    10/28/2022, 2:21 PM
    In your
    cypress.config.ts
    file, if the
    testIsolation
    key is present, make sure it has a value of
    on
    or
    off
    . If it is not present, please include the key with one of the appropriate values
  • c

    chilly-soccer-83645

    10/28/2022, 2:42 PM
    thanks, appreciate it
  • c

    cuddly-kitchen-97815

    10/28/2022, 2:42 PM
    Happy to help!
  • b

    billowy-librarian-83114

    10/28/2022, 2:58 PM
    when I log an array full of objects using cy.log, is there a way to copy that array of objects without the extra stuff? it logs like this in the console:
    Copy code
    (24) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}]
    0
    : 
    {Item ID: '121-FZ-01-1', Item Description: 'Arrowtooth Flounder Fz 2/4 Lb Whole 50# Case', Item Type: 'Inventory', Item Class: '12:  Rockfish', UOM Schedule ID: '50# Case ', …}
    1
    : 
    {Item ID: '121-FZ-01-2', Item Description: 'Arrowtooth Flounder Fz 4/6 Lb Whole 50# Case', Item Type: 'Inventory', Item Class: '12:  Rockfish', UOM Schedule ID: '50# Case ', …}
    2
    : 
    {Item ID: '121-FZ-23-1', Item Description: 'Arrowtooth Flounder Fz 6-8 oz Fillets 30# Case', Item Type: 'Inventory', Item Class: '12:  Rockfish', UOM Schedule ID: '30# Case', …}
    3
    : 
    {Item ID: '123-FZ-01-1', Item Description: 'Rock Sole Fz 400-600g Whole 60# Bag', Item Type: 'Inventory', Item Class: '12:  Rockfish', UOM Schedule ID: '60# Bag', …}
    4
    : 
    {Item ID: '123-FZ-01-2', Item Description: 'Rock Sole Fz > 600g Whole 60# Bag', Item Type: 'Inventory', Item Class: '12:  Rockfish', UOM Schedule ID: '60# Bag', …}
    5
    : 
    {Item ID: '139-FZ-23-1', Item Description: 'Rockfish Fz O/R Fillets 15# Case', Item Type: 'Inventory', Item Class: '12:  Rockfish', UOM Schedule ID: '15# Case', …}
  • b

    billowy-librarian-83114

    10/28/2022, 3:27 PM
    nevermind. cy.writeFile works for this
  • c

    careful-toothbrush-49639

    10/28/2022, 4:21 PM
    2It worked...Thank you very much @stale-optician-85950
  • c

    careful-toothbrush-49639

    10/28/2022, 4:23 PM
    Thanks for your concern. I really appreciate . The issue was resolved by @stale-optician-85950
  • g

    gifted-coat-49959

    10/28/2022, 4:32 PM
    Sorry to crosspost, I'm not going to post the whole thing but I've got a funny issue with my E2E tests that I posted about in #763105090679865354 $50 bounty!
  • c

    careful-toothbrush-49639

    10/28/2022, 4:38 PM
    I'm trying to confirm that the verify button is no longer disabled but when I run the test, I get the error on the fourth attached image. Can anyone help. Thanks
  • g

    gifted-coat-49959

    10/28/2022, 4:44 PM
    I think if I were writing the test I'd write something more specific for getting the verify button. You can see that on line 26 the test expected a div to have the verify text but not ion-button.
  • c

    careful-toothbrush-49639

    10/28/2022, 5:06 PM
    I fixed it by targeting the main element verifyButton: () => cy.get('ion-button').contains('Verify'),
  • n

    nutritious-army-46708

    10/28/2022, 5:38 PM
    I got "Maximum call stack size exceeded" when using the below function. the function realizes when "div" >0, click '.fc-prev-button, and click '.fc-next-button' when div<0. the function stop when div==0. Anyone has some suggestions? Thank you!!! function getTargetMonth(div) { cy.then(() => { if (div > 0) { cy.get('.fc-prev-button').click() div - 1; } else if (div < 0) { cy.get('.fc-next-button').click() div + 1; } else return }) getTargetMonth(div) }
  • g

    gifted-coat-49959

    10/28/2022, 5:46 PM
    Can you show some source and explain what you're trying to accomplish? Like what is the "div" variable in this context?
  • a

    adorable-smartphone-87280

    10/28/2022, 5:48 PM
    Also please format your code with triple-quotes for readability.
  • n

    nutritious-army-46708

    10/28/2022, 5:51 PM
    Thank you for your answer. "div" is an integer. if "div" is positive, the spec will click pre-button til "div" equals zero. if "div" is negative, the spec will click next-button til "div" equals zero.
  • n

    nutritious-army-46708

    10/28/2022, 5:56 PM
    thank you! use triple-quotes directly? Let me try screenshot
  • a

    adorable-smartphone-87280

    10/28/2022, 5:56 PM
    No, screenshots are even worse because then we can't copy/paste your code to try it ourselves.
  • a

    adorable-smartphone-87280

    10/28/2022, 5:57 PM
    You can format multi-line code using three backticks (same key as ~)
  • a

    adorable-smartphone-87280

    10/28/2022, 5:57 PM
    Copy code
    like this
    you see
      even supports indentation
  • a

    adorable-smartphone-87280

    10/28/2022, 5:57 PM
    Discord supports a lot of markdown-flavor formatting.
  • a

    adorable-smartphone-87280

    10/28/2022, 5:58 PM
    your code formatted:
    Copy code
    function getTargetMonth(div) {
      cy.then(() => {
        if (div > 0) {
          cy.get('.fc-prev-button').click()
          div - 1;
        } else if (div < 0) {
    cy.get('.fc-next-button').click()
      div + 1;
    }
      else return
      })
      getTargetMonth(div)
    }
  • a

    adorable-smartphone-87280

    10/28/2022, 5:58 PM
    OH GOD
1...133134135...192Latest