File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
src/test/cypress/integration Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,28 @@ context('Function Documentation', () => {
3939 } )
4040 } )
4141
42+ describe ( 'searching everywhere includes parameter description' , ( ) => {
43+ it ( 'should find file:sync with search term "exist_home"' , ( ) => {
44+ cy . get ( '#query-field' )
45+ . type ( 'exist_home{enter}' )
46+ cy . get ( '.function-head' )
47+ . should ( 'exist' )
48+ . click ( )
49+ cy . url ( )
50+ . should ( 'include' , 'q=exist_home' )
51+ // code is highlighted
52+ cy . get ( '.language-xquery' )
53+ . should ( 'exist' )
54+ // button is visible
55+ cy . get ( '.extended-docs' )
56+ . should ( 'exist' )
57+ . click ( )
58+ // displays MD
59+ cy . get ( 'zero-md' )
60+ . should ( 'exist' )
61+ } )
62+ } )
63+
4264 describe ( 'browse' , ( ) => {
4365 it ( 'should find local modules' , ( ) => {
4466 cy . get ( '#browse' )
You can’t perform that action at this time.
0 commit comments