Ejemplo n.º 1
0
        public void OpenInteractive()
        {
            buildApplication();

            run();

            _driver.NavigateToHome();
        }
Ejemplo n.º 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();
 }
Ejemplo n.º 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();
        }
Ejemplo n.º 4
0
 public void Setup()
 {
     _context = new TestContext();
     _system = new InProcessSerenitySystem<ProductsManagementApplication>();
     _system.Setup();
     _system.SetupEnvironment();
     _system.RegisterServices(_context);
     _navigation = _context.Retrieve<NavigationDriver>();
     _navigation.NavigateToHome();
 }
Ejemplo n.º 5
0
 public void can_open_the_top_level_page()
 {
     theDriver.NavigateToHome();
     theDriver.Driver.PageSource.ShouldContain("Hello, it's");
 }