File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,13 @@ describe('Editor', function() {
3030
3131 after ( utils . closeBrowser ) ;
3232
33+ it ( 'Displays editor when clicking on navbar' , async function ( ) {
34+ await this . page . click ( 'a[href="/#debugger-io"]' ) ;
35+ // Wait for scroll
36+ await this . page . waitFor ( 3000 ) ;
37+ expect ( await this . page . $eval ( '#debugger-io' , isVisible ) ) . to . be . true ;
38+ } ) ;
39+
3340 it ( 'HS256 should be selected by default' , async function ( ) {
3441 const selected = await this . page . $eval ( '#algorithm-select' , select => {
3542 return select . options [ select . selectedIndex ] . value ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ nav.navbar.closed
99 img( src ='/img/logo.svg' alt ='JWT logo' ) .logo
1010
1111 nav.menu
12- a( href ='/' ) Debugger
12+ a( href ='/#debugger-io' ) .scrollto Debugger
1313 a( href ='/libraries' ) Libraries
1414 a( href ='/introduction' ) Introduction
1515 a( href ='https://community.auth0.com/c/identity/jwt' , target ='_blank' ) Ask
You can’t perform that action at this time.
0 commit comments