https://cypress.io logo
Join Discord
Powered by
# general-chat
  • i

    icy-printer-50545

    04/06/2022, 6:11 PM
    Hi there, as @fierce-candle-14385 I'm also v. happy that I was in today's Cypress webinar and now Im part of to this amazing Community! ❤️
  • b

    billowy-oyster-17976

    04/06/2022, 6:12 PM
    Hi community, I'm having problems with Kaspersky. The company where I work uses this anti-virus, and now I can't access the application page. Has anyone gone through this problem? 🙁 (I'm a beginner)
  • b

    best-flower-17510

    04/06/2022, 6:22 PM
    Thank you for making this recommendation!
  • a

    adventurous-country-21192

    04/06/2022, 7:50 PM
    👋 Welcome people
  • f

    fierce-candle-14385

    04/06/2022, 7:59 PM
    @User what we did is we put them under support folder and add a selector folder and we put all our selector there and import them to each test. So when there is a change, we go to the file of the selector and change from there
  • p

    proud-gpu-14798

    04/06/2022, 9:05 PM
    One enormous object with every selector for your entire app? Every selector is composed as a single string, including where you need to choose parent/child/decendant/etc. you can simply stick into
    cy.get()
    within your test.
  • f

    fierce-candle-14385

    04/06/2022, 9:07 PM
    @User oh we divided that per tab instead of one giant file for all locators being worked on.
  • p

    proud-gpu-14798

    04/06/2022, 9:10 PM
    So, a separate per-tab file where the locators exist. What about per-tab helper methods that provide reusable sequence of commands such as
    "click submit button and wait for execution to complete"
    ?
  • f

    fierce-candle-14385

    04/06/2022, 9:11 PM
    @User we can import those selectors in the custom commands. I asked cypress community about it before and they said its fine
  • p

    proud-gpu-14798

    04/06/2022, 9:12 PM
    All of the custom commands live in the same
    /support/commands.js
    file? Or in separate per-tab files?
  • p

    purple-helmet-52942

    04/07/2022, 6:24 AM
    koooko9o
  • r

    ripe-library-71244

    04/07/2022, 6:41 AM
    Hello all ! Nice to join the community 🙂
  • c

    cool-vr-4850

    04/07/2022, 8:47 AM
    Hi everyone
  • d

    dazzling-angle-28206

    04/07/2022, 1:42 PM
    @ everyone? Really?
  • s

    sparse-notebook-44714

    04/07/2022, 3:18 PM
    ... I mean, how else would you give news to the Discord server that there is a new update to the server?
  • d

    dazzling-angle-28206

    04/07/2022, 8:19 PM
    Like on literally every other discord server
  • c

    cold-doctor-52849

    04/08/2022, 9:54 AM
    Can anyone confirm if using chainers excessively increases flakiness? for example, chaining together a cy.contains('abc').next().find('input').clear().type('test')?
  • p

    powerful-orange-86819

    04/08/2022, 10:15 AM
    don't start with contains, start with get then contains, if done properly according to retryability rules you can chain as much as you want @cold-doctor-52849
  • g

    great-journalist-58601

    04/08/2022, 11:30 AM
    Hi guys. I am using the option --no-exit with cypress run , and when closing the browser after a test finishes the cypress process never finishes . Is that expected ? Is there a way to make cypress exit properly so other tests can run ? (9.2.0 version)
  • p

    proud-gpu-14798

    04/08/2022, 3:06 PM
    Documentation is good explaining how chaining Cypress commands may not invoke retry as you'd expect. https://docs.cypress.io/guides/core-concepts/retry-ability#Use-retry-ability-correctly
  • a

    alert-balloon-73034

    04/09/2022, 5:19 PM
    Do cypress components support React 18? Trying to follow tutorial on adding cypress components and I get the following error when trying to install some required deps: npm install --save-dev cypress @cypress/react @cypress/webpack-dev-server html-webpack-plugin causes error: npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: cypress-transition@0.1.0 npm ERR! Found: react@18.0.0
  • f

    faint-fountain-31993

    04/10/2022, 6:33 AM
    Can we automate canvas with cypress ?
  • p

    proud-room-838

    04/10/2022, 12:06 PM
    Hmm, seems like #763114122065739818 is the chat with all the questions for help, not really #763105090679865354 🤷‍♂️
  • o

    orange-air-51935

    04/10/2022, 2:45 PM
    That's probably a usability issue on discords side 😉
  • p

    proud-room-838

    04/10/2022, 2:46 PM
    More a user problem than Discord I'd say. 🙂
  • o

    orange-air-51935

    04/10/2022, 2:47 PM
    going on the server you end up in #763114122065739818. "simple" users might not understand the concept of channels.
  • o

    orange-air-51935

    04/10/2022, 2:47 PM
    I find myself reading all channels without thinking about their title anyway 🙂
  • p

    proud-room-838

    04/11/2022, 5:03 AM
    Yeah I was mainly kidding. It's how humans work 🤷‍♂️
  • f

    fancy-laptop-20632

    04/11/2022, 8:19 AM
    Did anyone knows the proble,
  • f

    fancy-laptop-20632

    04/11/2022, 8:19 AM
    /// describe('My Hook Test',()=>{ let data; before(function (){ cy.fixture('example').then(function(users){ data=users return data }) }) it('My First hook Test', ()=>{ cy.visit('https://rahulshettyacademy.com/angularpractice/') cy.wait(1000) cy.get(':nth-child(1) > .form-control').type(data.name) cy.get(':nth-child(1) > .form-control').should('have.attr','minlength',2) cy.wait(1000) cy.get(':nth-child(4) > .ng-untouched').should('have.value',data.name) cy.get('input[name="email"]').type(data.email) cy.wait(1000) cy.get('#exampleInputPassword1').type(data.password) cy.get('select').select(data.gender) cy.get('#inlineRadio3').should('be.disabled') cy.get(':nth-child(2) > .nav-link').click() cy.get('h4.card.title').each($el,index,list) ; { if($el.text().includes('Blackberry')) { cy.get('button.btn btn-info').eq(index).click() } } }) })
1...353637...127Latest