mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 04:59:35 -07:00
* We now have the ability to import local tracks into Lidarr. Switching to IDv3 tag reading over custom parsing for local tracks. * Stable code for track refresh. * RefreshArtist and RescanArtist events are working correctly. Need to add potential rejection decisions in future. * Implemented code comments * PR comments and fixing some odd db bugs. * Fix some conflicts after Unit Test PR Merge Fix some conflicts after Unit Test PR Merge * Track/Album Add and Update Fixes Track/Album Add and Update Fixes * Fixed an issue with trackimport looking up trackId instead of artistId * Add Handle to TrackService for TrackAddedEvent Add Handle to TrackService for TrackAddedEvent * Update Quality Regex, Store BitRateMode in TrackFile Update Quality Regex, Store BitRateMode in TrackFile
76 lines
No EOL
1.8 KiB
C#
76 lines
No EOL
1.8 KiB
C#
using FluentAssertions;
|
|
using NUnit.Framework;
|
|
using NzbDrone.Automation.Test.PageModel;
|
|
using OpenQA.Selenium;
|
|
|
|
namespace NzbDrone.Automation.Test
|
|
{
|
|
[TestFixture]
|
|
public class MainPagesTest : AutomationTest
|
|
{
|
|
private PageBase page;
|
|
|
|
[SetUp]
|
|
public void Setup()
|
|
{
|
|
page = new PageBase(driver);
|
|
}
|
|
|
|
[Test]
|
|
public void artist_page()
|
|
{
|
|
page.ArtistNavIcon.Click();
|
|
page.WaitForNoSpinner();
|
|
page.FindByClass("iv-artist-index-artistindexlayout").Should().NotBeNull();
|
|
}
|
|
|
|
[Test]
|
|
public void calendar_page()
|
|
{
|
|
page.CalendarNavIcon.Click();
|
|
page.WaitForNoSpinner();
|
|
|
|
page.FindByClass("iv-calendar-calendarlayout").Should().NotBeNull();
|
|
}
|
|
|
|
[Test]
|
|
public void activity_page()
|
|
{
|
|
page.ActivityNavIcon.Click();
|
|
page.WaitForNoSpinner();
|
|
|
|
page.FindByClass("iv-activity-activitylayout").Should().NotBeNull();
|
|
}
|
|
|
|
[Test]
|
|
public void wanted_page()
|
|
{
|
|
page.WantedNavIcon.Click();
|
|
page.WaitForNoSpinner();
|
|
|
|
page.FindByClass("iv-wanted-missing-missinglayout").Should().NotBeNull();
|
|
}
|
|
|
|
[Test]
|
|
public void system_page()
|
|
{
|
|
page.SystemNavIcon.Click();
|
|
page.WaitForNoSpinner();
|
|
|
|
page.FindByClass("iv-system-systemlayout").Should().NotBeNull();
|
|
}
|
|
|
|
[Test]
|
|
public void add_series_page()
|
|
{
|
|
page.ArtistNavIcon.Click();
|
|
page.WaitForNoSpinner();
|
|
|
|
page.Find(By.LinkText("Add Artist")).Click();
|
|
|
|
page.WaitForNoSpinner();
|
|
|
|
page.FindByClass("iv-addartist-addartistlayout").Should().NotBeNull();
|
|
}
|
|
}
|
|
} |