You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tape tests should not call t.end() in async tests. The GC object is no
longer instantiated with the tape context when returning a Promise.
Some of the tests are supposed to be WebGL-only.
@@ -133,9 +134,9 @@ Follow the following procedure to create a new baseline or change an existing ba
133
134
134
135
- Add an invalid baseline (any PNG file) and rename it as the required baseline.
135
136
For example, to create a baseline for `testCylinder.js` copy *testCone.png* to *Sources/Filters/Sources/CylinderSource/test/testCylinder.png*.
136
-
- Run the test as per [Running a single test for debugging](#Running-a-single-test-for-debugging). The test should fail because of the invalid baseline.
137
+
- Run the test as per [Running a single test for debugging](#Running-a-single-test-for-debugging). The test should fail because of the invalid baseline.
137
138
- The test execution creates a file **Utilities/TestResults/Test-Report.html**. Open this in the browser.
138
139
- The file should show the test output versus the invalid baseline image, as well as a diff.
139
140
Right-click on the test output image and save it as the valid baseline.
140
141
- Re-run the test to ensure that it passes with the valid baseline.
141
-
- Commit the baseline image to the git source tree.
142
+
- Commit the baseline image to the git source tree.
0 commit comments