Example #1
0
		public void Cleanup()
		{
			VerifyLogs(_logContent);

			var manageUsersPage = new ManageUsersPage(_driver);
			manageUsersPage.OpenUsingControlPanel(_baseUrl);
			manageUsersPage.DeleteUser(_registeredUserName);
			manageUsersPage.RemoveDeletedUsers();
		}
		public void Cleanup()
		{
			VerifyLogs(_logContent);

			var module = new MessageCenterModule(_driver);
			module.OpenNotificationsUsingIcon();
			module.DismissNotification(MessageCenterModule.NotificationSubject);
			module.DismissNotification(MessageCenterModule.NotificationSubject);
			module.DismissNotification(MessageCenterModule.NotificationSubject);

			var manageUsersPage = new ManageUsersPage(_driver);
			manageUsersPage.OpenUsingControlPanel(_baseUrl);
			manageUsersPage.DeleteUser(_userWithPublicRegistration);
			manageUsersPage.DeleteUser(_userWithVerifiedRegistration);
			manageUsersPage.DeleteUser(_userWithPrivateRegistration);
			manageUsersPage.RemoveDeletedUsers();
		}
		public void Cleanup()
		{
			VerifyLogs(_logContent);

			var manageUsersPage = new ManageUsersPage(_driver);
			manageUsersPage.OpenUsingControlPanel(_baseUrl);
			manageUsersPage.DeleteUser(_userNameNumberOne);
			manageUsersPage.DeleteUser(_userNameNumberTwo);
			manageUsersPage.DeleteUser(_userNameNumberThree);
			manageUsersPage.RemoveDeletedUsers();

			/*var page = new BlankPage(_driver);
			page.OpenUsingUrl(_baseUrl, _pageName);
			page.DeletePage(_pageName);

			var adminRecycleBinPage = new AdminRecycleBinPage(_driver);
			adminRecycleBinPage.OpenUsingButtons(_baseUrl);
			adminRecycleBinPage.EmptyRecycleBin();*/

			RemoveUsedPage(_pageName);
		}