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

    fresh-doctor-14925

    11/14/2022, 9:31 AM
    I'm trying to establish if it is related to context being shared between specs, hence asking what happens when you run instead of it being in
    open
    mode
  • c

    clean-intern-72668

    11/14/2022, 9:33 AM
    Hi. I am using Allure for generating report in cypress using the below command. allure generate allure-results --clean -o allure-report && allure open allure-report In jenkins it is giving me /allure-results: Permission denied error. I have tried chmod. Is there any way around?.
  • a

    aloof-psychiatrist-45078

    11/14/2022, 9:34 AM
    Yup, what I mean is that's the result that is being output to the terminal, so I assume that the response body is there
  • f

    fresh-doctor-14925

    11/14/2022, 9:46 AM
    What happens in open mode if you enable the
    experimentalSessionAndOrigin
    flag? https://docs.cypress.io/guides/references/experiments#Testing-Type-Specific-Experiments
  • a

    aloof-psychiatrist-45078

    11/14/2022, 9:49 AM
    will try and get back to you 🙂
  • f

    flaky-article-23611

    11/14/2022, 10:12 AM
    Does anyone have experience panning an OpenLayers map using Cypress?
  • f

    flaky-article-23611

    11/14/2022, 10:13 AM
    I get the feeling Cypress is trying to drag the canvas element instead of panning the map
  • m

    millions-scientist-9990

    11/14/2022, 10:18 AM
    I want to use cypress to test a linux docker environment. In teamcity. The linux agent does not have a display and i have troubles running it. It surgested using docker for testing. But i think the docker images are old or something. They use the old config file. Where all documentation is rewritten and i dont know how to setup the old config.
  • c

    colossal-table-38461

    11/14/2022, 10:21 AM
    Hello All, to complete the e2e flow, I need to validate the link which I received in Email. any idea how we can check through Cypress ???
  • a

    aloof-psychiatrist-45078

    11/14/2022, 10:23 AM
    still the same even though i set it to true
  • a

    aloof-psychiatrist-45078

    11/14/2022, 10:24 AM
    looks impossible, my understanding is Cypress live on browsers only since browser cant really check email (... right?), thus Cypress also cant really check emails
  • s

    stale-optician-85950

    11/14/2022, 10:57 AM
    Yes, it's doable, but It's not a Cypress thing it's a Node thing. You'd need SMTP in the setup. You'll find blogs/tutorials with a simple Google search. You could start by reading Gleb's post https://www.cypress.io/blog/2021/05/11/testing-html-emails-using-cypress/
  • c

    colossal-table-38461

    11/14/2022, 11:11 AM
    Thanks @stale-optician-85950 If I have any query will definitely get back to you!!!
  • f

    fresh-doctor-14925

    11/14/2022, 11:31 AM
    hm ok that's weird. Are you visiting the site under test at the beginning of each spec?
  • a

    aloof-psychiatrist-45078

    11/14/2022, 12:07 PM
    yup, at the Before Block
  • f

    fresh-doctor-14925

    11/14/2022, 12:08 PM
    Ah. That's an antipattern in Cypress. Move that to a
    beforeEach()
    and I don't think you'll have the issue any more
  • a

    aloof-psychiatrist-45078

    11/14/2022, 12:16 PM
    unfortunately, still the same 😦
  • a

    aloof-psychiatrist-45078

    11/14/2022, 12:37 PM
    https://github.com/cypress-io/cypress/issues/14277 for some reason, this works 🙂
  • j

    jolly-actor-66796

    11/14/2022, 12:48 PM
    I'm using Applitools eyes and it was working well but it suddenly stopped working 2 days ago, and when cypress reaches
    cy.eyesOpen()
    command the test cases stops execution and this error is shown. What's the problem and what can I do?
  • f

    fresh-doctor-14925

    11/14/2022, 1:34 PM
    Hmm. That's weird. changing that flag should mean that there is isolation between
    it()
    runs. Glad you got it figured out though 🙂
  • p

    plain-rocket-40215

    11/14/2022, 2:20 PM
    Hi! I'm trying to setup this pgsql connection with cypress Javascript into Cypress Typescript but haven't been able to do it, has anyone already done it? https://dev.to/xvier/connecting-cypress-to-a-postgresql-database-3po5
  • g

    gray-kilobyte-89541

    11/14/2022, 3:14 PM
    You can learn all about intercepting cached requests in my course https://cypress.tips/courses/network-testing
  • g

    gray-kilobyte-89541

    11/14/2022, 3:15 PM
    That's the beauty of using 3rd party service, see any of my presentations on this topic https://slides.com/bahmutov/decks/visual-testing
  • u

    user

    11/14/2022, 3:33 PM
    Hi @here Can anyone please guide me through setting up cookies for multiple domains?
  • u

    user

    11/14/2022, 3:35 PM
    same cookie but in multiple domain.
  • f

    fresh-doctor-14925

    11/14/2022, 3:56 PM
    @User The domain is an option you can provide in cy.setCookie(), so it shouldn't be too difficult for you docs here: https://docs.cypress.io/api/commands/setcookie#Arguments
  • p

    plain-elephant-20908

    11/14/2022, 4:08 PM
    Thank you @fresh-doctor-14925 I'm also trying to create a custom command/functions to setup a cookie with single command/functions. Is this possible?
  • f

    fresh-doctor-14925

    11/14/2022, 4:10 PM
    Yeah, there are docs to help you with this as well https://docs.cypress.io/api/cypress-api/custom-commands#Syntax
  • b

    billowy-librarian-83114

    11/14/2022, 4:23 PM
    im having issues with cy.intercept. Any time I try to work with any part of the request, cypress hangs
    Copy code
    cy.intercept("POST", "**/PostAskServiceForGridData", (req) => {
          req.body =
            "SelectStoredProcedureName=SPx_IMSEL_TransactionHeaderAttributeList&CurrentDataEntityCompanySK=2&CurrentUserSK=1&QueryString=%3FTransactionHeaderSK%3D3896&ControlParameterName=TransactionHeaderSK&ControlParameter=3896&columnsToReturn=%5B%22TransactionHeaderSK%22%2C%22AttributeSK%22%2C%22TransactionAttributeSK%22%2C%22DataType%22%2C%22ControlType%22%2C%22LookupQuery%22%2C%22LookupBoundColumn%22%2C%22LookupDisplayColumn%22%2C%22IsReadOnly%22%2C%22AttributeValue%22%2C%22AttributeValueDisplay%22%2C%22AttributeDescription%22%2C%22AvailableOption%22%5D&test=false"
        })
  • n

    nutritious-megabyte-64190

    11/14/2022, 5:39 PM
    GitHub - bahmutovcypress-recurse A way...
1...141142143...192Latest