-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(): text dnd #9112
test(): text dnd #9112
Conversation
…ic.js into ci-e2e-rel-imports
abs resolution + default imports
Revert "Update setupApp.ts" This reverts commit 5dcd615.
commit 1849a03 Author: ShaMan123 <[email protected]> Date: Thu Jul 20 01:15:16 2023 +0530 Update playwright.config.ts commit fd4102f Author: ShaMan123 <[email protected]> Date: Wed Jul 19 23:19:45 2023 +0530 Update setupApp.ts Revert "Update setupApp.ts" This reverts commit 5dcd615. commit ec4ac28 Author: ShaMan123 <[email protected]> Date: Wed Jul 19 22:38:04 2023 +0530 fix transforming error commit b7edf37 Merge: 3aaa04b 73fa847 Author: ShaMan123 <[email protected]> Date: Wed Jul 19 22:31:09 2023 +0530 Merge branch 'master' into ci-e2e-rel-imports commit 3aaa04b Author: ShaMan123 <[email protected]> Date: Wed Jul 19 22:23:19 2023 +0530 cleanup commit ced8451 Author: ShaMan123 <[email protected]> Date: Wed Jul 19 17:21:54 2023 +0530 abs resolution + default imports abs resolution + default imports commit 4f7bda2 Author: ShaMan123 <[email protected]> Date: Wed Jul 19 15:08:58 2023 +0530 cleanup commit 47b954f Author: ShaMan123 <[email protected]> Date: Wed Jul 19 14:38:09 2023 +0530 node version - this was supposed to throw commit 6ccd23c Author: ShaMan123 <[email protected]> Date: Wed Jul 19 14:33:35 2023 +0530 try to fix node14 ci error actions/setup-node#214 (comment) npm/npm#19788 commit cb31f22 Author: ShaMan123 <[email protected]> Date: Wed Jul 19 14:09:57 2023 +0530 Update package-lock.json commit 248d0be Author: ShaMan123 <[email protected]> Date: Wed Jul 19 13:59:48 2023 +0530 forgot the setup commit 19e20d3 Merge: b9c0da6 f09a52e Author: ShaMan123 <[email protected]> Date: Wed Jul 19 13:54:49 2023 +0530 Merge branch 'ci-e2e-rel-imports' of https://github.com/fabricjs/fabric.js into ci-e2e-rel-imports commit b9c0da6 Author: ShaMan123 <[email protected]> Date: Wed Jul 19 13:54:25 2023 +0530 extends commit f09a52e Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Date: Wed Jul 19 08:22:08 2023 +0000 update CHANGELOG.md commit 20b9eaa Author: ShaMan123 <[email protected]> Date: Wed Jul 19 13:49:28 2023 +0530 ci(e2e): support relative imports
Build Stats
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- removed
e2e/imports.ts
in favor of a full importmap produced in runtime - made babelrc esm
// we need to fix font diff | ||
process.env.CI && test.fail(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
disabled the error for now
!coverageIgnore.some((ignore) => | ||
pathTo.startsWith(path.resolve(process.cwd(), ignore)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ignoring unnecessary coverage data
I think we can merge this and get back to the font inconsistency |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implemented font caching for perf
I can extract the changes to the test suite to another PR if you want
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
READY
Not touching anymore
@ShaMan123 i'm merging the dnd test but making it font independent. |
great test |
I wish you not delete setupFonts and setupImports |
i didn't delete them, are in a backup branch. setupImports was added to add fontObserver? The test work without the change, so the change wasn't needed. setupFonts wasn't good imho It used google fonts and used fontFaceObserver, and i don't want to use either of them. |
Motivation
Testing the formerly untestable drag and drop feature.
After a lot of hours I finally managed to get it to work.
Eraser is next
Playwright is powerful - it was a very good decision
Description
Changes
e2e/imports.ts
in favor of a full importmap produced in runtimeGist
In Action