Skip to content

Serenity BDD 4.1.20 - issue with rendering report with html script in examples. #152

@Ushaputtachari

Description

@Ushaputtachari

I am using serenity-maven-plugin version 4.1.20 for api automation and my test scenarios has examples to test for cross-site scripting .
Examples :
|name |
|<svg/onload=prompt(1)>|
|<svgload=prompt> |
After test is completed when report HTML report is created and while launching the report I get prompt as attached.

image
once we click OK report shows those examples correctly instead it shows as below.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions