Skip to content

Commit 5425110

Browse files
committed
integration test: fix ref image generation
1 parent 30a2618 commit 5425110

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/integration/modules/integration-test/test-case/test-case-result.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ class TestCaseResult {
9797
this.#createImage(this.#testData, '-1new');
9898
}
9999
if (this.#testCaseObj.createImages !== "DISABLED" && !this.#vizzuUrl.includes(VizzuUrl.getRemoteStableBucket())) {
100-
this.#runTestCaseRef(this.#testCaseObj, this.#browserChrome).then(testDataRef => {
100+
let testCaseObj = Object.assign({}, this.#testCaseObj);
101+
testCaseObj.createImages = 'ALL';
102+
this.#runTestCaseRef(testCaseObj, this.#browserChrome).then(testDataRef => {
101103
this.#createImage(testDataRef, '-2ref');
102104
this.#createDifImage(this.#testData, testDataRef);
103105
this.#createTestCaseResultErrorMsg();

0 commit comments

Comments
 (0)