示例#1
0
        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();
        }
示例#2
0
        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();
        }
示例#3
0
        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();
        }
示例#4
0
        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();
        }