Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion __tests__/html2/part-grouping/folded.skip.html
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions __tests__/html2/part-grouping/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down