예제 #1
0
        public async void Admin_panel_widgets_page_displays_all_installed_widgets_information()
        {
            // Given I have MyWidget installed in this test project
            // When Admin Panel Widgets page is requested
            var widgetInfos = await _svc.GetManifestsAsync();

            // Then widget's info will displayed
            Assert.Single(widgetInfos);
            Assert.Equal("My Widget", widgetInfos.ToList()[0].Name);
            Assert.Equal("My testing widget.", widgetInfos.ToList()[0].Description);
        }