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:
parent
b759e15f7e
commit
4c921aa7be
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user