-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add stream search cypress test
- Loading branch information
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import commonIntercepts from './common_intercepts'; | ||
import { loadAndSignIn } from './utils'; | ||
|
||
describe('StreamSearch', () => { | ||
it('successfully zooms to a stream', () => { | ||
commonIntercepts(); | ||
loadAndSignIn(); | ||
|
||
cy.get('#downshift-0-input').type('stream'); | ||
cy.get('#downshift-0-item-0').click(); | ||
|
||
cy.get( | ||
'[d="M570 287L631 280L658 264L676 237L668 217L628 176L622 144L614 121L598 121L570 108L547 107L524 114L509 122L497 137L473 157L464 215L462 260L464 284L491 290z"]' | ||
).should('be.visible'); | ||
}); | ||
}); |