You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario Outline: I enter a script tag into a text input
When I type "<phrase>" into the text field
Examples:
| phrase |
| <script>alert('fail');</script> |
Expected outcome: JSON output should not contain raw JavaScript
Actual outcome: See JSON snippet below
...
{
"keyword": "When ",
"line": 183,
"name": "I type \"<script>alert('fail');</script>\" into the destination search field",
"id": "I type \"<script>alert('fail');</script>\" into the text field183",
"tags": [],
"uri": "/spec/functional/features/MyFeature.feature",
"result": {
"status": "passed",
"duration": 185000000
},
"embeddings": []
},
...
The text was updated successfully, but these errors were encountered:
Example feature:
Expected outcome: JSON output should not contain raw JavaScript
Actual outcome: See JSON snippet below
The text was updated successfully, but these errors were encountered: