Example #1
0
        public void clickDetailsOnAdminRow()
        {
            page.clickDetailsInRow(1);
            detailsClientPage = new DetailsClientPage(driver);
            detailsClientPage.waitForHeader();
            string text = detailsClientPage.getHeaderText();

            Assert.AreEqual("Details about the client", text);
        }
Example #2
0
        public void properDetailsDisplayTest()
        {
            string adminEmail = page.getFieldFromRow(page.getTableRow(1), 1);

            page.clickDetailsInRow(1);
            detailsClientPage = new DetailsClientPage(driver);
            string detailsEmail = detailsClientPage.getEmail();

            Assert.AreEqual(adminEmail, detailsEmail);
        }