Example #1
0
        protected virtual void SetUp()
        {
            if (TestRegistry.TestHasFailed)
            {
                Assert.Ignore("Ignored system test after test failure");
            }

            Console.WriteLine("Started {0}", TestContext.CurrentContext.Test.FullName);
            App = BrowserApp.Instance();
            Db(r =>
            {
                r.DeleteAllDocuments();
            });
        }
 public static void Start(bool runHeadless)
 {
     _instance = new BrowserApp(runHeadless);
 }
 public static void Stop()
 {
     using (_instance) { }
     _instance = null;
 }
 public FormModel(BrowserApp app)
 {
     _app = app;
 }