public void Atrakcja5() { //PROBA DODANIA BEZ ZDJECIA MainPageAction mainPageAction = new MainPageAction(driver); LoginPageAction loginPageAction = new LoginPageAction(driver); AtractionPageAction atractionPageAction = new AtractionPageAction(driver); mainPageAction.clickDodajAtrakcjeBT(); loginPageAction.positiveLogin(); mainPageAction.clickDodajAtrakcjeBT(); atractionPageAction.nazwaETSet(GlobalVariables.atractionNamePositive); atractionPageAction.opisETSet(GlobalVariables.atractionOpisPositive); atractionPageAction.localizationBTClick(); atractionPageAction.sendBTClick(); }
public void Atrakcja2() { //POPRAWNE DANE MainPageAction mainPageAction = new MainPageAction(driver); LoginPageAction loginPageAction = new LoginPageAction(driver); AtractionPageAction atractionPageAction = new AtractionPageAction(driver); mainPageAction.clickDodajAtrakcjeBT(); loginPageAction.positiveLogin(); mainPageAction.clickDodajAtrakcjeBT(); atractionPageAction.nazwaETSet(GlobalVariables.atractionNamePositive); atractionPageAction.opisETSet(GlobalVariables.atractionOpisPositive); atractionPageAction.localizationBTClick(); atractionPageAction.imageETSet(GlobalVariables.atractionImagePositive); atractionPageAction.sendBTClick(); }
public void Atrakcja3() { //PROBA DODANIA BEZ NAZWY MainPageAction mainPageAction = new MainPageAction(driver); LoginPageAction loginPageAction = new LoginPageAction(driver); AtractionPageAction atractionPageAction = new AtractionPageAction(driver); mainPageAction.clickDodajAtrakcjeBT(); loginPageAction.positiveLogin(); mainPageAction.clickDodajAtrakcjeBT(); atractionPageAction.opisETSet(GlobalVariables.atractionOpisPositive); atractionPageAction.localizationBTClick(); atractionPageAction.imageETSet(GlobalVariables.atractionImagePositive); atractionPageAction.sendBTClick(); atractionPageAction.nazwaErrValidate(); }
public void Atrakcja1() { //WALIDACJA FORMATKI MainPageAction mainPageAction = new MainPageAction(driver); LoginPageAction loginPageAction = new LoginPageAction(driver); AtractionPageAction atractionPageAction = new AtractionPageAction(driver); mainPageAction.clickDodajAtrakcjeBT(); loginPageAction.positiveLogin(); mainPageAction.clickDodajAtrakcjeBT(); atractionPageAction.nazwaTXValidate(); atractionPageAction.nazwaETSet("bar2"); atractionPageAction.opisTXValidate(); atractionPageAction.opisETSet("najlepszy bar 2"); atractionPageAction.localizationBTClick(); atractionPageAction.imageETSet(GlobalVariables.atractionImagePositive); atractionPageAction.sendBTClick(); }