Skip to content

AssertContent Subsection Coloring #14

Open
@brodriguez8774

Description

@brodriguez8774

When using any form of AssertContent with the subsection args ( content_starts_after / content_ends_before ), it would be nice if there was some sort of coloring for the content "debug print" output.

Initial idea was to display the full response content, but then change coloring:

  • Yellow Output - Indicates content sections as trimmed by content_starts_after / content_ends_before params.
  • White Output - Indicates actual response content that is being checked for matches.

Such behavior would be incredibly useful for testing responses with large amounts of page output, but only very limited sections actually being searched.

Furthermore, this color output should probably be toggle-able as a setting, in case there are ever bugs with parsing content values. That way, there is always a fallback of "this is for sure what the full, literal page output really is".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions