// SPDX-FileCopyrightText: 2026 Reion Wong // SPDX-License-Identifier: BSD-3-Clause #include #include #include "pages/icontheme/iconthemes.h" #include "pagetest.h" TEST(IconThemePage, ListsTheInstalledThemes) { const auto themes = settings::IconTheme::installed(); // hicolor is a fallback, not a theme to choose. EXPECT_TRUE(std::none_of(themes.begin(), themes.end(), [](const auto& theme) { return theme.id == "hicolor"; })); PageFixture page("appearance", "icontheme"); EXPECT_EQ(page.count("settings::ImageSelectionItem"), int(themes.size())); }