Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore(reporter): add another surrogate pair test case (#33428)
Simon Knott26a7dd4dd468
diff --git a/tests/playwright-test/fit-to-width.spec.ts b/tests/playwright-test/fit-to-width.spec.tsindex 94e73cb381..c4f6dd3200 100644--- a/tests/playwright-test/fit-to-width.spec.ts+++ b/tests/playwright-test/fit-to-width.spec.ts@@ -29,4 +29,5 @@ test('surrogate pairs', () => {expect(fitToWidth('ππ', 2)).toBe('β¦');expect(fitToWidth('ππ', 3)).toBe('β¦π');expect(fitToWidth('ππ', 4)).toBe('ππ');+ expect(fitToWidth('π§βπ§βπ§π§βπ§βπ§π§βπ§βπ§', 4)).toBe('β¦π§βπ§βπ§');});