File tree Expand file tree Collapse file tree 1 file changed +21
-4
lines changed
src/main/java/hawk/controller Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,27 @@ public String index(Model model) {
1414 return "hidden" ;
1515 }
1616
17- @ GetMapping ("/hidden/{id}" )
18- public String jwtAuth (Model model , @ PathVariable ("id" ) String id ) {
19- String title = "Random hidden page : " + id ;
20- model .addAttribute ("title" , title );
17+ @ GetMapping ("/hidden/hidden2" )
18+ public String hidden (Model model ) {
19+ model .addAttribute ("Rando hidden page" );
2120 return "hidden2" ;
2221 }
22+
23+ @ GetMapping ("/hidden/cypress" )
24+ public String cypress (Model model ) {
25+ model .addAttribute ("title" , "Hidden Page, found and tested with cypress tests" );
26+ return "hidden" ;
27+ }
28+
29+ @ GetMapping ("/hidden/selenium" )
30+ public String selenium (Model model ) {
31+ model .addAttribute ("title" , "Hidden Page, found and tested with selenium tests" );
32+ return "hidden" ;
33+ }
34+
35+ @ GetMapping ("/hidden/playwright" )
36+ public String playwright (Model model ) {
37+ model .addAttribute ("title" , "Hidden Page, found and tested with playwright tests" );
38+ return "hidden" ;
39+ }
2340}
You can’t perform that action at this time.
0 commit comments