test(editor): include File Color in tab menu groups (#6280)

The editor tab menu gained a File Color group in #6105. The layout test still expected Copy Path/Reference in that position and compared four groups, so it failed before it could check splitting and pinning. Include File Color and compare all five original and new groups in order.

Co-authored-by: principalwater <[email protected]>
Цей коміт міститься в:
Vladislav Kuzmin authored and GitHub committed 2026-11-27 10:34:38 +08:00
1 джерело b44015b2ce
коміт bd1fd011e4
1 file changed
+2 -1
+2 -1
Переглянути файл
@@ -23,7 +23,7 @@ test("file tab actions are grouped around the tab the menu was opened from", asy
}
return groups;
});
expect(groups.slice(0, 4)).toEqual([
expect(groups.slice(0, 5)).toEqual([
[
"Close",
"Close Other Tabs",
@@ -32,6 +32,7 @@ test("file tab actions are grouped around the tab the menu was opened from", asy
"Close Tabs to the Left",
"Close Tabs to the Right",
],
["File Color"],
["Copy Path/Reference…"],
["Split Right", "Split and Move Right", "Split Down", "Split and Move Down"],
["Pin Tab", "Open in New Window", "Configure Editor Tabs…"],