Closed etrepum closed 6 days ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
lexical | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 10, 2024 1:32pm |
lexical-playground | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 10, 2024 1:32pm |
Pretty sure the test failure is just a flaky test, I can't repro locally on my mac and the tests succeeded earlier
This is the end of the output of my local CI=true npm run test-e2e-collab-ci-firefox
[1] 1) [firefox] › packages/lexical-playground/__tests__/regression/4697-repeated-table-selection.spec.mjs:21:3 › Regression test #4697 › repeated table selection results in table selection
[1]
[1] Error: expect(received).toEqual(expected) // deep equality
[1]
[1] Expected: 1
[1] Received: 2
[1]
[1] at packages/lexical-playground/__tests__/utils/index.mjs:267
[1]
[1] 265 | }
[1] 266 | if (coordinates.anchor.y !== undefined) {
[1] > 267 | expect(_anchor.y).toEqual(coordinates.anchor.y);
[1] | ^
[1] 268 | }
[1] 269 | }
[1] 270 | if (coordinates.focus) {
[1]
[1] at assertTableSelectionCoordinates (/Users/bob/src/lexical/packages/lexical-playground/__tests__/utils/index.mjs:267:25)
[1] at /Users/bob/src/lexical/packages/lexical-playground/__tests__/regression/4697-repeated-table-selection.spec.mjs:49:5
[1]
[1] Slow test file: [firefox] › packages/lexical-playground/__tests__/e2e/Markdown.spec.mjs (1.6m)
[1] Slow test file: [firefox] › packages/lexical-playground/__tests__/e2e/Tables.spec.mjs (1.5m)
[1] Slow test file: [firefox] › packages/lexical-playground/__tests__/e2e/List.spec.mjs (1.2m)
[1] Slow test file: [firefox] › packages/lexical-playground/__tests__/e2e/Links.spec.mjs (1.1m)
[1] Slow test file: [firefox] › packages/lexical-playground/__tests__/e2e/Navigation.spec.mjs (59.1s)
[1] Consider splitting slow test files to speed up parallel execution
[1] 1 flaky
[1] [firefox] › packages/lexical-playground/__tests__/regression/4697-repeated-table-selection.spec.mjs:21:3 › Regression test #4697 › repeated table selection results in table selection
[1] 79 skipped
[1] 362 passed (4.1m)
[1] npm run test-e2e-collab-firefox exited with code 0
@etrepum ok, I'm ready to get this one through. Rebase to latest main and I'll approve and merge it. Hope your 'ONCL' offer still stands.
@ivailop7 as long as it happens in the morning, afternoon is no longer available. Just rebased.
Which one should be the go to PR, this one or the #6078
@ivailop7 they are the same but I don't know why the checks are not running and created another PR to try and figure it out. They are still not running, I don't know what to do here.
@ivailop7 I don't think it's related to this changeset because it doesn't touch workflows and other PRs from today are affected (#6076, #6077 at least)
@ivailop7 I have updated the links in the PR description to point to the current commits, so you could review it even though the tests are not running. They were all passing before the rebase. I will run them locally as a sanity check.
Unit test suites are passing locally
$ git rev-parse HEAD
58a94e6e8d59343d194bf48d794558a5c6b8ae01
$ npm run test-unit
[…]
Test Suites: 50 passed, 50 total
Tests: 2 skipped, 1367 passed, 1369 total
Snapshots: 0 total
Time: 86.149 s
Ran all test suites.
e2e suite runs with mac+chromium
$ npm run clean && CI=true npm run test-e2e-ci-chromium
[…]
1 flaky
[chromium] › packages/lexical-playground/__tests__/e2e/Links.spec.mjs:1959:3 › Links › Can handle pressing Enter inside a Link containing multiple TextNodes
19 skipped
428 passed (2.0m)
I'll do a prod collab suite next but given the nature of these changes I don't expect that a rename could make a difference to any of that.
@ivailop7 mac collab prod chromium is good to go as well, I have full confidence that there are no new regressions in this rebase.
$ npm run clean && CI=true npm run test-e2e-collab-prod-ci-chromium
[…]
[1] 2 flaky
[1] [chromium] › packages/lexical-playground/__tests__/e2e/Links.spec.mjs:1959:3 › Links › Can handle pressing Enter inside a Link containing multiple TextNodes
[1] [chromium] › packages/lexical-playground/__tests__/e2e/Tables.spec.mjs:1267:3 › Tables › Grid selection: can select multiple cells and insert an image
[1] 65 skipped
[1] 381 passed (2.8m)
ah also ci-check passes
$ npm run ci-check
[…]
$ echo $?
0
@etrepum ok, game time
Description
Newly deprecated APIs (exports still available):
Test Plan
Review notes:
This is a really big PR if you read through the automated stuff. It could be reviewed in pieces:
npm run lint -- --fix
(second commit) - this is completely automated and probably does not need close review{@link $newName}
around deprecations for better typedoc ux, and removes unused markdown partial plugin