Пример #1
0
 public void ThenTheProviderDetailsShouldBeUpdatedWithTheEmail()
 {
     Pages.ProviderPage ProviderPage = new Pages.ProviderPage(webDriver);
     ProviderPage.AccessProviderDetails();
     PageInteractionHelper.VerifyEditFieldText(OpenQA.Selenium.By.Id("Email"), ProviderClass.GetProviderInstance().EmailValue);
 }
Пример #2
0
 public void GivenIHaveAddedEmailToTheProviderDetailsAndClickedSave()
 {
     Pages.ProviderPage ProviderPage = new Pages.ProviderPage(webDriver);
     ProviderClass.GetProviderInstance().EmailValue = RandomDataGenerator.GenerateRandomEmail();
     ProviderPage.UpdateProvider(ProviderClass.GetProviderInstance().GetEmail(), ProviderClass.GetProviderInstance().EmailValue);
 }