public void CheckSynchronizationWithAngularFuctionality()
        {
            var driverContext = new DriverContext {
                CurrentDirectory = TestContext.CurrentContext.TestDirectory
            };

            driverContext.Start();
            var Default_false = DriversCustomSettings.IsDriverSynchronizationWithAngular(driverContext.Driver);

            driverContext.Driver.SynchronizeWithAngular(true);
            var TurnOn_true = DriversCustomSettings.IsDriverSynchronizationWithAngular(driverContext.Driver);

            driverContext.Driver.SynchronizeWithAngular(false);
            var TurnOn_false = DriversCustomSettings.IsDriverSynchronizationWithAngular(driverContext.Driver);

            driverContext.Stop();
            Assert.False(Default_false, "Default setting is not false");
            Assert.True(TurnOn_true, "Setting is not true");
            Assert.False(TurnOn_false, "Setting is not false");
        }
示例#2
0
 public void CleanUp()
 {
     driverContext.Stop();
 }