Skip to content

Commit bac071d

Browse files
committed
test: fix smoke test for legacySPASupport
1 parent 215d4c2 commit bac071d

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

smoke/smoke-test-application-CDN/smoke.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
'content-type': 'application/json'
4141
},
4242
useBeacon: false,
43-
releaseId: '2.1.7'
43+
releaseId: '2.1.7',
44+
legacySPASupport: true
4445
});
4546
</script>
4647

smoke/smoke-test-application-CDN/smoke_w3c_format_enabled.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
},
4242
useBeacon: false,
4343
releaseId: '2.1.7',
44-
enableW3CTraceId: true
44+
enableW3CTraceId: true,
45+
legacySPASupport: true
4546
});
4647
</script>
4748

smoke/smoke-test-application-NPM-ES/src/loader-npm-rum-2.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ try {
1515
unique: true
1616
},
1717
useBeacon: false,
18-
releaseId: '2.1.7'
18+
releaseId: '2.1.7',
19+
legacySPASupport: true
1920
};
2021

2122
const APPLICATION_ID: string = $MONITOR_ID_2;

smoke/smoke-test-application-NPM-ES/src/loader-npm-rum-w3c-format-enabled.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ try {
2222
'content-type': 'application/json'
2323
},
2424
useBeacon: false,
25-
enableW3CTraceId: true
25+
enableW3CTraceId: true,
26+
legacySPASupport: true
2627
};
2728

2829
const APPLICATION_ID: string = $MONITOR_ID;

smoke/smoke-test-application-NPM-ES/src/loader-npm-rum.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ try {
2222
'content-type': 'application/json'
2323
},
2424
useBeacon: false,
25-
releaseId: '2.1.7'
25+
releaseId: '2.1.7',
26+
legacySPASupport: true
2627
};
2728

2829
const APPLICATION_ID: string = $MONITOR_ID;

src/loader/loader-page-event.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ loader('cwr', 'abc123', '1.0', 'us-west-2', './rum_javascript_telemetry.js', {
77
telemetries: [],
88
pagesToInclude: [/\/(page_event.html|page_view_one|page_view_two)/],
99
pagesToExclude: [/\/page_view_do_not_record/],
10-
clientBuilder: showRequestClientBuilder
10+
clientBuilder: showRequestClientBuilder,
11+
legacySPASupport: true
1112
});
1213
window.cwr('setAwsCredentials', {
1314
accessKeyId: 'a',

0 commit comments

Comments
 (0)