Created
September 9, 2011 09:42
-
-
Save freynaud/1205848 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@WebTest | |
@Test(groups = { "REGRESSION", "SMOKE" }) | |
public User buyerRegistrationUKEma() { | |
User u = User.createUser(site); | |
BuyerRegValidation.buyerRegPCCheck(site); | |
WebTestSession.webdriver().get(QATEURL.PRIVATE_REG.generate(site, TestSession.getPool())); | |
EnterInfoPage page = new EnterInfoPage(site); | |
page.fillInWithUserData(u); | |
VerificationFlow ema = new EmaFlow(u); | |
ema.process(); | |
ema.performValidation(); | |
CongratulationPage congratzPage = new CongratulationPage(); | |
SpineReporter.log("done"); | |
return u; | |
} | |
private BuyerRegistrationUKTests userFactory = new BuyerRegistrationUKTests(); | |
@WebTest | |
@Test(groups = { "REGRESSION" }) | |
public void sellerRegistrationUKCamilla() { | |
User user = userFactory.buyerRegistrationUKEma(); | |
WebTestSession.webdriver().get(sellerSignIn()); | |
SellerFlow camilla = new CamillaFlow(user); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment