Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NickBaynham/abacea078e78e1e404829c0e4396ae19 to your computer and use it in GitHub Desktop.
Save NickBaynham/abacea078e78e1e404829c0e4396ae19 to your computer and use it in GitHub Desktop.
package selfHealingExamples.tests.registration;
import io.nickbaynham.automation.selfhealing.BrowserNotAvailableException;
import io.nickbaynham.automation.selfhealing.controllers.ElementNotFoundException;
import org.testng.annotations.Test;
import selfHealingExamples.workflows.RegistrationDiscoveryWorkflow;
import selfHealingExamples.workflows.RegistrationWorkflow;
import static org.testng.AssertJUnit.assertTrue;
public class RegistrationDiscoveryWorkflowTest extends BaseTest {
@Test
public void TestRegistrationDiscoveryWorkflow() throws BrowserNotAvailableException, ElementNotFoundException {
RegistrationDiscoveryWorkflow registrationWorkflow = new RegistrationDiscoveryWorkflow(getDriver());
assertTrue(registrationWorkflow.completeRegistration(
"John",
"Jones",
"JJ",
"Alberqurque",
"NM",
"87109",
false));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment