示例#1
0
        public void OpenInteractive()
        {
            buildApplication();

            run();

            _driver.NavigateToHome();
        }
示例#2
0
 public void Setup()
 {
     _context = new TestContext();
     _system  = new InProcessSerenitySystem <ProductsManagementApplication>();
     _system.Setup();
     _system.SetupEnvironment();
     _system.RegisterServices(_context);
     _navigation = _context.Retrieve <NavigationDriver>();
     _navigation.NavigateToHome();
 }
示例#3
0
        public void OpenInteractive()
        {
            buildApplication();

            var threadStart = new ThreadStart(run);

            _kayakLoop = new Thread(threadStart);
            _kayakLoop.Start();


            // TODO -- make a helper method for this
            _driver.NavigateToHome();

            _reset.WaitOne();
        }
 public void Setup()
 {
     _context = new TestContext();
     _system = new InProcessSerenitySystem<ProductsManagementApplication>();
     _system.Setup();
     _system.SetupEnvironment();
     _system.RegisterServices(_context);
     _navigation = _context.Retrieve<NavigationDriver>();
     _navigation.NavigateToHome();
 }
示例#5
0
 public void can_open_the_top_level_page()
 {
     theDriver.NavigateToHome();
     theDriver.Driver.PageSource.ShouldContain("Hello, it's");
 }