Update dependency @hmcts/playwright-common to v1.1.2#907
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
Update dependency @hmcts/playwright-common to v1.1.2#907renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
4618980 to
3c4e5ad
Compare
3c4e5ad to
890908d
Compare
890908d to
de8ee3b
Compare
de8ee3b to
ae11818
Compare
ae11818 to
bdefdc4
Compare
bdefdc4 to
58a64d6
Compare
58a64d6 to
3ef00c2
Compare
3ef00c2 to
f9c2237
Compare
f1b364a to
df0442e
Compare
df0442e to
fefcef8
Compare
fefcef8 to
408b0c9
Compare
6c1743d to
9e72655
Compare
9e72655 to
9aa8a30
Compare
9aa8a30 to
fcc0bfc
Compare
fcc0bfc to
4b6374a
Compare
4b6374a to
9177f39
Compare
9177f39 to
3931dd1
Compare
3931dd1 to
4bc1cd2
Compare
4bc1cd2 to
7f7e19e
Compare
7f7e19e to
237e64b
Compare
237e64b to
9d2ba57
Compare
9d2ba57 to
fc567b9
Compare
fc567b9 to
ded602b
Compare
ded602b to
32edc55
Compare
32edc55 to
4f95d36
Compare
4f95d36 to
4fc7918
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.0.39→1.1.2Release Notes
hmcts/playwright-common (@hmcts/playwright-common)
v1.1.2Compare Source
Added
table.utils.helpers.ts- New module containing reusable table parsing logic with comprehensive TypeScript typesTableCellSnapshot,TableRowSnapshot,TableSnapshottypes for structured DOM data representationparseKeyValueSnapshot(),parseDataSnapshot(),parseWorkAllocationSnapshot()cleanTableText(),filterVisibleRows(),looksLikeSelectionCellText(),buildHeaderKeys()Changed
table.utils.helpers.tsmoduleparseKeyValueTable(),parseDataTable(), andparseWorkAllocationTable()now use snapshot builders + pure parsing functionsbuildTableSnapshot()andbuildWorkAllocationSnapshot()to focus on DOM extraction onlyFixed
Improved
Performance
v1.1.1Compare Source
Added
TableUtils.parseKeyValueTable()- Parse 2-column key-value tables (CCD case details tabs with label-value pairs)TableUtils.parseDataTable()- Parse multi-column tables with headers (collections, documents, flags tables)TableUtils.parseWorkAllocationTable()- Parse work allocation tables with sortable headers (handles buttons in headers, links in cells)tests/utils/table.utils.test-helpers.ts- Extracted 450+ lines of test helper functions for better maintainabilityChanged
windowwithglobalThisfor better cross-environment compatibilityreplaceAll()for modern string replacementaria-hiddenrow filteringFixed
parseDataTablenow correctly excludes<thead>rows when using full table selectors (e.g.,#documents-table). Previously, header rows were incorrectly returned as data rows.parseKeyValueTablenow allows empty value cells (returns empty string) instead of throwing errors. Key cells still require content.parseWorkAllocationTablenow implements all documented features: sort icon removal, whitespace normalization, column_N fallback keys for empty headers, and comprehensive hidden row filtering (display:none, visibility:hidden, aria-hidden, hidden attribute)Confirmed
v1.1.0Compare Source
CI changes
.github/workflows/create_release.ymlto align with npm’s “single trusted publisher per package” model.prerelease-*(published with npm dist-tagprerelease).Function Changes
retryAfterMson errors when scheduling backoff.coverage-summary.json, into formated summaries, and provide table-friendly rows.TableUtilsalignment to drop selection/action columns correctly; added unit coverage for table mapping, coverage, and endpoint scanning.v1.0.41Compare Source
Configuration
📅 Schedule: Branch creation - "after 7am and before 11am every weekday" in timezone Europe/London, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.