From ae3df1a505ed16d29e524a941078ea28b0a94b3c Mon Sep 17 00:00:00 2001 From: mabela416 Date: Tue, 12 Sep 2023 09:20:18 -0400 Subject: [PATCH] chore: add burnInTestAction capability (#27768) * add burnInTestAction capability * feat: add burn in capability for cloud * chore: fix snapshot for record_spec --- packages/server/lib/cloud/api.ts | 1 + packages/server/test/unit/cloud/api_spec.js | 1 + system-tests/__snapshots__/record_spec.js | 3 ++- system-tests/test/record_spec.js | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/server/lib/cloud/api.ts b/packages/server/lib/cloud/api.ts index 727c8f92dd2e..7da6cf3391fc 100644 --- a/packages/server/lib/cloud/api.ts +++ b/packages/server/lib/cloud/api.ts @@ -37,6 +37,7 @@ const runnerCapabilities = { 'dynamicSpecsInSerialMode': true, 'skipSpecAction': true, 'protocolMountVersion': 2, + 'burnInTestAction': true, } let responseCache = {} diff --git a/packages/server/test/unit/cloud/api_spec.js b/packages/server/test/unit/cloud/api_spec.js index b92156dac52f..691fdba882e0 100644 --- a/packages/server/test/unit/cloud/api_spec.js +++ b/packages/server/test/unit/cloud/api_spec.js @@ -559,6 +559,7 @@ describe('lib/cloud/api', () => { 'protocolMountVersion': 2, 'dynamicSpecsInSerialMode': true, 'skipSpecAction': true, + 'burnInTestAction': true, }, } }) diff --git a/system-tests/__snapshots__/record_spec.js b/system-tests/__snapshots__/record_spec.js index a592cf617c90..f47345f3e799 100644 --- a/system-tests/__snapshots__/record_spec.js +++ b/system-tests/__snapshots__/record_spec.js @@ -2368,7 +2368,8 @@ Request Sent: "runnerCapabilities": { "dynamicSpecsInSerialMode": true, "skipSpecAction": true, - "protocolMountVersion": 2 + "protocolMountVersion": 2, + "burnInTestAction": true } } diff --git a/system-tests/test/record_spec.js b/system-tests/test/record_spec.js index 6bbdf75c937f..7634ca4e87c4 100644 --- a/system-tests/test/record_spec.js +++ b/system-tests/test/record_spec.js @@ -730,6 +730,7 @@ describe('e2e record', () => { 'dynamicSpecsInSerialMode': true, 'protocolMountVersion': 2, 'skipSpecAction': true, + 'burnInTestAction': true, }) })