Skip to content

Commit aeadaaa

Browse files
committed
testRun. comment copied for new test run
1 parent b962b3a commit aeadaaa

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/test-runs/test-runs.service.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ describe('TestRunsService', () => {
195195
viewport: 'viewport',
196196
device: 'device',
197197
ignoreAreas: '[]',
198+
comment: 'some comment',
198199
createdAt: new Date(),
199200
updatedAt: new Date(),
200201
};
@@ -253,6 +254,7 @@ describe('TestRunsService', () => {
253254
viewport: testVariation.viewport,
254255
baselineName: testVariation.baselineName,
255256
ignoreAreas: testVariation.ignoreAreas,
257+
comment: testVariation.comment,
256258
diffTollerancePercent: createTestRequestDto.diffTollerancePercent,
257259
status: TestStatus.new,
258260
},

src/test-runs/test-runs.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ export class TestRunsService {
125125
viewport: testVariation.viewport,
126126
baselineName: testVariation.baselineName,
127127
ignoreAreas: testVariation.ignoreAreas,
128+
comment: testVariation.comment,
128129
diffTollerancePercent: createTestRequestDto.diffTollerancePercent,
129130
status: TestStatus.new,
130131
},

0 commit comments

Comments
 (0)