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.

Shipped-issue locks for Peek, Little Window, Picture in Picture, split view, windows and Capture

Victore938bb554ba0
diff --git a/Packages/CraCore/Tests/CraCoreTests/ActionSearchScopeTests.swift b/Packages/CraCore/Tests/CraCoreTests/ActionSearchScopeTests.swift
index cd91bf0..ecf48db 100644
--- a/Packages/CraCore/Tests/CraCoreTests/ActionSearchScopeTests.swift
+++ b/Packages/CraCore/Tests/CraCoreTests/ActionSearchScopeTests.swift
@@ -6,13 +6,13 @@ struct ActionSearchScopeTests {
typealias C = ActionSearchScope.Candidate<String>
/// New Tab… and Open Command Bar would only reopen the bar; everything else is listed.
- @Test(arguments: [("newTab", false), ("editURL", false), ("archiveTab", true), ("toggleSidebar", true)])
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/195"), arguments: [("newTab", false), ("editURL", false), ("archiveTab", true), ("toggleSidebar", true)])
func barOpenersAreLeftOut(id: String, listed: Bool) {
#expect(ActionSearchScope.lists(actionID: id) == listed)
}
/// Nothing typed: every action, the most used first, the others in menu order.
- @Test func nothingTypedListsByUseThenMenuOrder() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/195")) func nothingTypedListsByUseThenMenuOrder() {
let actions = [
C(id: "new-tab", score: 0, uses: 0),
C(id: "archive", score: 0, uses: 4),
@@ -23,7 +23,7 @@ struct ActionSearchScopeTests {
}
/// Typed: actions the text doesn't name drop out, the best name leads, use breaks ties.
- @Test func typedRanksByMatchThenUse() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/195")) func typedRanksByMatchThenUse() {
let actions = [
C(id: "unrelated", score: 0, uses: 10),
C(id: "add-top-split", score: 68, uses: 0),
@@ -34,7 +34,7 @@ struct ActionSearchScopeTests {
}
/// Use counts are capped: a much-used action can't outrank one the text names better by far.
- @Test func useCannotBuryABetterName() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/195")) func useCannotBuryABetterName() {
let actions = [C(id: "habit", score: 50, uses: 500), C(id: "named", score: 80, uses: 0)]
#expect(ActionSearchScope.rank(actions, typed: true) == ["named", "habit"])
}
diff --git a/Packages/CraCore/Tests/CraCoreTests/ConnectionSecurityTests.swift b/Packages/CraCore/Tests/CraCoreTests/ConnectionSecurityTests.swift
index 36b763d..ce9cc81 100644
--- a/Packages/CraCore/Tests/CraCoreTests/ConnectionSecurityTests.swift
+++ b/Packages/CraCore/Tests/CraCoreTests/ConnectionSecurityTests.swift
@@ -7,41 +7,41 @@ struct ConnectionSecurityTests {
ConnectionSecurity.Status(secureConnection: secure, certStatus: cert, contentStatus: content)
}
- @Test func aValidCertificateIsSecure() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/90")) func aValidCertificateIsSecure() {
#expect(ConnectionSecurity.isSecure(url: "https://example.com/", status: status()))
// CERT_STATUS_IS_EV and CERT_STATUS_REV_CHECKING_ENABLED are notes, not errors.
#expect(ConnectionSecurity.isSecure(url: "https://example.com/", status: status(cert: 1 << 16 | 1 << 17)))
}
/// An https page the user reached past a certificate warning reads "Not Secure".
- @Test func aCertificateErrorIsNotSecure() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/90")) func aCertificateErrorIsNotSecure() {
#expect(!ConnectionSecurity.isSecure(url: "https://expired.badssl.com/", status: status(cert: 1 << 1)))
#expect(!ConnectionSecurity.isSecure(url: "https://self-signed.badssl.com/", status: status(cert: 1 << 2)))
#expect(!ConnectionSecurity.isSecure(url: "https://revoked.badssl.com/", status: status(cert: 1 << 6)))
}
/// Chrome ignores the two minor revocation errors.
- @Test func revocationThatCannotBeCheckedIsNotAnError() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/90")) func revocationThatCannotBeCheckedIsNotAnError() {
#expect(ConnectionSecurity.isSecure(url: "https://example.com/", status: status(cert: 1 << 4 | 1 << 5)))
}
- @Test func mixedContentIsNotSecure() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/90")) func mixedContentIsNotSecure() {
#expect(!ConnectionSecurity.isSecure(url: "https://example.com/", status: status(content: 1 << 0)))
#expect(!ConnectionSecurity.isSecure(url: "https://example.com/", status: status(content: 1 << 1)))
}
- @Test func plainHTTPIsNotSecure() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/90")) func plainHTTPIsNotSecure() {
#expect(!ConnectionSecurity.isSecure(url: "http://example.com/", status: status(false)))
#expect(!ConnectionSecurity.isSecure(url: "file:///tmp/a.html", status: status(false)))
}
/// Before a page commits (or for a sleeping tab) the scheme is all there is.
- @Test func withoutAStatusTheSchemeDecides() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/90")) func withoutAStatusTheSchemeDecides() {
#expect(ConnectionSecurity.isSecure(url: "https://example.com/", status: nil))
#expect(!ConnectionSecurity.isSecure(url: "http://example.com/", status: nil))
}
- @Test func chromiumsOwnPagesAreSecure() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/90")) func chromiumsOwnPagesAreSecure() {
#expect(ConnectionSecurity.isSecure(url: "chrome://extensions", status: status(false)))
#expect(ConnectionSecurity.isSecure(url: "chrome-extension://abc/options.html", status: nil))
}
diff --git a/Packages/CraCore/Tests/CraCoreTests/GlobalShortcutTests.swift b/Packages/CraCore/Tests/CraCoreTests/GlobalShortcutTests.swift
index 566b699..48f4eb0 100644
--- a/Packages/CraCore/Tests/CraCoreTests/GlobalShortcutTests.swift
+++ b/Packages/CraCore/Tests/CraCoreTests/GlobalShortcutTests.swift
@@ -5,14 +5,14 @@ import Testing
struct GlobalShortcutTests {
private let optCmdN = KeyChord(key: "n", modifiers: KeyChord.Modifiers([.option, .command]).rawValue)
- @Test func theFirstChordIsTakenWhileTheSettingIsOn() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/195")) func theFirstChordIsTakenWhileTheSettingIsOn() {
#expect(GlobalShortcut.registrable([optCmdN], enabled: true) == optCmdN)
#expect(GlobalShortcut.registrable([optCmdN], enabled: false) == nil)
#expect(GlobalShortcut.registrable([], enabled: true) == nil)
}
/// A key without ⌘, ⌃ or ⌥ would stop typing that key in every app.
- @Test func aChordThatTypesIsNeverTakenFromOtherApps() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/195")) func aChordThatTypesIsNeverTakenFromOtherApps() {
let shiftN = KeyChord(key: "n", modifiers: KeyChord.Modifiers.shift.rawValue)
let tab = KeyChord(key: KeyChord.tab, modifiers: 0)
#expect(GlobalShortcut.registrable([shiftN, tab], enabled: true) == nil)
@@ -22,7 +22,7 @@ struct GlobalShortcutTests {
}
/// Carbon's cmdKey 0x100, shiftKey 0x200, optionKey 0x800, controlKey 0x1000.
- @Test func modifiersInCarbonBits() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/195")) func modifiersInCarbonBits() {
#expect(GlobalShortcut.carbonModifiers([.option, .command]) == 0x900)
#expect(GlobalShortcut.carbonModifiers([.shift, .control]) == 0x1200)
#expect(GlobalShortcut.carbonModifiers([]) == 0)
diff --git a/Packages/CraCore/Tests/CraCoreTests/HiddenFrameReleaseTests.swift b/Packages/CraCore/Tests/CraCoreTests/HiddenFrameReleaseTests.swift
index fe6fc39..0e1f912 100644
--- a/Packages/CraCore/Tests/CraCoreTests/HiddenFrameReleaseTests.swift
+++ b/Packages/CraCore/Tests/CraCoreTests/HiddenFrameReleaseTests.swift
@@ -10,25 +10,25 @@ struct HiddenFrameReleaseTests {
return .init(id: UUID(uuidString: String(format: "00000000-0000-0000-0000-%012d", n))!, hiddenAt: hidden, releasedFor: released ? hidden : nil)
}
- @Test func recentTabsWithinTheCapKeepTheirFrames() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/195")) func recentTabsWithinTheCapKeepTheirFrames() {
let hidden = (1...9).map { tab($0, minutesAgo: Double($0)) }
#expect(HiddenFrameRelease.due(hidden, visible: 1, now: now).isEmpty)
}
/// Chromium keeps the 10 most recent frames (the visible tab's among them); older ones are evicted.
- @Test func tabsPastTheCapAreDueOldestFirst() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/195")) func tabsPastTheCapAreDueOldestFirst() {
let hidden = (1...12).map { tab($0, minutesAgo: Double($0) / 10) }
let due = HiddenFrameRelease.due(hidden, visible: 1, now: now)
#expect(due == hidden.suffix(3).map(\.id))
}
- @Test func tabsHiddenLongerThanTheCullAreDue() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/195")) func tabsHiddenLongerThanTheCullAreDue() {
let hidden = [tab(1, minutesAgo: 3), tab(2, minutesAgo: 11)]
#expect(HiddenFrameRelease.due(hidden, visible: 1, now: now) == [hidden[1].id])
}
/// Once drawn for this hiding, a tab isn't done again until it has been shown and hidden again.
- @Test func eachHidingReleasesOnce() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/195")) func eachHidingReleasesOnce() {
let hidden = [tab(1, minutesAgo: 20, released: true), tab(2, minutesAgo: 20)]
#expect(HiddenFrameRelease.due(hidden, visible: 1, now: now) == [hidden[1].id])
}
diff --git a/Packages/CraCore/Tests/CraCoreTests/PeekLayoutTests.swift b/Packages/CraCore/Tests/CraCoreTests/PeekLayoutTests.swift
index 0368348..a9a8a76 100644
--- a/Packages/CraCore/Tests/CraCoreTests/PeekLayoutTests.swift
+++ b/Packages/CraCore/Tests/CraCoreTests/PeekLayoutTests.swift
@@ -29,7 +29,7 @@ struct PeekLayoutTests {
#expect(card.width == (Self.window.width * 0.8).rounded())
}
- @Test func withoutALinkItGrowsFromTheArea() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/204")) func withoutALinkItGrowsFromTheArea() {
// Arc from a link that covers the page (3 Nov): the card starts as the whole area.
let area = PeekLayout.area(window: Self.window, contentMinX: 347)
let card = PeekLayout.card(in: area)
@@ -53,7 +53,7 @@ struct PeekLayoutTests {
#expect(abs(PeekLayout.Curve.easeOutCubic(0.5) - 0.875) < 0.02)
}
- @Test func opensFromTheLinkAndLandsOnTheCard() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/204")) func opensFromTheLinkAndLandsOnTheCard() {
let start = PeekLayout.opening(from: Self.link, to: Self.card, at: 0)
#expect(start.frame == Self.link)
#expect(start.sourceOpacity == 1 && start.buttonsOpacity == 0)
@@ -62,7 +62,7 @@ struct PeekLayoutTests {
#expect(end.sourceOpacity == 0 && end.buttonsOpacity == 1)
}
- @Test func heightLagsWidthAsInArc() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/204")) func heightLagsWidthAsInArc() {
// Arc, run A: when the width was 60.3 % of the way, the height was 47.9 %.
var t = 0.0
while PeekLayout.opening(from: Self.link, to: Self.card, at: t).frame.width < Self.link.width + 0.603 * (Self.card.width - Self.link.width) { t += 0.0005 }
@@ -76,7 +76,7 @@ struct PeekLayoutTests {
#expect(PeekLayout.opening(from: Self.link, to: Self.card, at: t).sourceOpacity < 0.12)
}
- @Test func closesBackIntoTheLink() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/204")) func closesBackIntoTheLink() {
let start = PeekLayout.closing(from: Self.card, to: Self.link, at: 0)
#expect(start.frame == Self.card && start.sourceOpacity == 0 && start.buttonsOpacity == 1)
let end = PeekLayout.closing(from: Self.card, to: Self.link, at: PeekLayout.closeScaleDuration)
@@ -88,7 +88,7 @@ struct PeekLayoutTests {
#expect(a > 0.15 && a < 0.5)
}
- @Test func pageScalesWithTheWidthFromTheTopLeft() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/204")) func pageScalesWithTheWidthFromTheTopLeft() {
let frame = PeekLayout.frame(from: Self.link, to: Self.card, p: 0.6, q: 0.48)
let c = PeekLayout.content(in: frame, card: Self.card)
#expect(abs(c.width - frame.width) < 0.001)
@@ -97,7 +97,7 @@ struct PeekLayoutTests {
#expect(PeekLayout.content(in: Self.card, card: Self.card) == CGRect(origin: .zero, size: Self.card.size))
}
- @Test func columnRidesTheCorner() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/204")) func columnRidesTheCorner() {
let column = PeekLayout.column(beside: Self.card)
#expect(PeekLayout.column(column, card: Self.card, frame: Self.card) == column)
let half = CGRect(x: 600, y: 300, width: Self.card.width / 2, height: 400)
@@ -107,7 +107,7 @@ struct PeekLayoutTests {
#expect(abs(c.minX - half.maxX - PeekLayout.buttonGap / 2) < 0.001)
}
- @Test func linkFractionsMapOntoThePage() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/204")) func linkFractionsMapOntoThePage() {
let page = CGRect(x: 347, y: 0, width: 1371, height: 1032)
// Run A's link: 60, 90, 68 × 31 CSS px in a 1371 × 1032 view.
let f = CGRect(x: 60.0 / 1371, y: 90.0 / 1032, width: 68.0 / 1371, height: 31.0 / 1032)
diff --git a/Packages/CraCore/Tests/CraCoreTests/PeekTriggerTests.swift b/Packages/CraCore/Tests/CraCoreTests/PeekTriggerTests.swift
index 1d32dcd..3c65361 100644
--- a/Packages/CraCore/Tests/CraCoreTests/PeekTriggerTests.swift
+++ b/Packages/CraCore/Tests/CraCoreTests/PeekTriggerTests.swift
@@ -46,7 +46,7 @@ struct PeekTriggerTests {
}
/// Inside the Peek (GitHub #202).
- @Test func aNewTabLinkInsideThePeekLeavesIt() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/202")) func aNewTabLinkInsideThePeekLeavesIt() {
#expect(PeekTrigger.leavesPeek(Self.other, shiftClick: false, newTab: true))
#expect(PeekTrigger.leavesPeek(Self.same, shiftClick: false, newTab: true))
#expect(PeekTrigger.leavesPeek("HTTPS://example.org/", shiftClick: false, newTab: true))
diff --git a/Packages/CraCore/Tests/CraCoreTests/PictureInPictureGestureTests.swift b/Packages/CraCore/Tests/CraCoreTests/PictureInPictureGestureTests.swift
index a1e3523..4bac0c7 100644
--- a/Packages/CraCore/Tests/CraCoreTests/PictureInPictureGestureTests.swift
+++ b/Packages/CraCore/Tests/CraCoreTests/PictureInPictureGestureTests.swift
@@ -16,7 +16,7 @@ struct PictureInPictureGestureTests {
return (gesture.edge, gesture.frame(mouse: CGPoint(x: start.x + dx, y: start.y + dy), minSize: minSize, maxSize: maxSize))
}
- @Test func edgesAndCorners() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/134")) func edgesAndCorners() {
let size = window.size
let expected: [(CGFloat, CGFloat, PictureInPictureGesture.Edge)] = [
(391, 220, .none), (100, 30, .none), (2, 220, .left), (780, 220, .right),
@@ -32,14 +32,14 @@ struct PictureInPictureGestureTests {
/// A click carries a little drift; under 3 pt it moves and resizes nothing, from the middle
/// or from an edge.
- @Test func aClickThatDriftsMovesNothing() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/134")) func aClickThatDriftsMovesNothing() {
#expect(drag(at: 391, 220, by: 2, -2).1 == nil)
#expect(drag(at: 780, 2, by: 2, -2).1 == nil)
#expect(drag(at: 391, 220, by: 3, 0).1 == window.offsetBy(dx: 3, dy: 0))
}
/// Past the threshold the press stays a drag, even back near where it started.
- @Test func aDragStaysADrag() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/134")) func aDragStaysADrag() {
let start = CGPoint(x: window.midX, y: window.midY)
var gesture = PictureInPictureGesture(mouse: start, frame: window)
#expect(gesture.frame(mouse: CGPoint(x: start.x + 1, y: start.y), minSize: minSize, maxSize: maxSize) == nil)
@@ -48,13 +48,13 @@ struct PictureInPictureGestureTests {
#expect(gesture.frame(mouse: CGPoint(x: start.x + 1, y: start.y), minSize: minSize, maxSize: maxSize) == window.offsetBy(dx: 1, dy: 0))
}
- @Test func theMiddleMovesTheWindow() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/134")) func theMiddleMovesTheWindow() {
#expect(drag(at: 391, 220, by: -40, 25).1 == window.offsetBy(dx: -40, dy: 25))
}
/// Each edge and corner grows the window toward the pointer and keeps the opposite one put,
/// so the grabbed edge stays under the pointer.
- @Test func resizeKeepsTheOppositeSideFixed() throws {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/134")) func resizeKeepsTheOppositeSideFixed() throws {
// 16:9, 782 → 960 wide is 540 high.
let cases: [(CGFloat, CGFloat, CGFloat, CGFloat, (CGRect) -> Bool)] = [
(780, 220, 178, 0, { $0.minX == window.minX && $0.maxY == window.maxY }), // right
@@ -74,13 +74,13 @@ struct PictureInPictureGestureTests {
}
}
- @Test func aCornerFollowsTheLongerWay() throws {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/134")) func aCornerFollowsTheLongerWay() throws {
// Mostly down on the bottom-right corner: the height leads.
let f = try #require(drag(at: 780, 2, by: 10, -100).1)
#expect(f.height == 540 && f.width == 960)
}
- @Test func resizeStaysWithinTheLimits() throws {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/134")) func resizeStaysWithinTheLimits() throws {
let small = try #require(drag(at: 780, 220, by: -700, 0).1)
#expect(small.width == 284 && small.height == 160)
let big = try #require(drag(at: 780, 220, by: 2000, 0).1)
diff --git a/Packages/CraCore/Tests/CraCoreTests/ShippedWindowsTests.swift b/Packages/CraCore/Tests/CraCoreTests/ShippedWindowsTests.swift
new file mode 100644
index 0000000..5c2e719
--- /dev/null
+++ b/Packages/CraCore/Tests/CraCoreTests/ShippedWindowsTests.swift
@@ -0,0 +1,37 @@
+import CraCore
+import Testing
+
+/// Shipped issues about Peek, the Little Window, Picture in Picture, split view, windows and
+/// Capture whose decisions have no test of their own type to sit beside. The rest of the area's
+/// promises are marked where they live: PeekTriggerTests (#202), PeekLayoutTests (#204),
+/// GlobalShortcutTests, ActionSearchScopeTests and HiddenFrameReleaseTests (#195),
+/// PictureInPictureGestureTests (#134), ToolbarCompositionTests and ToolbarRoomTests (#178),
+/// ConnectionSecurityTests (#90).
+struct ShippedWindowsTests {
+ /// ⌥⌘N from any app is on unless turned off, as Arc's "Open Little Arc when I press ⌥⌘N" is
+ /// (#195): every settings.json written before the switch existed loads with it on, and Off
+ /// stays off through a save.
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/195"),
+ arguments: ["settings.json", "settings-legacy.json", "settings-empty.json", "settings-bad-routes.json"])
+ func littleWindowShortcutWorksFromAnyAppUnlessTurnedOff(name: String) throws {
+ #expect(AppSettings().littleWindowShortcutEverywhere)
+ var settings = try ModelFixtureTests.loadSettings(name).loaded
+ #expect(settings.littleWindowShortcutEverywhere)
+ settings.littleWindowShortcutEverywhere = false
+ let saved = try ModelFixtureTests.decoder.decode(AppSettings.self, from: ModelFixtureTests.encoder.encode(settings))
+ #expect(!saved.littleWindowShortcutEverywhere)
+ }
+
+ /// The ring round the focused split pane is the space's shadedDark (#178). An Auto space's
+ /// ring is the same in both halves: it comes from the light half's colour, whatever macOS
+ /// shows and whatever colour the dark half has.
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/178"), arguments: ["#F8D558", "#2861B3", "#F25E6B"])
+ func anAutoSpaceRingsTheFocusedPaneInOneColour(hex: String) {
+ let dark = SpaceTheme.Variant(colors: ["#2C273B", "#32263A"], intensity: 1, noise: 0, accent: "#010220")
+ let auto = SpaceTheme(colors: [hex], intensity: 0.5, noise: 0, appearance: "auto", accent: hex, dark: dark)
+ let oneHalf = SpaceTheme(colors: [hex], intensity: 0.5, noise: 0, appearance: "auto", accent: hex)
+ #expect(auto.shadedDark == SpaceTheme.shadedDark(hex))
+ #expect(auto.shadedDark == oneHalf.shadedDark)
+ #expect(auto.resolved(systemDark: false).shadedDark == auto.shadedDark)
+ }
+}
diff --git a/Packages/CraCore/Tests/CraCoreTests/ToolbarCompositionTests.swift b/Packages/CraCore/Tests/CraCoreTests/ToolbarCompositionTests.swift
index c79897a..f93578d 100644
--- a/Packages/CraCore/Tests/CraCoreTests/ToolbarCompositionTests.swift
+++ b/Packages/CraCore/Tests/CraCoreTests/ToolbarCompositionTests.swift
@@ -34,21 +34,21 @@ struct ToolbarCompositionTests {
#expect(bar(.developer, sidebar: true).left.isEmpty)
}
- @Test func theFocusedPaneHasEverythingButTheToggleAndSplitView() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/178")) func theFocusedPaneHasEverythingButTheToggleAndSplitView() {
// Arc 1.171 (#178): ← → ↻ · address · pinned extensions · Extensions · options · close.
let pane = bar(.normal, split: true, back: true, loading: true, pinned: ["a"], extensions: true)
#expect(pane.left == [.back(enabled: true), .forward(enabled: false), .reload(loading: true, enabled: true)])
#expect(pane.right == [.pinnedExtension("a"), .extensions, .splitOptions, .closePane])
}
- @Test func anUnfocusedPaneShowsOnlyTheEssentials() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/178")) func anUnfocusedPaneShowsOnlyTheEssentials() {
// Arc's onlyShowEssentialControls: ← →, the address and close.
let pane = bar(.normal, split: true, focused: false, back: true, pinned: ["a"], extensions: true)
#expect(pane.left == [.back(enabled: true), .forward(enabled: false)])
#expect(pane.right == [.closePane])
}
- @Test func hoveringAnUnfocusedPaneRevealsItsControls() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/178")) func hoveringAnUnfocusedPaneRevealsItsControls() {
// Arc's onHover blueprint: the focused pane's set, so a click that focuses it moves nothing.
let pane = bar(.normal, split: true, focused: false, hovered: true, pinned: ["a"], extensions: true)
#expect(pane.left == [.back(enabled: false), .forward(enabled: false), .reload(loading: false, enabled: true)])
@@ -56,13 +56,13 @@ struct ToolbarCompositionTests {
#expect(pane == bar(.normal, split: true, pinned: ["a"], extensions: true))
}
- @Test func hoverChangesNothingOutsideASplit() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/178")) func hoverChangesNothingOutsideASplit() {
let a = bar(.normal, pinned: ["a"], extensions: true)
#expect(bar(.normal, hovered: true, pinned: ["a"], extensions: true) == a)
#expect(bar(.normal, focused: false, pinned: ["a"], extensions: true) == a)
}
- @Test func anEmptyPaneHasGreyedNavigationAndClose() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/178")) func anEmptyPaneHasGreyedNavigationAndClose() {
for focused in [true, false] {
for hovered in [true, false] {
let pane = bar(.emptyPane, split: true, focused: focused, hovered: hovered, pinned: ["a"], extensions: true)
diff --git a/Packages/CraCore/Tests/CraCoreTests/ToolbarExtensionFitTests.swift b/Packages/CraCore/Tests/CraCoreTests/ToolbarExtensionFitTests.swift
index 0af6929..f287e82 100644
--- a/Packages/CraCore/Tests/CraCoreTests/ToolbarExtensionFitTests.swift
+++ b/Packages/CraCore/Tests/CraCoreTests/ToolbarExtensionFitTests.swift
@@ -34,22 +34,22 @@ struct ToolbarExtensionFitTests {
struct ToolbarRoomTests {
private let pins: [CGFloat] = [34, 34]
- @Test func everythingStaysWhileTheAddressFits() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/178")) func everythingStaysWhileTheAddressFits() {
#expect(ToolbarRoom.plan(pins: pins, reload: 37, settings: 34, needed: 150, room: 200) == .init())
}
- @Test func pinsGoBeforeRefresh() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/178")) func pinsGoBeforeRefresh() {
// 120 + one pin = 154 ≥ 150.
#expect(ToolbarRoom.plan(pins: pins, reload: 37, settings: 34, needed: 150, room: 120) == .init(hiddenPins: 1))
}
- @Test func refreshGoesOnceThePinsAreNotEnough() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/178")) func refreshGoesOnceThePinsAreNotEnough() {
// 40 + 68 = 108 < 150: ↻ goes too, and the address, cut short, keeps the sliders.
#expect(ToolbarRoom.plan(pins: pins, reload: 37, settings: 34, needed: 150, room: 40)
== .init(hiddenPins: 2, hidesReload: true))
}
- @Test func theSlidersGoOnlyWhenTheAddressWouldBeSqueezed() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/178")) func theSlidersGoOnlyWhenTheAddressWouldBeSqueezed() {
// A 215 pt pane (Arc 1.170): ← → · options · ✕ and the address only.
#expect(ToolbarRoom.plan(pins: [], reload: 37, settings: 34, needed: 150, room: 0)
== .init(hidesReload: true, hidesSettings: true))
@@ -61,12 +61,12 @@ struct ToolbarRoomTests {
#expect(ToolbarRoom.plan(pins: [], reload: 37, settings: 34, needed: 150, room: 82 - 37).hidesSettings)
}
- @Test func aShortAddressNeverCostsTheSliders() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/178")) func aShortAddressNeverCostsTheSliders() {
// Needs 60: ↻ makes room (30 + 37 = 67), nothing else goes.
#expect(ToolbarRoom.plan(pins: [], reload: 37, settings: 34, needed: 60, room: 30) == .init(hidesReload: true))
}
- @Test func missingButtonsAreNotHidden() {
+ @Test(.bug("https://github.com/VictorKildahl/cra/issues/178")) func missingButtonsAreNotHidden() {
#expect(ToolbarRoom.plan(pins: [], reload: nil, settings: nil, needed: 150, room: 0) == .init())
}
}
diff --git a/Tests/BrowserManagerLifecycleTests.swift b/Tests/BrowserManagerLifecycleTests.swift
index 6602f11..79fa92f 100644
--- a/Tests/BrowserManagerLifecycleTests.swift
+++ b/Tests/BrowserManagerLifecycleTests.swift
@@ -812,6 +812,7 @@ enum BrowserManagerLifecycleTests {
/// going out of sight, drives Chrome's automatic Picture in Picture (`Cra.autoPictureInPicture`),
/// as Chrome's tab strip and Arc do; coming back has Chrome close the window (GitHub #198).
/// A page Chrome doesn't ask gets the video request.
+ // promise: #198
@MainActor
private static func callPictureInPictureCase() async {
let clock = ManualScheduler()
diff --git a/Tests/FloatingSidebarTests.swift b/Tests/FloatingSidebarTests.swift
index ef9f8c2..359d5dd 100644
--- a/Tests/FloatingSidebarTests.swift
+++ b/Tests/FloatingSidebarTests.swift
@@ -82,7 +82,25 @@ enum FloatingSidebarTests {
expect(!sidebar.isShown && !shell.sidebarDetached && !shell.floatingSidebar,
"an uninterrupted hide still reattaches the sidebar normally")
- // GitHub #82: like Arc, only the key window reveals, so a window behind another can't.
+ onlyTheKeyWindowReveals(window: window, sidebar: sidebar, panel: panel)
+
+ // #136: the pointer is sampled only while Cra is the active app.
+ sidebar.install()
+ expect(!sidebar.isPolling, "an inactive app installs no pointer timer")
+ NotificationCenter.default.post(name: NSApplication.didBecomeActiveNotification, object: NSApp)
+ expect(sidebar.isPolling, "becoming active starts the pointer timer")
+ NotificationCenter.default.post(name: NSApplication.didResignActiveNotification, object: NSApp)
+ expect(!sidebar.isPolling, "leaving the app stops it")
+ window.close()
+ print("Floating sidebar: \(checks) checks passed")
+ }
+
+ /// GitHub #82: like Arc, only the key window's hidden sidebar comes out on hover, so a window
+ /// behind another can't reveal over it. The key window may be one of its own children (the
+ /// page, DevTools, the floating panel); with Cra inactive, none reveals.
+ // promise: #82
+ @MainActor
+ private static func onlyTheKeyWindowReveals(window: NSWindow, sidebar: FloatingSidebarController, panel: NSWindow) {
let page = NSWindow(contentRect: NSRect(x: -9990, y: -9990, width: 1380, height: 860),
styleMask: [.borderless], backing: .buffered, defer: false)
page.isReleasedWhenClosed = false
@@ -105,16 +123,6 @@ enum FloatingSidebarTests {
window.removeChildWindow(page)
page.close()
front.close()
-
- // #136: the pointer is sampled only while Cra is the active app.
- sidebar.install()
- expect(!sidebar.isPolling, "an inactive app installs no pointer timer")
- NotificationCenter.default.post(name: NSApplication.didBecomeActiveNotification, object: NSApp)
- expect(sidebar.isPolling, "becoming active starts the pointer timer")
- NotificationCenter.default.post(name: NSApplication.didResignActiveNotification, object: NSApp)
- expect(!sidebar.isPolling, "leaving the app stops it")
- window.close()
- print("Floating sidebar: \(checks) checks passed")
}
// promise: #24
diff --git a/Tests/StoreTests.swift b/Tests/StoreTests.swift
index 2f98d0a..d9fd62f 100644
--- a/Tests/StoreTests.swift
+++ b/Tests/StoreTests.swift
@@ -38,6 +38,7 @@ enum StoreTests {
sharedFavorites()
themePreview()
try arcSpacesWithoutAThemeShareOneDefault()
+ littleWindowProfile()
tidyTabs()
pinHook()
dropOnPinnedTabSplits()
@@ -401,6 +402,35 @@ enum StoreTests {
"every themeless Arc space gets the same default theme")
}
+ // promise: #172
+ /// A Little Window loads in the profile of the space it opens into and a Peek in its tab's
+ /// (#172): the store answers both with that profile's Chromium folder, nil for Default, and
+ /// the Little Window's profile chip names the page's profile from that folder.
+ @MainActor
+ private static func littleWindowProfile() {
+ let store = AppComposition(clock: ManualScheduler()).store
+ let home = store.createSpace(title: "Little Home", emoji: "🏠", focus: false).id
+ store.setProfile(nil, forSpace: home)
+ let homeTab = store.createTab(url: "https://example.com/home", in: home, select: false)
+ expect(store.profilePath(space: home) == nil && store.profilePath(item: homeTab.id) == nil && store.profileID(item: homeTab.id) == nil,
+ "a space on the Default profile gives its Little Windows and Peeks no profile folder (#172)")
+
+ let work = store.createProfile(name: "Little Work")
+ let space = store.createSpace(title: "Little Work", emoji: "💼", focus: false).id
+ store.setProfile(work.id, forSpace: space)
+ let tab = store.createTab(url: "https://example.com/work", in: space, select: false)
+ let folder = store.profilePath(space: space)
+ expect(folder != nil && folder == store.profilePath(profile: work.id) && store.profilePath(item: tab.id) == folder,
+ "a Little Window opened into a space and a Peek from its tab load in that space's profile folder (#172)")
+ expect(store.profileID(item: tab.id) == work.id && store.profileID(path: folder) == work.id,
+ "the page's profile reads back from its folder, for the Little Window's profile chip (#172)")
+ expect(store.profileID(path: nil) == nil && store.profilePath(profile: UUID()) == nil,
+ "Default, and a profile that is gone, have no folder (#172)")
+ store.deleteSpace(space)
+ store.deleteSpace(home)
+ store.deleteProfile(work.id)
+ }
+
// promise: #170
/// The theme editor (#170): a change shows at once but goes to disk only when the editor
/// commits; Escape or Cancel puts the stored theme back, and a save in between keeps it off disk.
diff --git a/Tests/promises.lock b/Tests/promises.lock
index 00e810b..b6f454c 100644
--- a/Tests/promises.lock
+++ b/Tests/promises.lock
@@ -1,84 +1,60 @@
# 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.
-#2 Tests/BrowserManagerLifecycleTests.swift::embeddedPageHandoffCase 81c5bd4fc4f4
-#2 Tests/StoreTests.swift::windowsShareTheSidebar 9d351f248862
-#4 Tests/BrowserManagerLifecycleTests.swift::embeddedPageHandoffCase 81c5bd4fc4f4
-#4 Tests/StoreTests.swift::windowsShareTheSidebar 9d351f248862
-#12 Packages/CraCore/Tests/CraCoreTests/FavoritesLayoutTests.swift::fourFavoritesMatchArc 5b32a86494ff
-#12 Packages/CraCore/Tests/CraCoreTests/PeekTriggerTests.swift::pinnedTabPeeksAtOtherHosts 78eb016aceed
-#12 Packages/CraCore/Tests/CraCoreTests/PeekTriggerTests.swift::shiftClickPeeksFromAnyTab 894f7cc98ad5
-#12 Packages/CraCore/Tests/CraCoreTests/PeekTriggerTests.swift::todayTabsLoadUnlessEveryTabIsOn 1da8b221f2dc
-#12 Packages/CraCore/Tests/CraCoreTests/ShippedSidebarTests.swift::peekOptionsDefaultToArcs d9ae2dbf0f29
-#21 Tests/StoreTests.swift::reopenClosedTabs 1b97b17bcf25
-#28 Tests/BrowserManagerLifecycleTests.swift::audiblePageStaysAwakeCase 662b3dabe041
-#29 Packages/CraCore/Tests/CraCoreTests/FavoritesLayoutTests.swift::columnsByCountMatchArc 9ab00f8c8434
-#33 Tests/BrowserManagerLifecycleTests.swift::nowPlayingCase 896f39d0c04e
-#33 Tests/BrowserManagerLifecycleTests.swift::nowPlayingSkipsPictureInPictureCase df2bec09cf49
-#33 Tests/BrowserManagerLifecycleTests.swift::playerMediaSessionCase 70013060dd84
-#47 Packages/CraCore/Tests/CraCoreTests/ShippedSidebarTests.swift::newTabRowLeadsToday 9d7d6f680abe
-#49 Packages/CraCore/Tests/CraCoreTests/TabSearchScopeTests.swift::noTabsNoRows c4ea01d1f480
-#49 Packages/CraCore/Tests/CraCoreTests/TabSearchScopeTests.swift::nothingTypedListsByRecency 535e122471df
-#49 Packages/CraCore/Tests/CraCoreTests/TabSearchScopeTests.swift::percentAloneOffersTheScope dce33dc44297
-#49 Packages/CraCore/Tests/CraCoreTests/TabSearchScopeTests.swift::typedRanksByMatchThenRecency baeabb72626c
-#54 Tests/StoreTests.swift::pinnedURL 83caea3b3e16
-#85 Packages/CraCore/Tests/CraCoreTests/FolderPeekTests.swift::aClickOnAPeekedFolderClosesIt 24a4f57dacd5
-#85 Packages/CraCore/Tests/CraCoreTests/FolderPeekTests.swift::closingATabDropsItFromEveryPeek ec91340a5580
-#85 Packages/CraCore/Tests/CraCoreTests/FolderPeekTests.swift::listedRowsFollowTheSidebarAndSkipTabsThatLeft 225937730d3a
-#85 Packages/CraCore/Tests/CraCoreTests/FolderPeekTests.swift::openingATabInClosedFoldersPeeksItUnderTheOutermost 1350dd0a01f0
-#85 Packages/CraCore/Tests/CraCoreTests/FolderPeekTests.swift::openingATabInOpenFoldersPeeksNothing b31730025693
-#85 Packages/CraCore/Tests/CraCoreTests/FolderPeekTests.swift::openingTheFolderDropsItsPeekClosingKeepsTheOpenTab d89a10784f95
-#85 Packages/CraCore/Tests/CraCoreTests/FolderPeekTests.swift::outermostClosedFolderHostsTheTab 8a27ba632a92
-#85 Packages/CraCore/Tests/CraCoreTests/KeyChordTests.swift::commandReturn 8915403f4ea9
-#85 Tests/StoreTests.swift::folderPeek 881cfa7358e9
-#86 Tests/StoreTests.swift::moveTabToSpace dbeb51b2193b
-#92 Packages/CraCore/Tests/CraCoreTests/SpaceWindowTests.swift::aWindowShowingTheSpaceTakesThePage 390d2d0bee66
-#92 Packages/CraCore/Tests/CraCoreTests/SpaceWindowTests.swift::otherwiseTheWindowInUseLastSwitches 2d5ce0f25d2c
-#92 Packages/CraCore/Tests/CraCoreTests/SpaceWindowTests.swift::severalWindowsOnTheSpace 05f1c8e148fa
-#93 Packages/CraCore/Tests/CraCoreTests/WheelSpaceSwitchTests.swift::aFlickSwitches 9a08a5bcb84b
-#93 Packages/CraCore/Tests/CraCoreTests/WheelSpaceSwitchTests.swift::aPauseForgets db51661cda31
-#93 Packages/CraCore/Tests/CraCoreTests/WheelSpaceSwitchTests.swift::aTurnCancelsOut ceae2e8e3adf
-#93 Packages/CraCore/Tests/CraCoreTests/WheelSpaceSwitchTests.swift::coolsDownAfterASwitch ad96a1e74d39
-#93 Packages/CraCore/Tests/CraCoreTests/WheelSpaceSwitchTests.swift::directionFollowsTheSwipe 97f5e60f59ad
-#93 Packages/CraCore/Tests/CraCoreTests/WheelSpaceSwitchTests.swift::naturalScrollingPagesTheSameWay e995be70a20f
-#93 Packages/CraCore/Tests/CraCoreTests/WheelSpaceSwitchTests.swift::oneSlowNotchDoesNothing cf9da6771638
-#93 Packages/CraCore/Tests/CraCoreTests/WheelSpaceSwitchTests.swift::pagesLikeASwipeWithoutWrapping b13c899ca70e
-#93 Packages/CraCore/Tests/CraCoreTests/WheelSpaceSwitchTests.swift::sidewaysDeltaOfZeroIsIgnored 0895de69c11e
-#93 Packages/CraCore/Tests/CraCoreTests/WheelSpaceSwitchTests.swift::theCooldownDropsWhatItSees 7bbdde00bed3
-#105 Packages/CraCore/Tests/CraCoreTests/CloseSuccessorTests.swift::aPinnedSplitHandsOverToNothing 14f062585d10
-#105 Packages/CraCore/Tests/CraCoreTests/CloseSuccessorTests.swift::aPreviousTabWithoutAPageDoesNotCount 7e52205db07d
-#105 Packages/CraCore/Tests/CraCoreTests/CloseSuccessorTests.swift::backToTheTabShownBeforeWhileItHasAPage 4d2a7299a2cf
-#105 Packages/CraCore/Tests/CraCoreTests/CloseSuccessorTests.swift::theClosingTabIsNeverItsOwnSuccessor 0806d70756c6
-#105 Packages/CraCore/Tests/CraCoreTests/CloseSuccessorTests.swift::theNeighbourAboveThenBelow dc125040991f
-#105 Tests/StoreTests.swift::closeSuccessor e120a628d3be
-#139 Packages/CraCore/Tests/CraCoreTests/SidebarCloseTests.swift::commandW 7dbc0ee8396c
-#139 Packages/CraCore/Tests/CraCoreTests/SidebarCloseTests.swift::splitRows 54f8abac7a61
-#139 Packages/CraCore/Tests/CraCoreTests/SidebarCloseTests.swift::tabRows 4a5bf2b97c09
-#139 Packages/CraCore/Tests/CraCoreTests/SidebarModelTests.swift::returningHomeShowsTheHomesNameAndIcon 42a76c8e9cff
-#139 Packages/CraCore/Tests/CraCoreTests/SidebarModelTests.swift::sidebarSubtitle 6d9802f25217
-#154 Packages/CraCore/Tests/CraCoreTests/FavoritesSharingTests.swift::aProfilesListIsReused 56b12941287c
-#154 Packages/CraCore/Tests/CraCoreTests/FavoritesSharingTests.swift::eachProfileGetsOneListOfItsSpacesFavorites 5ef6f88b9e36
-#154 Packages/CraCore/Tests/CraCoreTests/FavoritesSharingTests.swift::keys c19e757f0423
-#154 Packages/CraCore/Tests/CraCoreTests/FavoritesSharingTests.swift::listsRoundTrip fae9338a3816
-#154 Packages/CraCore/Tests/CraCoreTests/FavoritesSharingTests.swift::offAndOnAgainChangesNothing f7af2a60b7bf
-#154 Packages/CraCore/Tests/CraCoreTests/FavoritesSharingTests.swift::settingIsOffUntilTurnedOn bec1ff33d052
-#154 Packages/CraCore/Tests/CraCoreTests/FavoritesSharingTests.swift::sharedListsStayPut c4b4ba09fce7
-#154 Packages/CraCore/Tests/CraCoreTests/FavoritesSharingTests.swift::twoOfAPageInOneSpaceBothStay 95492abd0d48
-#154 Tests/StoreTests.swift::sharedFavorites db5eca7d0a92
+#82 Tests/FloatingSidebarTests.swift::onlyTheKeyWindowReveals e03736669b48
+#90 Packages/CraCore/Tests/CraCoreTests/ConnectionSecurityTests.swift::aCertificateErrorIsNotSecure f7e423ddd42a
+#90 Packages/CraCore/Tests/CraCoreTests/ConnectionSecurityTests.swift::aValidCertificateIsSecure 3b4cecd2fcec
+#90 Packages/CraCore/Tests/CraCoreTests/ConnectionSecurityTests.swift::chromiumsOwnPagesAreSecure 9b1010081072
+#90 Packages/CraCore/Tests/CraCoreTests/ConnectionSecurityTests.swift::mixedContentIsNotSecure 5608e33abcb5
+#90 Packages/CraCore/Tests/CraCoreTests/ConnectionSecurityTests.swift::plainHTTPIsNotSecure e1b56792e997
+#90 Packages/CraCore/Tests/CraCoreTests/ConnectionSecurityTests.swift::revocationThatCannotBeCheckedIsNotAnError 3b4555d9f8dd
+#90 Packages/CraCore/Tests/CraCoreTests/ConnectionSecurityTests.swift::withoutAStatusTheSchemeDecides 33fb05d91a90
+#134 Packages/CraCore/Tests/CraCoreTests/PictureInPictureGestureTests.swift::aClickThatDriftsMovesNothing 991f7abe07c1
+#134 Packages/CraCore/Tests/CraCoreTests/PictureInPictureGestureTests.swift::aCornerFollowsTheLongerWay 03176a7ecc35
+#134 Packages/CraCore/Tests/CraCoreTests/PictureInPictureGestureTests.swift::aDragStaysADrag ffed99ac7e2c
+#134 Packages/CraCore/Tests/CraCoreTests/PictureInPictureGestureTests.swift::edgesAndCorners 23faf039367b
+#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
#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
#155 Packages/CraCore/Tests/CraCoreTests/ModelFixtureTests.swift::autoSpacesKeepBothHalves 89e5047a5e96
#155 Packages/CraCore/Tests/CraCoreTests/SpaceColorPresetsTests.swift::newSpaceIsOneColourOnAuto 32095d76196a
#155 Tests/Scenarios/auto-theme.scenario ecf687c1ce39
-#157 Tests/StoreTests.swift::favoritesEmptyState d14897207ce4
-#168 Tests/Scenarios/open-in-space.scenario 9f2fdc2279a0
#170 Tests/StoreTests.swift::themePreview d10606ab1689
#171 Packages/CraCore/Tests/CraCoreTests/ArcThemeImportTests.swift::autoThemeWithOneHalfKeepsItsLook 6162547ce294
-#176 Packages/CraCore/Tests/CraCoreTests/FavoritesLayoutTests.swift::slotUnderThePointer bb151154628a
-#176 Packages/CraCore/Tests/CraCoreTests/FavoritesLayoutTests.swift::tilesMoveAlongPastTheOpenSlot e3dab87749f3
-#183 Packages/CraCore/Tests/CraCoreTests/LinkMenuTests.swift::defaultSwitchesToTheNewTabLikeArc 169e27801cfa
-#183 Packages/CraCore/Tests/CraCoreTests/LinkMenuTests.swift::settingIsOffForSettingsWithoutIt 6d661c8bddc5
-#183 Packages/CraCore/Tests/CraCoreTests/LinkMenuTests.swift::settingOnKeepsThePageInFrontAndOffersTheSwitch 9086830db26d
-#183 Packages/CraCore/Tests/CraCoreTests/ShippedSidebarTests.swift::backgroundLinksSettingIsKept f4c02e2bd336
-#191 Tests/StoreTests.swift::dropOnPinnedTabSplits ac72302089d5
+#172 Tests/StoreTests.swift::littleWindowProfile cbb20edf1af3
+#178 Packages/CraCore/Tests/CraCoreTests/ShippedWindowsTests.swift::anAutoSpaceRingsTheFocusedPaneInOneColour 8b1715afe8fe
+#178 Packages/CraCore/Tests/CraCoreTests/ToolbarCompositionTests.swift::anEmptyPaneHasGreyedNavigationAndClose 930d3981aac7
+#178 Packages/CraCore/Tests/CraCoreTests/ToolbarCompositionTests.swift::anUnfocusedPaneShowsOnlyTheEssentials e9c33c42d93c
+#178 Packages/CraCore/Tests/CraCoreTests/ToolbarCompositionTests.swift::hoverChangesNothingOutsideASplit e27252b048eb
+#178 Packages/CraCore/Tests/CraCoreTests/ToolbarCompositionTests.swift::hoveringAnUnfocusedPaneRevealsItsControls 20813c06cf54
+#178 Packages/CraCore/Tests/CraCoreTests/ToolbarCompositionTests.swift::theFocusedPaneHasEverythingButTheToggleAndSplitView 7084f9f48a51
+#178 Packages/CraCore/Tests/CraCoreTests/ToolbarExtensionFitTests.swift::aShortAddressNeverCostsTheSliders 0707b2c34d24
+#178 Packages/CraCore/Tests/CraCoreTests/ToolbarExtensionFitTests.swift::everythingStaysWhileTheAddressFits 26ae324e1a1c
+#178 Packages/CraCore/Tests/CraCoreTests/ToolbarExtensionFitTests.swift::missingButtonsAreNotHidden 707555c4dc46
+#178 Packages/CraCore/Tests/CraCoreTests/ToolbarExtensionFitTests.swift::pinsGoBeforeRefresh f9abe9cd9c7f
+#178 Packages/CraCore/Tests/CraCoreTests/ToolbarExtensionFitTests.swift::refreshGoesOnceThePinsAreNotEnough e723177218d9
+#178 Packages/CraCore/Tests/CraCoreTests/ToolbarExtensionFitTests.swift::theSlidersGoOnlyWhenTheAddressWouldBeSqueezed e8aec2739640
+#195 Packages/CraCore/Tests/CraCoreTests/ActionSearchScopeTests.swift::barOpenersAreLeftOut 1a36c34470fb
+#195 Packages/CraCore/Tests/CraCoreTests/ActionSearchScopeTests.swift::nothingTypedListsByUseThenMenuOrder 55375f23aad1
+#195 Packages/CraCore/Tests/CraCoreTests/ActionSearchScopeTests.swift::typedRanksByMatchThenUse 4614e4f53f66
+#195 Packages/CraCore/Tests/CraCoreTests/ActionSearchScopeTests.swift::useCannotBuryABetterName 6a44b33e9129
+#195 Packages/CraCore/Tests/CraCoreTests/GlobalShortcutTests.swift::aChordThatTypesIsNeverTakenFromOtherApps b99280a00c6f
+#195 Packages/CraCore/Tests/CraCoreTests/GlobalShortcutTests.swift::modifiersInCarbonBits 14ae00b2c0cb
+#195 Packages/CraCore/Tests/CraCoreTests/GlobalShortcutTests.swift::theFirstChordIsTakenWhileTheSettingIsOn 6e48513a4d03
+#195 Packages/CraCore/Tests/CraCoreTests/HiddenFrameReleaseTests.swift::eachHidingReleasesOnce 1eb6272ffd89
+#195 Packages/CraCore/Tests/CraCoreTests/HiddenFrameReleaseTests.swift::recentTabsWithinTheCapKeepTheirFrames 8b9ab7aa81af
+#195 Packages/CraCore/Tests/CraCoreTests/HiddenFrameReleaseTests.swift::tabsHiddenLongerThanTheCullAreDue eda41aed2bc6
+#195 Packages/CraCore/Tests/CraCoreTests/HiddenFrameReleaseTests.swift::tabsPastTheCapAreDueOldestFirst faab2afe4a8c
+#195 Packages/CraCore/Tests/CraCoreTests/ShippedWindowsTests.swift::littleWindowShortcutWorksFromAnyAppUnlessTurnedOff d7c46d24f219
+#198 Tests/BrowserManagerLifecycleTests.swift::callPictureInPictureCase bac93fb0309d
+#202 Packages/CraCore/Tests/CraCoreTests/PeekTriggerTests.swift::aNewTabLinkInsideThePeekLeavesIt 97e7217fdf7d
+#204 Packages/CraCore/Tests/CraCoreTests/PeekLayoutTests.swift::closesBackIntoTheLink 28572e61d4ce
+#204 Packages/CraCore/Tests/CraCoreTests/PeekLayoutTests.swift::columnRidesTheCorner e6c195cbc6e9
+#204 Packages/CraCore/Tests/CraCoreTests/PeekLayoutTests.swift::heightLagsWidthAsInArc 0d106e595e46
+#204 Packages/CraCore/Tests/CraCoreTests/PeekLayoutTests.swift::linkFractionsMapOntoThePage 638821c98628
+#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