expectTableCountAndColumns should optionally expect UTC display in tables

Open Beginner friendly
#479 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
64/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
testing

Research direction

Start with playwright/assertions/expect-table-count-and-columns.ts at the linked assertion around line 38. Trace how expectTableCountAndColumns checks table text, then add an optional UTC expectation while preserving the current default behavior. Done means callers can choose whether UTC is expected in table output.

Written by the indexing model from the issue text.

Description

0 - Backlog Enhancement PackagePlaywright
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

Dominant language
JavaScript
Stars
10
Forks
17
Avg merge
20h 33m
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from chocolatey/choco-theme

All issues in chocolatey/choco-theme

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.