コード例 #1
0
        private static void Main(string[] args)
        {
            Driver.Initialize();
            var loginSteps = new LoginSteps();

            loginSteps.LoginAsUser("mkrupej");

            System.Threading.Thread.Sleep(5000);

            //var playerbar = new PlayerBarPage();
            //playerbar.NextSong();
            //playerbar.Mute();
            //playerbar.Unmute();
            //Console.WriteLine($"Is muted? {playerbar.IsMuted()}");
            //playerbar.Unmute();
            ////Console.WriteLine($"Is muted? {playerbar.IsMuted()}");
            //var homePage = new HomePage();
            //homePage
            //    .LeftPanel
            //    .GoToRecentlyPlayedItem(Ordinal.first);
            //homePage
            //    .LeftPanel
            //    .GoToRecentlyPlayedItem(Ordinal.second);
            //homePage
            //    .LeftPanel
            //    .GoToRecentlyPlayedItem(Ordinal.third);
            //homePage
            //    .LeftPanel
            //    .GoToRecentlyPlayedItem(Ordinal.fourth);
            //homePage
            //    .LeftPanel
            //    .GoToRecentlyPlayedItem(Ordinal.fifth);

            var playerControlSteps = new PlayerControlSteps(loginSteps.PagesContext);

            playerControlSteps.Pause();
            playerControlSteps.Play();

            playerControlSteps.SetSongProgress(40);

            IList <int> list = new List <int>();

            //var homePage = new HomePage(loginPage)
            Console.WriteLine("passed");
            Console.ReadKey();
        }