Skip to content

[p5.js 2.0 Bug Report]: Visual Tests Failed #7823

Open
@pnngocdoan

Description

@pnngocdoan

Most appropriate sub-area of p5.js?

  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)

p5.js version

No response

Web browser and version

No response

Operating system

No response

Steps to reproduce this

Steps:

  1. When running npx vitest run the textWeight visual test failed:
FAIL |unit|  test/unit/visual/cases/typography.js > Typography > textWeight > can control non-variable fonts > matches expected screenshots
Error: Screenshots do not match! 

  1. However, when I ran that test alone npx vitest run -t 'textWeight', some time it passed some time not:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Open for Discussion

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions