Skip to content

Commit cc9bd78

Browse files
committed
Ignore 'renderableContent.info.references' changes when doing test results copy
1 parent 56d144f commit cc9bd78

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

server/util/aria.js

+6-4
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,14 @@ const testWithModifiedAttributes = (test, { forUpdateCompare }) => {
2222
// the assertionStatement, assertionPhrase, settings or instructions content
2323
// being changed
2424
if (forUpdateCompare) {
25-
// Don't factor in settings and instructions changes during update
26-
// eligibility in the case where ONLY the instructions has changed,
27-
// so that the updated instructions or settings are shown when the
28-
// copy process happens
25+
// Don't factor in settings, instructions and references changes for
26+
// update eligibility in the case where ONLY the settings, instructions or
27+
// references has changed.
28+
// The updated settings, instructions or references should be shown when
29+
// the copy process is done
2930
propertiesToOmit.push('renderableContent.target.at.settings');
3031
propertiesToOmit.push('renderableContent.instructions');
32+
propertiesToOmit.push('renderableContent.info.references');
3133
// for v1 format since structure is:
3234
// { ..., renderableContent: { 1: ..., 2: ... }, ... }
3335
for (let key in test.renderableContent) {

0 commit comments

Comments
 (0)