diff --git a/__tests__/html2/part-grouping/folded.skip.html b/__tests__/html2/part-grouping/folded.skip.html index 0a729fc598..a120b0c938 100644 --- a/__tests__/html2/part-grouping/folded.skip.html +++ b/__tests__/html2/part-grouping/folded.skip.html @@ -286,10 +286,14 @@ // 2nd is sent with status not set to show the work is in directLine.emulateIncomingActivity(withCreativeWorkStatus(activities.at(1), undefined)); + await pageConditions.numActivitiesShown(3); + + // When (copilot): opening the group + await host.click(document.querySelector('.collapsible-grouping__toggle')); + // Then: show both activities in the list: // 1st with the loading indicator // 2nd with an empty status indicator - await pageConditions.numActivitiesShown(3); await host.snapshot('local'); // When folding the list: diff --git a/__tests__/html2/part-grouping/index.html b/__tests__/html2/part-grouping/index.html index 80cd5fc2dd..151b8b3d8b 100644 --- a/__tests__/html2/part-grouping/index.html +++ b/__tests__/html2/part-grouping/index.html @@ -347,6 +347,12 @@ // 1st with the loading indicator // 2nd with an empty status indicator await pageConditions.numActivitiesShown(3); + + // When (copilot): opening the group + if (variant === 'copilot') { + await host.click(document.querySelector('.collapsible-grouping__toggle')); + } + await host.snapshot('local'); // When marking the 1st activity as 'Published':