Skip to content

feat(expect): toContainText(array)#9160

Merged
dgozman merged 1 commit into
microsoft:masterfrom
dgozman:to-contain-text-array
Sep 27, 2021
Merged

feat(expect): toContainText(array)#9160
dgozman merged 1 commit into
microsoft:masterfrom
dgozman:to-contain-text-array

Conversation

@dgozman
Copy link
Copy Markdown
Collaborator

@dgozman dgozman commented Sep 26, 2021

This matches when each expected item from the array is matched to one of the resolved elements, in order.
Note this performs both "sub-array" and "substring" matching.

Drive-by: documentation fixes.
Drive-by: added selector resolved to 3 elements log line when expecting arrays.

References #8869.

This matches when each expected item from the array
is matched to one of the resolved elements, in order.
Note this performs both "sub-array" and "substring" matching.

Drive-by: documentation fixes.
Drive-by: added "selector resolved to 3 elements" log line
when expecting arrays.
@dgozman dgozman added the CQ1 label Sep 27, 2021
@dgozman dgozman merged commit 8dc8777 into microsoft:master Sep 27, 2021
sidharthv96 added a commit to sidharthv96/playwright that referenced this pull request Sep 28, 2021
* upstream/master: (26 commits)
  browser(webkit): disable COOP support (microsoft#9185)
  fix(test runner): proper serial mode with beforeAll/afterAll failures (microsoft#9183)
  chore: remove browserType.connect from .net - not yet ready (microsoft#9182)
  test: canvas updates are reflected on screenshots (microsoft#9180)
  chore: dedupe return types in the dotnet api generator (microsoft#9181)
  docs: mention empty string in `userDataDir` (microsoft#9069)
  feat(expect): toContainText(array) (microsoft#9160)
  chore: enable object-curly-spacing in ESLint (microsoft#9168)
  feat(chromium): roll to r925110 (microsoft#9175)
  chore: render expect in trace viewer (microsoft#9141)
  devops: use Node.js 16 when rolling browsers
  docs(python): add docs about threading (microsoft#8829)
  browser(chromium): roll to r925110 (microsoft#9171)
  chore(test-runner): launch -> webServer (microsoft#9167)
  docs: cleanup test.describe.parallel.only doc (microsoft#9159)
  chore: remove FatalDOMError (microsoft#9119)
  feat(test runner): improve fixture typings for function fixtures (microsoft#9138)
  fix(expect): produce "waiting for selector" log, corner cases (microsoft#9140)
  fix: increase recent logs buffer (microsoft#9143)
  test: unflake a few tests (microsoft#9142)
  ...
sidharthv96 added a commit to sidharthv96/playwright that referenced this pull request Sep 28, 2021
…sAnnotations

* upstream/master:
  browser(webkit): disable COOP support (microsoft#9185)
  fix(test runner): proper serial mode with beforeAll/afterAll failures (microsoft#9183)
  chore: remove browserType.connect from .net - not yet ready (microsoft#9182)
  test: canvas updates are reflected on screenshots (microsoft#9180)
  chore: dedupe return types in the dotnet api generator (microsoft#9181)
  docs: mention empty string in `userDataDir` (microsoft#9069)
  feat(expect): toContainText(array) (microsoft#9160)
  chore: enable object-curly-spacing in ESLint (microsoft#9168)
  feat(chromium): roll to r925110 (microsoft#9175)
  chore: render expect in trace viewer (microsoft#9141)
  devops: use Node.js 16 when rolling browsers
  docs(python): add docs about threading (microsoft#8829)
  browser(chromium): roll to r925110 (microsoft#9171)
  chore(test-runner): launch -> webServer (microsoft#9167)
  docs: cleanup test.describe.parallel.only doc (microsoft#9159)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants