Skip to content

Commit d544503

Browse files
committed
fix: Change result of reorder test
1 parent a59d000 commit d544503

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

src/collection-preferences/content-display/__integ__/content-display-groups.test.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ describe('Collection preferences - Grouped Content Display', () => {
2828
const modal = page.wrapper.findModal().findContentDisplayPreference();
2929
const options = modal.findOptions();
3030

31+
// findLabel() on group items returns the first nested child's label
3132
expect(await page.getOptionLabels(options, 6)).toEqual([
3233
'Instance ID',
3334
'Name',
34-
'Configuration',
35-
'Performance',
36-
'Network',
35+
'Instance type',
36+
'CPU (%)',
37+
'Network in (MB/s)',
3738
'Monthly cost ($)',
3839
]);
3940

@@ -45,9 +46,9 @@ describe('Collection preferences - Grouped Content Display', () => {
4546
expect(await page.getOptionLabels(options, 6)).toEqual([
4647
'Name',
4748
'Instance ID',
48-
'Configuration',
49-
'Performance',
50-
'Network',
49+
'Instance type',
50+
'CPU (%)',
51+
'Network in (MB/s)',
5152
'Monthly cost ($)',
5253
]);
5354
})

0 commit comments

Comments
 (0)