-
-
Notifications
You must be signed in to change notification settings - Fork 635
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
Remove CJK browser test #3162
Remove CJK browser test #3162
Conversation
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3162 +/- ##
=======================================
Coverage 75.09% 75.09%
=======================================
Files 240 240
Lines 19150 19150
Branches 4323 4323
=======================================
Hits 14380 14380
Misses 4770 4770 ☔ View full report in Codecov by Sentry. |
test('Marker: correct position', async () => { | ||
const markerScreenPosition = await page.evaluate(() => { | ||
const markerMapPosition = [11.40, 47.30]; | ||
const markerMapPosition = [11.40, 47.30] as [number, number]; |
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.
Maybe this doesn't matter, but I would usually prefer to write this as follows to avoid a "cast":
const markerMapPosition: [number, number] = [11.40, 47.30];
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.
Looks good to me. One minor comment, but feel free to ignore :-)
* Port CJK browser test to render test [#3006, #3162] * add platform-specific expected images for local ideographs render test. [#3166] * Ubuntu expected is tofu * github actions ubuntu runner: apt install CJK fonts for render tests [#3166] * Commit expected Ubuntu local ideographs image with noto fonts installed from apt [#3166]
This removes the CJK test - the png parse was never observed, the diff was too strict and using base64 text isn't a great way to see what is the expected images.
In the past the render test were ran in node, but now they are running in the browser, so this test is not needed anymore.