We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d17dcb commit 14fdbd4Copy full SHA for 14fdbd4
cypress/integration/search/config.spec.js
@@ -0,0 +1,17 @@
1
+context('sidebar.search', () => {
2
+ beforeEach(() => {
3
+ cy.visit('http://localhost:3000');
4
+ });
5
+
6
+ it('search list',()=>{
7
+ cy.get(':input[type=search]')
8
9
+ .type("npm i -g now")
10
11
+ .should('have.value', 'npm i -g now');
12
13
+ cy.get(
14
+ '.results-panel>.matching-post p>em'
15
+ ). should('contain', 'npm i -g now');
16
+ })
17
+});
0 commit comments