Skip to content

Commit

Permalink
screenshot for visual test
Browse files Browse the repository at this point in the history
  • Loading branch information
diyaayay committed Feb 1, 2024
1 parent 104463a commit a4047af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/unit/visual/cases/webgl.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ visualSuite('WebGL', function() {
});
});

visualSuite('3D Model rendering', function() {
visualSuite('3DModel', function() {
visualTest('OBJ model with MTL file displays diffuse colors correctly', function(p5, screenshot) {
return new Promise(resolve => {
console.log('inside test');
p5.createCanvas(50, 50, p5.WEBGL);
p5.loadModel('unit/assets/octa-color.obj', model => {
p5.background(200);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"numScreenshots": 1
}

0 comments on commit a4047af

Please sign in to comment.