Skip to content

armgit / cra

Public Imported from GitHub
0

The open-source Arc replacement for macOS. Spaces, pinned tabs, split view, Little Windows and Arc's shortcuts on Chromium, with your Arc sidebar imported in one go.

Pin the shipped extension and developer-mode issues with locked tests

Victorf077cbad61c8
diff --git a/Packages/CraCore/Tests/CraCoreTests/ExtensionActionStateTests.swift b/Packages/CraCore/Tests/CraCoreTests/ExtensionActionStateTests.swift
index 01a0659..6c23a7d 100644
--- a/Packages/CraCore/Tests/CraCoreTests/ExtensionActionStateTests.swift
+++ b/Packages/CraCore/Tests/CraCoreTests/ExtensionActionStateTests.swift
@@ -14,7 +14,8 @@ struct ExtensionActionStateTests {
state: ExtensionActionState(icon: icon, title: title))
}
- @Test func decodesTheEvent() throws {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/106"))
+ func decodesTheEvent() throws {
let u = try #require(ExtensionActionUpdate(params: Self.params([
"id": "abc", "profile": "Profile 1", "targetId": "T1",
"icon": "data:image/png;base64," + Self.png.base64EncodedString(),
@@ -27,7 +28,8 @@ struct ExtensionActionStateTests {
badgeTextColor: "#FFFFFFFF"))
}
- @Test func everyTabEventHasNoTarget() throws {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/106"))
+ func everyTabEventHasNoTarget() throws {
let u = try #require(ExtensionActionUpdate(params: Self.params(["id": "abc", "profile": "Default", "icon": ""])))
#expect(u.targetID == nil)
#expect(u.state.isEmpty)
@@ -63,7 +65,8 @@ struct ExtensionActionStateTests {
#expect(ExtensionActionStates().state(extensionID: "ext", profile: "Default", tab: UUID()).isEmpty)
}
- @Test func everyTabValueAppliesToEachTabInItsProfile() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/106"))
+ func everyTabValueAppliesToEachTabInItsProfile() {
var s = ExtensionActionStates()
s.apply(Self.update(icon: Self.png), tab: nil)
#expect(s.state(extensionID: "ext", profile: "Default", tab: UUID()).icon == Self.png)
@@ -73,7 +76,8 @@ struct ExtensionActionStateTests {
#expect(s.state(extensionID: "other", profile: "Default", tab: nil).icon == nil)
}
- @Test func aTabsOwnValueWinsValueByValue() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/106"))
+ func aTabsOwnValueWinsValueByValue() {
var s = ExtensionActionStates()
let tab = UUID(), elsewhere = UUID()
s.apply(Self.update(icon: Self.png, title: "On"), tab: nil)
@@ -86,7 +90,8 @@ struct ExtensionActionStateTests {
#expect(s.state(extensionID: "ext", profile: "Default", tab: tab) == ExtensionActionState(icon: Self.other, title: "Paused"))
}
- @Test func aNavigationThatClearsTheTabFallsBack() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/106"))
+ func aNavigationThatClearsTheTabFallsBack() {
var s = ExtensionActionStates()
let tab = UUID()
s.apply(Self.update(icon: Self.png), tab: nil)
@@ -100,14 +105,16 @@ struct ExtensionActionStateTests {
}())
}
- @Test func anEmptyEveryTabStateGoesBackToTheManifest() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/106"))
+ func anEmptyEveryTabStateGoesBackToTheManifest() {
var s = ExtensionActionStates()
s.apply(Self.update(icon: Self.png), tab: nil)
s.apply(Self.update(), tab: nil)
#expect(s == ExtensionActionStates())
}
- @Test func closedTabsAreForgotten() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/106"))
+ func closedTabsAreForgotten() {
var s = ExtensionActionStates()
let open = UUID(), closed = UUID()
s.apply(Self.update(target: "A", icon: Self.png), tab: open)
diff --git a/Packages/CraCore/Tests/CraCoreTests/ExtensionBadgeTests.swift b/Packages/CraCore/Tests/CraCoreTests/ExtensionBadgeTests.swift
index 47ae2bf..7885949 100644
--- a/Packages/CraCore/Tests/CraCoreTests/ExtensionBadgeTests.swift
+++ b/Packages/CraCore/Tests/CraCoreTests/ExtensionBadgeTests.swift
@@ -10,11 +10,13 @@ struct ExtensionBadgeTests {
defaultBackground: grey) { _ in width }
}
- @Test func noTextNoBadge() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/106"))
+ func noTextNoBadge() {
#expect(Self.badge("", color: "#FB8C00FF", width: 0) == nil)
}
- @Test func fortyTwoMatchesArc() throws {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/106"))
+ func fortyTwoMatchesArc() throws {
// Arc 1.171: "42" on a 16 pt icon is 8 × 7 pt, 1 pt in from the icon's bottom right.
let b = try #require(Self.badge("42", color: "#FB8C00FF", width: 10.6))
#expect(b.frame == CGRect(x: 7, y: 8, width: 8, height: 7))
@@ -23,7 +25,7 @@ struct ExtensionBadgeTests {
#expect(b.cutoutCornerRadius == 1.5)
}
- @Test(arguments: [
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/106"), arguments: [
// Never narrower than tall.
(3.0, CGRect(x: 8, y: 8, width: 7, height: 7)),
// Odd widths are made even, like the 28 pt icon area.
@@ -37,7 +39,8 @@ struct ExtensionBadgeTests {
#expect(try #require(Self.badge("x", width: textWidth)).frame == frame)
}
- @Test func textContrastsWithTheBackground() throws {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/106"))
+ func textContrastsWithTheBackground() throws {
// Orange is light: Google Grey 900 text, as in Arc's capture.
#expect(try #require(Self.badge("1", color: "#FB8C00FF", width: 5)).textColor == ExtensionBadge.RGBA(hex: "#202124"))
#expect(try #require(Self.badge("1", color: "#1A73E8FF", width: 5)).textColor == ExtensionBadge.RGBA(r: 1, g: 1, b: 1))
@@ -46,7 +49,8 @@ struct ExtensionBadgeTests {
== ExtensionBadge.RGBA(r: 1, g: 1, b: 1))
}
- @Test func backgroundIsOpaqueOrTheDefault() throws {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/106"))
+ func backgroundIsOpaqueOrTheDefault() throws {
#expect(try #require(Self.badge("1", color: "#FF000080", width: 5)).background == ExtensionBadge.RGBA(r: 1, g: 0, b: 0))
// Unset reaches Cra as transparent black.
#expect(try #require(Self.badge("1", color: "#00000000", width: 5)).background == Self.grey)
diff --git a/Packages/CraCore/Tests/CraCoreTests/ExtensionPagePlacementTests.swift b/Packages/CraCore/Tests/CraCoreTests/ExtensionPagePlacementTests.swift
index 67ab60a..d244c9f 100644
--- a/Packages/CraCore/Tests/CraCoreTests/ExtensionPagePlacementTests.swift
+++ b/Packages/CraCore/Tests/CraCoreTests/ExtensionPagePlacementTests.swift
@@ -13,13 +13,15 @@ struct ExtensionPagePlacementTests {
let tabInA = UUID(), tabInB = UUID(), tabInWork = UUID()
/// Arc: options open in space A, asked for again from space B, selects the tab in A.
- @Test func openInAnotherSpaceOfTheProfileIsSelected() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/38"), .bug("https://github.com/VictorKildahl/cra/issues/107"))
+ func openInAnotherSpaceOfTheProfileIsSelected() {
let t = P.target(focused: b, spaces: [a, b, work], profile: "Default",
openTabs: [(tabInA, a.id)], singleton: true)
#expect(t == .select(tab: tabInA))
}
- @Test func openInThisSpaceWins() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/38"), .bug("https://github.com/VictorKildahl/cra/issues/107"))
+ func openInThisSpaceWins() {
let t = P.target(focused: b, spaces: [a, b], profile: nil,
openTabs: [(tabInA, a.id), (tabInB, b.id)], singleton: true)
#expect(t == .select(tab: tabInB))
@@ -27,7 +29,8 @@ struct ExtensionPagePlacementTests {
/// The report: Work (its own profile) asked, and the options tab open in a Default space
/// pulled the window there, showing the Default profile's copy of the extension.
- @Test func anotherProfilesTabIsNeverReused() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/107"))
+ func anotherProfilesTabIsNeverReused() {
#expect(P.target(focused: work, spaces: [a, b, work], profile: nil,
openTabs: [(tabInA, a.id)], singleton: true) == .create(inSpace: work.id))
#expect(P.target(focused: a, spaces: [a, b, work], profile: nil,
@@ -35,13 +38,15 @@ struct ExtensionPagePlacementTests {
}
/// chrome.tabs.create and welcome pages always get a tab of their own.
- @Test func otherPagesAlwaysOpenANewTab() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/107"))
+ func otherPagesAlwaysOpenANewTab() {
let t = P.target(focused: b, spaces: [a, b], profile: nil, openTabs: [(tabInB, b.id)], singleton: false)
#expect(t == .create(inSpace: b.id))
}
/// Another profile's extension copy asked: its page loads in a space on that profile.
- @Test func anotherProfilesPageGoesToItsSpace() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/107"))
+ func anotherProfilesPageGoesToItsSpace() {
#expect(P.target(focused: a, spaces: [a, b, work], profile: "Profile 1", openTabs: [], singleton: true)
== .create(inSpace: work.id))
#expect(P.target(focused: a, spaces: [a, b, work], profile: "Profile 1",
@@ -49,12 +54,14 @@ struct ExtensionPagePlacementTests {
}
/// The page's profile has no space left: the space in front, as before.
- @Test func profileWithoutASpaceUsesTheFocusedOne() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/107"))
+ func profileWithoutASpaceUsesTheFocusedOne() {
#expect(P.target(focused: a, spaces: [a, b], profile: "Profile 9", openTabs: [], singleton: true) == .create(inSpace: a.id))
}
/// An incognito window never selects a normal tab (it can't show one).
- @Test func incognitoKeepsToItsOwnSpace() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/107"))
+ func incognitoKeepsToItsOwnSpace() {
#expect(P.target(focused: incognito, spaces: [a, b], profile: nil,
openTabs: [(tabInA, a.id)], singleton: true) == .create(inSpace: incognito.id))
}
diff --git a/Packages/CraCore/Tests/CraCoreTests/ExtensionPageRetryTests.swift b/Packages/CraCore/Tests/CraCoreTests/ExtensionPageRetryTests.swift
index c47c22d..21cdc36 100644
--- a/Packages/CraCore/Tests/CraCoreTests/ExtensionPageRetryTests.swift
+++ b/Packages/CraCore/Tests/CraCoreTests/ExtensionPageRetryTests.swift
@@ -7,14 +7,16 @@ struct ExtensionPageRetryTests {
let options = "chrome-extension://abcdefghijklmnopabcdefghijklmnop/options.html#general"
let on: (String) -> Bool = { _ in true }
- @Test func retriesWithGrowingWaits() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/107"))
+ func retriesWithGrowingWaits() {
let waits = (0..<ExtensionPageRetry.attempts).map { ExtensionPageRetry.delay(url: options, errorCode: -20, attempt: $0, isOn: on) }
#expect(waits == [0.25, 0.5, 1, 2, 4, 4])
#expect(ExtensionPageRetry.delay(url: options, errorCode: -20, attempt: ExtensionPageRetry.attempts, isOn: on) == nil)
}
/// Off or removed in the tab's profile: Chromium's error page stays.
- @Test func extensionThatIsOffIsNotRetried() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/107"))
+ func extensionThatIsOffIsNotRetried() {
var asked: [String] = []
let off: (String) -> Bool = { asked.append($0); return false }
#expect(ExtensionPageRetry.delay(url: options, errorCode: -20, attempt: 0, isOn: off) == nil)
diff --git a/Packages/CraCore/Tests/CraCoreTests/ExtensionProxyControlTests.swift b/Packages/CraCore/Tests/CraCoreTests/ExtensionProxyControlTests.swift
index 2dc6e3a..ee9129c 100644
--- a/Packages/CraCore/Tests/CraCoreTests/ExtensionProxyControlTests.swift
+++ b/Packages/CraCore/Tests/CraCoreTests/ExtensionProxyControlTests.swift
@@ -14,7 +14,8 @@ struct ExtensionProxyControlTests {
static let fixed: [String: Any] = ["mode": "fixed_servers", "server": "proxy.corp.example:3128", "bypass_list": "<local>"]
/// The most recently installed or updated one wins; the other is overridden.
- @Test func latestInstallWins() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/107"))
+ func latestInstallWins() {
let settings: [String: Any] = [
"zeroomega": Self.ext("13400000000000000", proxy: Self.pac),
"otherproxy": Self.ext("13400000000000500", proxy: Self.fixed),
@@ -28,7 +29,8 @@ struct ExtensionProxyControlTests {
}
/// A turned-off or uninstalled extension's leftover pref does not count.
- @Test func onlyEnabledExtensionsCount() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/107"))
+ func onlyEnabledExtensionsCount() {
let settings: [String: Any] = [
"a": Self.ext("100", proxy: Self.pac),
"b": Self.ext("200", proxy: Self.fixed),
@@ -38,19 +40,21 @@ struct ExtensionProxyControlTests {
}
/// Chromium's map walks IDs in order and a later equal time takes over.
- @Test func tieGoesToTheLaterID() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/107"))
+ func tieGoesToTheLaterID() {
let settings: [String: Any] = ["aaa": Self.ext("100", proxy: Self.pac), "bbb": Self.ext("100", proxy: Self.fixed)]
#expect(ExtensionProxyControl.controllers(settings: settings, enabled: ["aaa", "bbb"]).first?.extensionID == "bbb")
}
/// chrome.proxy.settings.set with scope "regular_only".
- @Test func regularOnlyScopeCounts() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/107"))
+ func regularOnlyScopeCounts() {
let settings: [String: Any] = ["a": Self.ext("100", proxy: Self.fixed, key: "regular_only_preferences"),
"b": Self.ext("50", proxy: Self.pac, key: "incognito_preferences")]
#expect(ExtensionProxyControl.controllers(settings: settings, enabled: ["a", "b"]).map(\.extensionID) == ["a"])
}
- @Test(arguments: [
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/107"), arguments: [
(["mode": "direct"], "direct"),
(["mode": "system"], "system"),
(["mode": "auto_detect"], "auto_detect"),
diff --git a/Packages/CraCore/Tests/CraCoreTests/FirstClickTests.swift b/Packages/CraCore/Tests/CraCoreTests/FirstClickTests.swift
index 75d81ee..5075fe9 100644
--- a/Packages/CraCore/Tests/CraCoreTests/FirstClickTests.swift
+++ b/Packages/CraCore/Tests/CraCoreTests/FirstClickTests.swift
@@ -4,17 +4,20 @@ import Testing
/// Which clicks the browser window's buttons take while focus is somewhere else.
struct FirstClickTests {
/// After a click in DevTools or the page, one click on a toolbar button counts (GitHub #42).
- @Test func focusInTheWindowOrItsChildren() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/42"))
+ func focusInTheWindowOrItsChildren() {
#expect(FirstClick.takes(appActive: true, focusInWindow: true, closedPopup: false))
}
/// The click that takes focus from an extension's popup only closes it, as in Arc: the
/// popup's own button does not open it again (GitHub #87).
- @Test func closingAPopupIsAllTheClickDoes() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/87"))
+ func closingAPopupIsAllTheClickDoes() {
#expect(!FirstClick.takes(appActive: true, focusInWindow: true, closedPopup: true))
}
- @Test func otherwiseTheClickOnlyFocuses() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/42"))
+ func otherwiseTheClickOnlyFocuses() {
#expect(!FirstClick.takes(appActive: false, focusInWindow: true, closedPopup: false))
#expect(!FirstClick.takes(appActive: true, focusInWindow: false, closedPopup: false))
}
diff --git a/Packages/CraCore/Tests/CraCoreTests/ModelFixtureTests.swift b/Packages/CraCore/Tests/CraCoreTests/ModelFixtureTests.swift
index e66b578..c1313b2 100644
--- a/Packages/CraCore/Tests/CraCoreTests/ModelFixtureTests.swift
+++ b/Packages/CraCore/Tests/CraCoreTests/ModelFixtureTests.swift
@@ -132,7 +132,7 @@ struct ModelFixtureTests {
#expect(empty.choosing(.webKit, for: "https://www.viaplay.dk/").added == ["www.viaplay.dk"])
}
- @Test(arguments: ["pinned-extensions.json", "pinned-extensions-profiles.json"])
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/107"), arguments: ["pinned-extensions.json", "pinned-extensions-profiles.json"])
func pinnedExtensionsLoadAsRecorded(name: String) throws {
let (loaded, recorded) = try Self.load(name, as: PinnedExtensions.self)
#expect(loaded == recorded)
diff --git a/Packages/CraCore/Tests/CraCoreTests/PinnedExtensionsTests.swift b/Packages/CraCore/Tests/CraCoreTests/PinnedExtensionsTests.swift
index a1d3282..07fb49b 100644
--- a/Packages/CraCore/Tests/CraCoreTests/PinnedExtensionsTests.swift
+++ b/Packages/CraCore/Tests/CraCoreTests/PinnedExtensionsTests.swift
@@ -5,7 +5,8 @@ import Testing
/// Pinned extensions belong to a profile, like Arc's (GitHub #107).
struct PinnedExtensionsTests {
/// The list Cra kept before #107 serves every profile until one changes its own.
- @Test func oldListServesEveryProfile() throws {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/107"))
+ func oldListServesEveryProfile() throws {
let pins = try JSONDecoder().decode(PinnedExtensions.self, from: Data(#"["a","b"]"#.utf8))
#expect(pins.ids(inProfile: "Default") == ["a", "b"])
#expect(pins.ids(inProfile: "Profile 1") == ["a", "b"])
@@ -13,7 +14,8 @@ struct PinnedExtensionsTests {
#expect(String(decoding: try JSONEncoder().encode(pins), as: UTF8.self) == #"["a","b"]"#)
}
- @Test func pinningInOneProfileLeavesTheOthers() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/107"))
+ func pinningInOneProfileLeavesTheOthers() {
var pins = PinnedExtensions(shared: ["a", "b"])
pins.setPinned("c", true, inProfile: "Profile 1")
pins.setPinned("a", false, inProfile: "Profile 1")
@@ -23,7 +25,8 @@ struct PinnedExtensionsTests {
#expect(!pins.isPinned("c", inProfile: "Default"))
}
- @Test func noChangeKeepsTheSharedList() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/107"))
+ func noChangeKeepsTheSharedList() {
var pins = PinnedExtensions(shared: ["a"])
pins.setPinned("a", true, inProfile: "Default")
pins.setPinned("z", false, inProfile: "Default")
@@ -31,7 +34,8 @@ struct PinnedExtensionsTests {
#expect(pins.profiles.isEmpty)
}
- @Test func moveReordersOneProfile() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/107"))
+ func moveReordersOneProfile() {
var pins = PinnedExtensions(shared: ["a", "b", "c"])
pins.move("c", to: 0, inProfile: "Default")
pins.move("a", to: 99, inProfile: "Default")
@@ -39,13 +43,15 @@ struct PinnedExtensionsTests {
#expect(pins.ids(inProfile: "Profile 2") == ["a", "b", "c"])
}
- @Test func removedExtensionsLeaveEveryList() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/107"))
+ func removedExtensionsLeaveEveryList() {
var pins = PinnedExtensions(shared: ["a", "b"], profiles: ["Profile 1": ["b", "c"]])
pins.removeAll { $0 == "b" }
#expect(pins == PinnedExtensions(shared: ["a"], profiles: ["Profile 1": ["c"]]))
}
- @Test func profileListsRoundTrip() throws {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/107"))
+ func profileListsRoundTrip() throws {
let pins = PinnedExtensions(shared: ["a"], profiles: ["Default": [], "Profile 1": ["c", "a"]])
let data = try JSONEncoder().encode(pins)
#expect(try JSONDecoder().decode(PinnedExtensions.self, from: data) == pins)
@@ -53,7 +59,8 @@ struct PinnedExtensionsTests {
#expect(pins.ids(inProfile: "Default").isEmpty)
}
- @Test func unreadableFileMeansNoPins() throws {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/107"))
+ func unreadableFileMeansNoPins() throws {
#expect((try? JSONDecoder().decode(PinnedExtensions.self, from: Data(#"{"shared": 3}"#.utf8))) == nil)
#expect(try JSONDecoder().decode(PinnedExtensions.self, from: Data("{}".utf8)) == PinnedExtensions())
}
diff --git a/Packages/CraCore/Tests/CraCoreTests/SidebarModelTests.swift b/Packages/CraCore/Tests/CraCoreTests/SidebarModelTests.swift
index 17923a2..b27d4c4 100644
--- a/Packages/CraCore/Tests/CraCoreTests/SidebarModelTests.swift
+++ b/Packages/CraCore/Tests/CraCoreTests/SidebarModelTests.swift
@@ -155,7 +155,8 @@ struct SidebarModelTests {
/// #185: Developer Mode from the Site Control Center showed nothing with the toolbar hidden
/// (Cra's default). Arc shows its developer bar above that site's pages anyway.
- @Test func developerBarShowsWithTheToolbarHidden() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/185"))
+ func developerBarShowsWithTheToolbarHidden() {
var settings = AppSettings()
#expect(!settings.showToolbar)
#expect(!settings.showsBar(above: "https://example.com/a"))
diff --git a/Packages/CraCore/Tests/CraCoreTests/WebStoreInstallsTests.swift b/Packages/CraCore/Tests/CraCoreTests/WebStoreInstallsTests.swift
index c9828c6..625f968 100644
--- a/Packages/CraCore/Tests/CraCoreTests/WebStoreInstallsTests.swift
+++ b/Packages/CraCore/Tests/CraCoreTests/WebStoreInstallsTests.swift
@@ -6,7 +6,8 @@ import Testing
struct WebStoreInstallsTests {
let id = "bcjindcccaagfpapjjmafapmmgkkhgoa"
- @Test func onlyStoreCopiesNamedAfterTheirID() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/203"))
+ func onlyStoreCopiesNamedAfterTheirID() {
let store = WebStoreInstalls.storeUpdateURL
#expect(WebStoreInstalls.isWebStoreCopy(folder: id, extensionID: id, updateURL: store))
#expect(WebStoreInstalls.isWebStoreCopy(folder: id, extensionID: id, updateURL: store + "/"))
@@ -19,7 +20,8 @@ struct WebStoreInstallsTests {
#expect(!WebStoreInstalls.isWebStoreCopy(folder: "x", extensionID: "x", updateURL: store), "not an extension ID")
}
- @Test func storeInstallsAreInternalFromTheWebStore() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/203"))
+ func storeInstallsAreInternalFromTheWebStore() {
#expect(WebStoreInstalls.isStoreInstall(settings: ["location": 1, "from_webstore": true]))
#expect(!WebStoreInstalls.isStoreInstall(settings: ["location": 8, "from_webstore": false]), "--load-extension")
#expect(!WebStoreInstalls.isStoreInstall(settings: ["location": 4]), "unpacked")
@@ -27,7 +29,8 @@ struct WebStoreInstallsTests {
#expect(!WebStoreInstalls.isStoreInstall(settings: nil))
}
- @Test func pendingWhereTheFolderLoadsAndTheStoreHasNotInstalledIt() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/203"))
+ func pendingWhereTheFolderLoadsAndTheStoreHasNotInstalledIt() {
let profiles = ["Default", "Profile 1", "Profile 2"]
let settings: [String: [String: Any]] = [
"Default": [id: ["location": 8]],
@@ -41,7 +44,8 @@ struct WebStoreInstallsTests {
#expect(scoped.isEmpty, "loads only where the store already has it")
}
- @Test func folderStopsLoadingWhereTheStoreHasIt() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/203"))
+ func folderStopsLoadingWhereTheStoreHasIt() {
var scopes = ExtensionProfiles()
let all: Set<String> = ["Default", "Profile 1"]
let goneAfterDefault = scopes.movedToWebStore(folder: id, profile: "Default", allProfiles: all)
diff --git a/Tests/BrowserManagerLifecycleTests.swift b/Tests/BrowserManagerLifecycleTests.swift
index 79fa92f..cae54df 100644
--- a/Tests/BrowserManagerLifecycleTests.swift
+++ b/Tests/BrowserManagerLifecycleTests.swift
@@ -106,6 +106,7 @@ enum BrowserManagerLifecycleTests {
recentlyAudibleCase()
await audiblePageStaysAwakeCase()
devToolsCase()
+ extensionTabActivationCase()
await beforeUnloadCase()
nowPlayingCase()
await nowPlayingPictureInPictureCase()
@@ -607,8 +608,32 @@ enum BrowserManagerLifecycleTests {
await sleepCase("a page that starts playing while it is asked stays awake") { _, rt in rt.browser.isAudible = true }
}
+ /// #38: an extension's chrome.tabs.update({active: true}) (SwitchyOmega's Options on its open
+ /// settings tab) selects that Cra tab, and only while its page is the tab's live one.
+ // promise: #38
+ @MainActor
+ private static func extensionTabActivationCase() {
+ let store = SidebarStore()
+ let manager = BrowserManager(store: store, favicons: FaviconCache(), container: NSView())
+ let observer = Observer()
+ manager.delegate = observer
+ let options = store.createTab(url: "chrome-extension://abcdefghijklmnopabcdefghijklmnop/options.html").id
+ let other = store.createTab(url: "https://example.test/other").id
+ manager.show(options, focus: false)
+ let page = manager.runtime(for: options)!.browser
+ manager.show(other, focus: false)
+ manager.browserRequestsActivation(page, byPage: false)
+ expect(observer.activatedTabs == [options] && observer.activatedByPage == [false],
+ "the extension's activation asks for its options tab, not the one in front")
+ manager.unload(options)
+ manager.browserRequestsActivation(page, byPage: false)
+ expect(observer.activatedTabs == [options], "a page already closing selects nothing")
+ manager.closeAll()
+ }
+
/// ⌥⌘I pressed again while CEF is still closing DevTools opens them once they are gone,
/// instead of closing them a second time. Console and Network switch panels on open DevTools.
+ // promise: #138
@MainActor
private static func devToolsCase() {
let store = SidebarStore()
diff --git a/Tests/ExtensionStateTests.swift b/Tests/ExtensionStateTests.swift
index 8b6bad8..c322404 100644
--- a/Tests/ExtensionStateTests.swift
+++ b/Tests/ExtensionStateTests.swift
@@ -98,6 +98,50 @@ enum ExtensionStateTests {
try messages("de", "not JSON")
check(description("__MSG_extDescription__") == "Manage passwords.", "invalid catalog falls back to English")
check(description("__MSG_appDesc__").isEmpty, "invalid catalog without a fallback message hides the key")
+ checks += turnedOffInChromeExtensions()
+ checks += liveSettingsShowAJustLoadedExtension()
print("ExtensionStateTests: \(checks) checks passed")
}
+
+ static let fixture = URL(fileURLWithPath: #filePath).deletingLastPathComponent()
+ .appendingPathComponent("Fixtures/ExtensionState", isDirectory: true)
+ static let store = (off: "aaaabbbbccccddddeeeeffffgggghhhh", on: "iiiijjjjkkkkllllmmmmnnnnoooopppp")
+
+ /// #41: an extension turned off in chrome://extensions reads as off from the profile's files,
+ /// whatever its install location (an older Chromium's state 0, a Web Store install, a
+ /// --load-extension copy), so Cra's toolbar leaves it out and never runs it. A turned-off Web
+ /// Store install stays listed, as off, so its pin comes back when it is turned on again.
+ // promise: #41
+ static func turnedOffInChromeExtensions() -> Int {
+ let profile = fixture.appendingPathComponent("Default", isDirectory: true)
+ let off = ExtensionImporter.disabledIDs(inProfile: profile)
+ precondition(off == ["olderchromiumoffaaaaaaaaaaaaaaaa", "commandlineoffaaaaaaaaaaaaaaaaaa", store.off],
+ "turned off: \(off.sorted())")
+ let listed = ExtensionImporter.extensions(inProfile: profile).sorted { $0.name < $1.name }
+ precondition(listed.map(\.id) == [store.off, store.on], "the Web Store installs: \(listed.map(\.id))")
+ precondition(listed.map(\.isEnabled) == [false, true] && listed.map(\.name) == ["Store Off", "Store On"],
+ "listed with whether each is on")
+ return 3
+ }
+
+ /// #43: the settings Chromium holds in memory (it writes the files about 10 s later) read
+ /// like the files, so an extension just loaded unpacked is listed, on, at once, and one just
+ /// turned off reads as off at once.
+ // promise: #43
+ static func liveSettingsShowAJustLoadedExtension() -> Int {
+ let profile = fixture.appendingPathComponent("Default", isDirectory: true)
+ let text = try! String(contentsOf: fixture.appendingPathComponent("live-extensions-settings.json"), encoding: .utf8)
+ .replacingOccurrences(of: "${FIXTURE}", with: fixture.path)
+ let live = try! JSONSerialization.jsonObject(with: Data(text.utf8)) as! [String: Any]
+ let listed = ExtensionImporter.extensions(settings: live, inProfile: profile)
+ let fresh = listed.first { $0.id == "unpackedjustloadedaaaaaaaaaaaaaa" }
+ precondition(fresh?.isEnabled == true && fresh?.name == "Just Loaded"
+ && fresh?.folder.standardizedFileURL == fixture.appendingPathComponent("Unpacked").standardizedFileURL,
+ "the extension Load unpacked just added is listed, on, from its own folder")
+ precondition(Set(listed.map(\.id)) == [store.off, store.on, "unpackedjustloadedaaaaaaaaaaaaaa"], "live list: \(listed.map(\.id))")
+ let off = ExtensionImporter.disabledIDs(settings: live)
+ precondition(off == ExtensionImporter.disabledIDs(inProfile: profile).union(["commandlineonaaaaaaaaaaaaaaaaaaa"]),
+ "the switch the files don't have yet already counts: \(off.sorted())")
+ return 3
+ }
}
diff --git a/Tests/Fixtures/ExtensionState/Default/Extensions/aaaabbbbccccddddeeeeffffgggghhhh/1.0_0/manifest.json b/Tests/Fixtures/ExtensionState/Default/Extensions/aaaabbbbccccddddeeeeffffgggghhhh/1.0_0/manifest.json
new file mode 100644
index 0000000..af0279a
--- /dev/null
+++ b/Tests/Fixtures/ExtensionState/Default/Extensions/aaaabbbbccccddddeeeeffffgggghhhh/1.0_0/manifest.json
@@ -0,0 +1 @@
+{"manifest_version": 3, "name": "Store Off", "version": "1.0", "action": {"default_popup": "popup.html"}}
diff --git a/Tests/Fixtures/ExtensionState/Default/Extensions/iiiijjjjkkkkllllmmmmnnnnoooopppp/2.1_0/manifest.json b/Tests/Fixtures/ExtensionState/Default/Extensions/iiiijjjjkkkkllllmmmmnnnnoooopppp/2.1_0/manifest.json
new file mode 100644
index 0000000..2661db4
--- /dev/null
+++ b/Tests/Fixtures/ExtensionState/Default/Extensions/iiiijjjjkkkkllllmmmmnnnnoooopppp/2.1_0/manifest.json
@@ -0,0 +1 @@
+{"manifest_version": 3, "name": "Store On", "version": "2.1", "action": {"default_popup": "popup.html"}}
diff --git a/Tests/Fixtures/ExtensionState/Default/Preferences b/Tests/Fixtures/ExtensionState/Default/Preferences
new file mode 100644
index 0000000..7110cf9
--- /dev/null
+++ b/Tests/Fixtures/ExtensionState/Default/Preferences
@@ -0,0 +1,7 @@
+{
+ "extensions": {
+ "settings": {
+ "olderchromiumoffaaaaaaaaaaaaaaaa": {"location": 1, "state": 0, "path": "olderchromiumoffaaaaaaaaaaaaaaaa/1.0_0"}
+ }
+ }
+}
diff --git a/Tests/Fixtures/ExtensionState/Default/Secure Preferences b/Tests/Fixtures/ExtensionState/Default/Secure Preferences
new file mode 100644
index 0000000..baa6519
--- /dev/null
+++ b/Tests/Fixtures/ExtensionState/Default/Secure Preferences
@@ -0,0 +1,10 @@
+{
+ "extensions": {
+ "settings": {
+ "aaaabbbbccccddddeeeeffffgggghhhh": {"location": 1, "from_webstore": true, "disable_reasons": [1], "path": "aaaabbbbccccddddeeeeffffgggghhhh/1.0_0"},
+ "iiiijjjjkkkkllllmmmmnnnnoooopppp": {"location": 1, "from_webstore": true, "disable_reasons": [], "path": "iiiijjjjkkkkllllmmmmnnnnoooopppp/2.1_0"},
+ "commandlineoffaaaaaaaaaaaaaaaaaa": {"location": 8, "disable_reasons": [1], "path": "/Users/example/Library/Application Support/Cra/Extensions/commandlineoff"},
+ "commandlineonaaaaaaaaaaaaaaaaaaa": {"location": 8, "path": "/Users/example/Library/Application Support/Cra/Extensions/commandlineon"}
+ }
+ }
+}
diff --git a/Tests/Fixtures/ExtensionState/README.md b/Tests/Fixtures/ExtensionState/README.md
new file mode 100644
index 0000000..c54801d
--- /dev/null
+++ b/Tests/Fixtures/ExtensionState/README.md
@@ -0,0 +1,10 @@
+A made-up Cra Chromium profile (Default/) for scripts/test-extension-state.sh: which extensions
+chrome://extensions has turned off (GitHub #41) and the live extensions.settings Chromium answers
+from memory before it writes the files (GitHub #43).
+
+- Preferences: an older Chromium's `state: 0` (off).
+- Secure Preferences: two Web Store installs (location 1, one off, one on) and two
+ --load-extension copies (location 8, one off, one with no disable reasons).
+- live-extensions-settings.json: the same settings as Chromium holds them a moment after
+ "Load unpacked" picked Unpacked/ and the --load-extension copy that was on was turned off.
+ `${FIXTURE}` stands for this folder.
diff --git a/Tests/Fixtures/ExtensionState/Unpacked/manifest.json b/Tests/Fixtures/ExtensionState/Unpacked/manifest.json
new file mode 100644
index 0000000..04ba861
--- /dev/null
+++ b/Tests/Fixtures/ExtensionState/Unpacked/manifest.json
@@ -0,0 +1 @@
+{"manifest_version": 3, "name": "Just Loaded", "version": "0.1", "action": {"default_popup": "popup.html"}}
diff --git a/Tests/Fixtures/ExtensionState/live-extensions-settings.json b/Tests/Fixtures/ExtensionState/live-extensions-settings.json
new file mode 100644
index 0000000..46954c3
--- /dev/null
+++ b/Tests/Fixtures/ExtensionState/live-extensions-settings.json
@@ -0,0 +1,8 @@
+{
+ "olderchromiumoffaaaaaaaaaaaaaaaa": {"location": 1, "state": 0, "path": "olderchromiumoffaaaaaaaaaaaaaaaa/1.0_0"},
+ "aaaabbbbccccddddeeeeffffgggghhhh": {"location": 1, "from_webstore": true, "disable_reasons": [1], "path": "aaaabbbbccccddddeeeeffffgggghhhh/1.0_0"},
+ "iiiijjjjkkkkllllmmmmnnnnoooopppp": {"location": 1, "from_webstore": true, "disable_reasons": [], "path": "iiiijjjjkkkkllllmmmmnnnnoooopppp/2.1_0"},
+ "commandlineoffaaaaaaaaaaaaaaaaaa": {"location": 8, "disable_reasons": [1], "path": "/Users/example/Library/Application Support/Cra/Extensions/commandlineoff"},
+ "commandlineonaaaaaaaaaaaaaaaaaaa": {"location": 8, "disable_reasons": [1], "path": "/Users/example/Library/Application Support/Cra/Extensions/commandlineon"},
+ "unpackedjustloadedaaaaaaaaaaaaaa": {"location": 4, "disable_reasons": [], "path": "${FIXTURE}/Unpacked"}
+}
diff --git a/Tests/PolicyTests.swift b/Tests/PolicyTests.swift
index 2561d00..2c5b2cf 100644
--- a/Tests/PolicyTests.swift
+++ b/Tests/PolicyTests.swift
@@ -15,6 +15,9 @@ enum PolicyTests {
print("Policies: \(checks) checks passed")
}
+ /// #41: a click never reaches an extension turned off in chrome://extensions (Chromium crashed
+ /// on it). #22: nor one the page's profile doesn't have; that click does nothing.
+ // promise: #22 #41
private static func extensionLaunch() {
typealias E = ExtensionLaunch.Extension
let popup = E(id: "pop", popupPath: "popup.html", optionsPath: "options.html")
@@ -36,8 +39,10 @@ enum PolicyTests {
"neither: Chrome's details page for it")
}
- // promise: #88
+ // promise: #88 #138
/// DevTools' toggle, and the developer bar's Console, Network and Inspect as Chrome runs them (#88).
+ /// #138: the developer bar's Console and Network switch open DevTools to their panel and close
+ /// them only when that panel already shows; a press while they open picks the panel.
private static func devToolsToggle() {
var t = DevToolsToggle()
expect(t.toggle() == .show && t.state == .opening, "closed: a press opens")
diff --git a/Tests/Scenarios/developer-bar.scenario b/Tests/Scenarios/developer-bar.scenario
new file mode 100644
index 0000000..04c8556
--- /dev/null
+++ b/Tests/Scenarios/developer-bar.scenario
@@ -0,0 +1,16 @@
+# Developer Mode on a site with the toolbar hidden (Cra's default) shows Arc's developer bar
+# above that site's pages: the space colour with its diagonal stripes, the whole URL and its
+# copy-link, console, network and inspect buttons (#42). Before 0.1.31 the switch saved the
+# site and showed nothing until View > Show Toolbar was on (#185). The snapshot fails when no
+# PaneToolbarView is on screen.
+# promise: #185 #42
+budget rss=600 stalls50=6 # turning developer mode on or off stalls 130–650 ms (a reload)
+port 47124
+cra://debug?windowSize=1280x800
+cra://open?url=${PAGE}?n=devbar
+wait 3
+cra://action/toggleDeveloperMode
+wait 2
+snapshot PaneToolbarView developer-bar-toolbar-hidden
+cra://action/toggleDeveloperMode
+wait 2
diff --git a/Tests/Scenarios/extension-lifecycle.scenario b/Tests/Scenarios/extension-lifecycle.scenario
index e9851b5..367c642 100644
--- a/Tests/Scenarios/extension-lifecycle.scenario
+++ b/Tests/Scenarios/extension-lifecycle.scenario
@@ -1,5 +1,6 @@
# An unpacked extension installed, used, turned off in chrome://extensions, clicked while off,
# turned on and removed. A click must never reach a disabled extension (GitHub #41).
+# promise: #41
budget rss=600 stalls50=5
cra://debug?installExtension=${FIXTURES}/Extension
relaunch
diff --git a/Tests/Snapshots/developer-bar-toolbar-hidden.png b/Tests/Snapshots/developer-bar-toolbar-hidden.png
new file mode 100644
index 0000000..e0d6ec8
Binary files /dev/null and b/Tests/Snapshots/developer-bar-toolbar-hidden.png differ
diff --git a/Tests/promises.lock b/Tests/promises.lock
index b6f454c..e518035 100644
--- a/Tests/promises.lock
+++ b/Tests/promises.lock
@@ -1,6 +1,7 @@
# Tests that pin what a closed issue shipped (scripts/promises.py). Each line: issue, test, hash
# of its code. Change a test here only when the promise changes on purpose: name the issue and why
# in the commit, and tell its reporter. Regenerate with scripts/promises.py --update.
+<<<<<<< HEAD
#82 Tests/FloatingSidebarTests.swift::onlyTheKeyWindowReveals e03736669b48
#90 Packages/CraCore/Tests/CraCoreTests/ConnectionSecurityTests.swift::aCertificateErrorIsNotSecure f7e423ddd42a
#90 Packages/CraCore/Tests/CraCoreTests/ConnectionSecurityTests.swift::aValidCertificateIsSecure 3b4cecd2fcec
@@ -16,6 +17,56 @@
#134 Packages/CraCore/Tests/CraCoreTests/PictureInPictureGestureTests.swift::resizeKeepsTheOppositeSideFixed fba1f3cef683
#134 Packages/CraCore/Tests/CraCoreTests/PictureInPictureGestureTests.swift::resizeStaysWithinTheLimits a50c51c99293
#134 Packages/CraCore/Tests/CraCoreTests/PictureInPictureGestureTests.swift::theMiddleMovesTheWindow fd4ee818984b
+=======
+#22 Tests/PolicyTests.swift::extensionLaunch 8f21949f730d
+#38 Packages/CraCore/Tests/CraCoreTests/ExtensionPagePlacementTests.swift::openInAnotherSpaceOfTheProfileIsSelected f9b7280ab4a7
+#38 Packages/CraCore/Tests/CraCoreTests/ExtensionPagePlacementTests.swift::openInThisSpaceWins d378e29544b8
+#38 Tests/BrowserManagerLifecycleTests.swift::extensionTabActivationCase 49320dcef25f
+#41 Tests/ExtensionStateTests.swift::turnedOffInChromeExtensions f66fbb7216ee
+#41 Tests/PolicyTests.swift::extensionLaunch 8f21949f730d
+#41 Tests/Scenarios/extension-lifecycle.scenario a56397340f68
+#42 Packages/CraCore/Tests/CraCoreTests/FirstClickTests.swift::focusInTheWindowOrItsChildren d9aa0889d8cf
+#42 Packages/CraCore/Tests/CraCoreTests/FirstClickTests.swift::otherwiseTheClickOnlyFocuses aea902365e1c
+#42 Tests/Scenarios/developer-bar.scenario 7e0621dd18c1
+#43 Tests/ExtensionStateTests.swift::liveSettingsShowAJustLoadedExtension e067993ed48d
+#87 Packages/CraCore/Tests/CraCoreTests/FirstClickTests.swift::closingAPopupIsAllTheClickDoes 2bbfbd4500d3
+#106 Packages/CraCore/Tests/CraCoreTests/ExtensionActionStateTests.swift::aNavigationThatClearsTheTabFallsBack ace52cc84f77
+#106 Packages/CraCore/Tests/CraCoreTests/ExtensionActionStateTests.swift::aTabsOwnValueWinsValueByValue a76ca3e3422d
+#106 Packages/CraCore/Tests/CraCoreTests/ExtensionActionStateTests.swift::anEmptyEveryTabStateGoesBackToTheManifest 97239924822b
+#106 Packages/CraCore/Tests/CraCoreTests/ExtensionActionStateTests.swift::closedTabsAreForgotten eb65f265665c
+#106 Packages/CraCore/Tests/CraCoreTests/ExtensionActionStateTests.swift::decodesTheEvent b97d7ef64936
+#106 Packages/CraCore/Tests/CraCoreTests/ExtensionActionStateTests.swift::everyTabEventHasNoTarget 85c9729b57e4
+#106 Packages/CraCore/Tests/CraCoreTests/ExtensionActionStateTests.swift::everyTabValueAppliesToEachTabInItsProfile 279242eefa61
+#106 Packages/CraCore/Tests/CraCoreTests/ExtensionBadgeTests.swift::backgroundIsOpaqueOrTheDefault 61ae7d7d2936
+#106 Packages/CraCore/Tests/CraCoreTests/ExtensionBadgeTests.swift::fortyTwoMatchesArc 80a4b22f4197
+#106 Packages/CraCore/Tests/CraCoreTests/ExtensionBadgeTests.swift::noTextNoBadge b76de0288933
+#106 Packages/CraCore/Tests/CraCoreTests/ExtensionBadgeTests.swift::textContrastsWithTheBackground b7f04612d473
+#106 Packages/CraCore/Tests/CraCoreTests/ExtensionBadgeTests.swift::widthAndAlignment b820c2ebeeb2
+#107 Packages/CraCore/Tests/CraCoreTests/ExtensionPagePlacementTests.swift::anotherProfilesPageGoesToItsSpace 314ef64164d1
+#107 Packages/CraCore/Tests/CraCoreTests/ExtensionPagePlacementTests.swift::anotherProfilesTabIsNeverReused 7bf17f29af57
+#107 Packages/CraCore/Tests/CraCoreTests/ExtensionPagePlacementTests.swift::incognitoKeepsToItsOwnSpace 7074cccd4929
+#107 Packages/CraCore/Tests/CraCoreTests/ExtensionPagePlacementTests.swift::openInAnotherSpaceOfTheProfileIsSelected f9b7280ab4a7
+#107 Packages/CraCore/Tests/CraCoreTests/ExtensionPagePlacementTests.swift::openInThisSpaceWins d378e29544b8
+#107 Packages/CraCore/Tests/CraCoreTests/ExtensionPagePlacementTests.swift::otherPagesAlwaysOpenANewTab bf7863727e71
+#107 Packages/CraCore/Tests/CraCoreTests/ExtensionPagePlacementTests.swift::profileWithoutASpaceUsesTheFocusedOne 7286e677c731
+#107 Packages/CraCore/Tests/CraCoreTests/ExtensionPageRetryTests.swift::extensionThatIsOffIsNotRetried cac91e89b7ee
+#107 Packages/CraCore/Tests/CraCoreTests/ExtensionPageRetryTests.swift::retriesWithGrowingWaits f352ef9b57af
+#107 Packages/CraCore/Tests/CraCoreTests/ExtensionProxyControlTests.swift::latestInstallWins c968246ff873
+#107 Packages/CraCore/Tests/CraCoreTests/ExtensionProxyControlTests.swift::onlyEnabledExtensionsCount a820044d6e5e
+#107 Packages/CraCore/Tests/CraCoreTests/ExtensionProxyControlTests.swift::regularOnlyScopeCounts 21a1fd0a4c96
+#107 Packages/CraCore/Tests/CraCoreTests/ExtensionProxyControlTests.swift::summaries 06f9a455cea5
+#107 Packages/CraCore/Tests/CraCoreTests/ExtensionProxyControlTests.swift::tieGoesToTheLaterID d37c90d076aa
+#107 Packages/CraCore/Tests/CraCoreTests/ModelFixtureTests.swift::pinnedExtensionsLoadAsRecorded fa1bcd77bec3
+#107 Packages/CraCore/Tests/CraCoreTests/PinnedExtensionsTests.swift::moveReordersOneProfile a98ffa818669
+#107 Packages/CraCore/Tests/CraCoreTests/PinnedExtensionsTests.swift::noChangeKeepsTheSharedList 827acaee7710
+#107 Packages/CraCore/Tests/CraCoreTests/PinnedExtensionsTests.swift::oldListServesEveryProfile 57c4e23cef91
+#107 Packages/CraCore/Tests/CraCoreTests/PinnedExtensionsTests.swift::pinningInOneProfileLeavesTheOthers 30e861449032
+#107 Packages/CraCore/Tests/CraCoreTests/PinnedExtensionsTests.swift::profileListsRoundTrip 7a57b17d2767
+#107 Packages/CraCore/Tests/CraCoreTests/PinnedExtensionsTests.swift::removedExtensionsLeaveEveryList db169d3fdc84
+#107 Packages/CraCore/Tests/CraCoreTests/PinnedExtensionsTests.swift::unreadableFileMeansNoPins 8a2abe27ded2
+#138 Tests/BrowserManagerLifecycleTests.swift::devToolsCase 76008e9b3836
+#138 Tests/PolicyTests.swift::devToolsToggle 5786fe494c6e
+>>>>>>> eb4646e (Pin the shipped extension and developer-mode issues with locked tests)
#155 Packages/CraCore/Tests/CraCoreTests/ArcThemeImportTests.swift::autoShowsTheHalfMacOSAsksFor 73a172a01086
#155 Packages/CraCore/Tests/CraCoreTests/ArcThemeImportTests.swift::everySwatchOnAutoFollowsMacOS 2abd1f76b828
#155 Packages/CraCore/Tests/CraCoreTests/ArcThemeImportTests.swift::everySwatchOnLightOrDarkKeepsOneLook 95d16ff2c954
@@ -24,6 +75,7 @@
#155 Tests/Scenarios/auto-theme.scenario ecf687c1ce39
#170 Tests/StoreTests.swift::themePreview d10606ab1689
#171 Packages/CraCore/Tests/CraCoreTests/ArcThemeImportTests.swift::autoThemeWithOneHalfKeepsItsLook 6162547ce294
+<<<<<<< HEAD
#172 Tests/StoreTests.swift::littleWindowProfile cbb20edf1af3
#178 Packages/CraCore/Tests/CraCoreTests/ShippedWindowsTests.swift::anAutoSpaceRingsTheFocusedPaneInOneColour 8b1715afe8fe
#178 Packages/CraCore/Tests/CraCoreTests/ToolbarCompositionTests.swift::anEmptyPaneHasGreyedNavigationAndClose 930d3981aac7
@@ -58,3 +110,11 @@
#204 Packages/CraCore/Tests/CraCoreTests/PeekLayoutTests.swift::opensFromTheLinkAndLandsOnTheCard 3465bf54ca11
#204 Packages/CraCore/Tests/CraCoreTests/PeekLayoutTests.swift::pageScalesWithTheWidthFromTheTopLeft 17bcf5f398a5
#204 Packages/CraCore/Tests/CraCoreTests/PeekLayoutTests.swift::withoutALinkItGrowsFromTheArea 700ece5eaa91
+=======
+#185 Packages/CraCore/Tests/CraCoreTests/SidebarModelTests.swift::developerBarShowsWithTheToolbarHidden 20670c4040fc
+#185 Tests/Scenarios/developer-bar.scenario 7e0621dd18c1
+#203 Packages/CraCore/Tests/CraCoreTests/WebStoreInstallsTests.swift::folderStopsLoadingWhereTheStoreHasIt 7dd24962094b
+#203 Packages/CraCore/Tests/CraCoreTests/WebStoreInstallsTests.swift::onlyStoreCopiesNamedAfterTheirID d8e4376933ca
+#203 Packages/CraCore/Tests/CraCoreTests/WebStoreInstallsTests.swift::pendingWhereTheFolderLoadsAndTheStoreHasNotInstalledIt d6dfbc04b676
+#203 Packages/CraCore/Tests/CraCoreTests/WebStoreInstallsTests.swift::storeInstallsAreInternalFromTheWebStore b1b3898613c7
+>>>>>>> eb4646e (Pin the shipped extension and developer-mode issues with locked tests)