Beispiel #1
0
        public void Table_Navigatable()
        {
            GoTo1Page goToPage = page.
                                 NavigatableTable.Should.Exist().
                                 NavigatableTable.Rows.Count.Should.Equal(4).
                                 NavigatableTable.Rows[r => r.FirstName == "Jack"].ClickAndGo();

            Assert.That(goToPage, Is.Not.Null);
        }
Beispiel #2
0
        public void Go_To_LinkNavigation()
        {
            GoTo1Page page1 = Go.To <GoTo1Page>();

            AssertNoTemporarilyPreservedPageObjects();

            GoTo1Page page1Returned = page1.
                                      GoTo2.ClickAndGo().
                                      GoTo1();

            AssertNoTemporarilyPreservedPageObjects();
            Assert.That(page1Returned, Is.Not.EqualTo(page1));
        }