        }
        XCTAssertNil(showInfoEffect)

        // Ensure the info list modal is visible.
        let (nextViewModel, _) = root.viewModel(for: [], at: displayTime)
        guard case .info(_, .none) = nextViewModel.modal else {
            XCTFail("Expected .info list, got \(nextViewModel.modal)")
            return
        }

        // Show the license info.
        let showAction: Root.Action = .infoListEffect(.showLicenseInfo)
        let showEffect: Root.Effect?
        do {
            showEffect = try root.update(showAction)