You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
settings/tests/ui/notifications_test.cpp

15 lines
421 B
C++

// SPDX-FileCopyrightText: 2026 Reion Wong <reionwong@gmail.com>
// SPDX-License-Identifier: BSD-3-Clause
#include <gtest/gtest.h>
#include "pagetest.h"
TEST(NotificationsPage, ShowsTheEmptyCardWithoutApplications)
{
PageFixture page("notifications");
EXPECT_EQ(page.count("settings::SwitchRow"), 1);
EXPECT_EQ(page.count("settings::RowComboBox"), 0);
EXPECT_EQ(page.count("settings::Footnote"), 0);
}