0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 12:21:02 +01:00

force some keypresses (#4867)

This commit is contained in:
Marius Andra 2021-06-24 16:30:46 +02:00 committed by GitHub
parent b759e15f7e
commit 4c921aa7be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,14 @@ describe('<Sessions />', () => {
cy.get('[data-attr="sessions-filter-open"]').click()
cy.focused().type('br').wait(150).type('{downarrow}').wait(150).type('{enter}').wait(150)
cy.get('.sessions-filter-row input').last().click().wait(150).type('Chrome').wait(150).type('{enter}').wait(150)
cy.get('.sessions-filter-row input')
.last()
.click()
.wait(150)
.type('Chrome', { force: true })
.wait(150)
.type('{enter}', { force: true })
.wait(150)
cy.contains('There are unapplied filters').should('be.visible')
cy.get('[data-attr="sessions-apply-filters"]').click()