0.984
  
  Scenario
  Session Hijacking Through XSS
     
  
    During an XSS attack, the session cookie could be stolen if it's accessible through JavaScript.
  The attacker then could gain access to the user session and use their account to authorize in other applications.
  
  
    
    
        
          
            Before
              io.github.multicatch.cucumber.audit.NavigationStepDefs.<init>(NavigationStepDefs.kt:14)
  0.000
          
         
     
   
  
  
      
  Given
  the response headers are under inspection
  0.406
       
      
  And
  cookies are cleared
  0.010
       
      
  When
  I go to "http://localhost.:8000/accounts/login"
  0.524
       
      
  Then
  the "Set-Cookie" response header should contain "HttpOnly"
  0.044
  
    
      
      
        java.lang.AssertionError: 
Expecting any elements of:
  []
to match given predicate but none did.
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
	at io.github.multicatch.cucumber.audit.ResponseInspectionStepDefs._init_$lambda$6(ResponseInspectionStepDefs.kt:35)
	at ✽.the "Set-Cookie" response header should contain "HttpOnly"(classpath:io/github/multicatch/cucumber/audit/Authentication_Page.feature:24)