Skip to content

Commit f522ff6

Browse files
committed
[O2B-1536] Update tests to expect 'Anonymous' author
Adjust expectations to include displayed author 'Anonymous' on a new line.
1 parent 5578d92 commit f522ff6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/public/runs/detail.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,10 @@ module.exports = () => {
208208

209209
expect(eorReasons).to.lengthOf(2);
210210
expect(await eorReasons[0].evaluate((element) => element.innerText))
211-
.to.equal('DETECTORS - TPC - Some Reason other than selected plus one');
211+
.to.equal('DETECTORS - TPC - Some Reason other than selected plus one\nAnonymous');
212212

213213
expect(await eorReasons[1].evaluate((element) => element.innerText))
214-
.to.equal('DETECTORS - CPV - A new EOR reason');
214+
.to.equal('DETECTORS - CPV - A new EOR reason\nAnonymous');
215215
});
216216

217217
it('should successfully revert the update end of run reasons', async () => {
@@ -234,10 +234,10 @@ module.exports = () => {
234234

235235
expect(eorReasons).to.lengthOf(2);
236236
expect(await eorReasons[0].evaluate((element) => element.innerText))
237-
.to.equal('DETECTORS - TPC - Some Reason other than selected plus one');
237+
.to.equal('DETECTORS - TPC - Some Reason other than selected plus one\nAnonymous');
238238

239239
expect(await eorReasons[1].evaluate((element) => element.innerText))
240-
.to.equal('DETECTORS - CPV - A new EOR reason');
240+
.to.equal('DETECTORS - CPV - A new EOR reason\nAnonymous');
241241
});
242242

243243
it('should successfully update inelasticInteractionRate values of PbPb run', async () => {

0 commit comments

Comments
 (0)