Skip to content

expectTableCountAndColumns should optionally expect UTC display in tables #479

@corbob

Description

@corbob

Checklist

  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my request.

Is Your Feature Request Related To A Problem? Please describe.

The expectTableCountAndColumns function asserts that no tables contain the text utc, however the Licensing Portal project explicitly lists dates in UTC as that's how Chocolatey CLI processes the licenses.

https://github.com/chocolatey/choco-playwright/blob/79ceda54097d2531452343702c98909f3244c4f8/playwright/assertions/expect-table-count-and-columns.ts#L38

Describe The Solution. Why is it needed?

Ideally the method could take in an optional parameter that sets if UTC is expected to be found or not.

Additional Context

No response

Related Issues

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    0 - BacklogIssue is accepted, but is not ready to be worked on or not in current sprint.EnhancementIssues that introduce new functionality to the project, or enhances/updates existing functionality.PackagePlaywrightIssues relating to the @chocolatey-software/playwright package.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions