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() {
30
30
31
31
after ( utils . closeBrowser ) ;
32
32
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
+
33
40
it ( 'HS256 should be selected by default' , async function ( ) {
34
41
const selected = await this . page . $eval ( '#algorithm-select' , select => {
35
42
return select . options [ select . selectedIndex ] . value ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ nav.navbar.closed
9
9
img( src ='/img/logo.svg' alt ='JWT logo' ) .logo
10
10
11
11
nav.menu
12
- a( href ='/' ) Debugger
12
+ a( href ='/#debugger-io' ) .scrollto Debugger
13
13
a( href ='/libraries' ) Libraries
14
14
a( href ='/introduction' ) Introduction
15
15
a( href ='https://community.auth0.com/c/identity/jwt' , target ='_blank' ) Ask
You can’t perform that action at this time.
0 commit comments