Skip to content

Type 2.0

Type 2.0 #5022

Triggered via pull request November 4, 2024 19:07
@dhowedhowe
synchronize #7356
dhowe:type-2.0
Status Failure
Total duration 1m 50s
Artifacts

ci-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 warnings
test/unit/typography/attributes.js > Typography Attributes > p5.prototype.textWrap > returns textWrap text attribute: test/unit/typography/attributes.js#L70
AssertionError: expected p5{ _setupDone: true, …(32) } to equal 'WORD' - Expected: "WORD" + Received: p5 { "_accessibleOutputs": Object { "grid": false, "gridLabel": false, "text": false, "textLabel": false, }, "_bezierDetail": 20, "_colorMaxes": Object { "hsb": Array [ 360, 100, 100, 1, ], "hsl": Array [ 360, 100, 100, 1, ], "rgb": Array [ 255, 255, 255, 255, ], }, "_colorMode": "rgb", "_curElement": Renderer2D { "_cachedBlendMode": "source-over", "_cachedFillStyle": "#FFFFFF", "_cachedStrokeStyle": "#000000", "_clipInvert": false, "_clipping": false, "_curveTightness": 0, "_events": Object {}, "_isMainCanvas": true, "_pInst": [Circular], "_pixelDensity": 1, "_pushPopDepth": 0, "_pushPopStack": Array [], "canvas": <canvas class="p5Canvas" height="100" id="defaultCanvas0" style="width: 100px; height: 100px;" width="100" />, "drawingContext": CanvasRenderingContext2D {}, "elt": <canvas class="p5Canvas" height="100" id="defaultCanvas0" style="width: 100px; height: 100px;" width="100" />, "height": 100, "pixels": Array [], "states": Object { "doFill": true, "doStroke": true, "ellipseMode": "center", "fillSet": false, "imageMode": "corner", "leadingSet": true, "rectMode": "corner", "strokeSet": false, "textAlign": "left", "textBaseline": "alphabetic", "textFont": "sans-serif", "textHeight": "normal", "textLeading": -20, "textSize": 24, "textStretch": "normal", "textStyle": "italic", "textVariant": "normal", "textWeight": "normal", "textWrap": "WORD", "tint": null, }, "width": 100, "wrappedElt": Element { "_events": Object {}, "_pInst": [Circular], "_pixelsState": [Circular], "elt": <canvas class="p5Canvas" height="100" id="defaultCanvas0" style="width: 100px; height: 100px;" width="100" />, "height": 100, "width": 100, }, }, "_curveDetail": 20, "_defaultGraphicsCreated": true, "_downKeys": Object {}, "_elements": Array [ Renderer2D { "_cachedBlendMode": "source-over", "_cachedFillStyle": "#FFFFFF", "_cachedStrokeStyle": "#000000", "_clipInvert": false, "_clipping": false, "_curveTightness": 0, "_events": Object {}, "_isMainCanvas": true, "_pInst": [Circular], "_pixelDensity": 1, "_pushPopDepth": 0, "_pushPopStack": Array [], "canvas": <canvas class="p5Canvas" height="100" id="defaultCanvas0" style="width: 100px; height: 100px;" width="100" />, "drawingContext": CanvasRenderingContext2D {}, "elt": <canvas class="p5Canvas" height="100" id="defaultCanvas0" style="width: 100px; height: 100px;" width="100" />, "height": 100, "pixels": Array [], "states": Object { "doFill": true, "doStroke": true, "ellipseMode": "center", "fillSet": false, "imageMode": "corner", "leadingSet": true, "rectMode": "corner", "strokeSet": false, "textAlign": "left", "textBaseline": "alphabetic", "textFont": "sans-serif", "textHeight": "normal", "textLeading": -20, "textSize": 24, "textStretch": "normal", "textStyle": "italic", "textVariant": "normal", "textWeight": "normal", "textWrap": "WORD", "tint": null, }, "width": 100, "wrappedElt": Element { "_events": Object {}, "_pInst": [Circular], "_pixelsState": [Circular], "elt": <canvas class="p5Canvas" height="100" id="defaultCanvas0" style="width: 100px; height: 100px;"
test/unit/typography/loadFont.js > Loading Displaying Fonts > p5.prototype.textFont > sets the current font as Georgia: test/unit/typography/loadFont.js#L130
AssertionError: expected '12px Georgia' to equal 'Georgia' Expected: "Georgia" Received: "12px Georgia" ❯ test/unit/typography/loadFont.js:130:14
test/unit/typography/loadFont.js > Loading Displaying Fonts > p5.prototype.textFont > sets the current font as Helvetica: test/unit/typography/loadFont.js#L135
AssertionError: expected '12px Helvetica' to equal 'Helvetica' Expected: "Helvetica" Received: "12px Helvetica" ❯ test/unit/typography/loadFont.js:135:14
test/unit/typography/loadFont.js > Loading Displaying Fonts > p5.prototype.textFont > sets the current font and text size: test/unit/typography/loadFont.js#L140
AssertionError: expected '24px "Courier New"' to equal 'Courier New' Expected: "Courier New" Received: "24px "Courier New"" ❯ test/unit/typography/loadFont.js:140:14
test
Process completed with exit code 1.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/