Exemplo n.º 1
0
 /**
  * @group current
  */
 public function authorization(PaymentTester $I)
 {
     InitTest::dataBaseBackUp($I);
     //        InitTest::dataBaseDump($I);
     //        InitTest::dataBaseBackUp($I);
     //        InitTest::Login($I);
     //        self::$Logged=TRUE;
 }
Exemplo n.º 2
0
 /**
  * @group create
  * @group current
  */
 public function authorization(DeliveryTester $I)
 {
     if (InitTest::Login($I)) {
         $I->wait(1);
         $I->amOnPage(DeliveryPage::$URL);
     }
     InitTest::changeTextAditorToNative($I);
 }
Exemplo n.º 3
0
 public static function Loguot($I)
 {
     if (self::$LoggedIn) {
         $I->wait(1);
         $I->amOnPage('/admin');
         $I->click(".my_icon.exit_ico");
         $I->waitForElement(".form_login.t-a_c");
     }
     self::$LoggedIn = FALSE;
 }
Exemplo n.º 4
0
 /**
  * @guy CurrenciesTester\CurrenciesSteps
  */
 public function CreateAndExitButton(CurrenciesTester\CurrenciesSteps $I)
 {
     $name = "лира";
     $isocode = "лира";
     $symbol = "лира";
     $rate = "01030.2";
     $save = "saveexit";
     $I->CreateCurrency($name, $isocode, $symbol, $rate, $save);
     //        $I->waitForElementVisible('.alert.in.fade.alert-success');
     $I->waitForText('Валюта создана');
     //        $I->waitForElementNotVisible('.alert.in.fade.alert-success');
     $I->waitForText('Список валют');
     $name1 = "лира";
     $isocode1 = "лира";
     $symbol1 = "лира";
     $rate1 = "1030.2000";
     $I->CheckInListLanding($name1, $isocode1, $symbol1);
     $I->click(CurrenciesPage::CurrencyNameLine("last()"));
     $I->CheckInFields($name1, $isocode1, $symbol1, $rate1);
     InitTest::ClearAllCach($I);
 }
Exemplo n.º 5
0
 /**
  * @group a
  */
 public function DeleteNotification(NotificationListTester $I)
 {
     $I->wantTo('Verify Delete Message presence.');
     $I->amOnPage(NotificationListPage::$ListPageURL);
     $I->click(NotificationListPage::$ListMainCheckBox);
     $I->waitForElementVisible(NotificationListPage::$ListButtonDelete);
     $I->click(NotificationListPage::$ListButtonDelete);
     $I->wait('1');
     $I->click(NotificationListPage::$DeleteWindowButtonDelete);
     $I->wait('1');
     InitTest::ClearAllCach($I);
 }
Exemplo n.º 6
0
 /**
  * @group a
  */
 public function TextDeletingNotifi(NotificationListTester $I)
 {
     $I->wantTo('Verify Deleting Notifi.');
     $I->amOnPage(NotificationListPage::$ListPageURL);
     $I->wait('1');
     $I->click(NotificationListPage::$ListMainCheckBox);
     $I->click(NotificationListPage::$ListButtonDelete);
     $I->wait('1');
     $I->click(NotificationListPage::$DeleteWindowButtonDelete);
     $I->wait('1');
     InitTest::ClearAllCach($I);
 }
Exemplo n.º 7
0
 /**
  * @group aaa
  */
 public function TextDeletingNotifi(NotificationListTester $I)
 {
     $I->wantTo('Verrify presence Text Message of Deletiung Window.');
     $I->amOnPage(NotificationListPage::$ListPageURL);
     $I->click(NotificationListPage::$ListMainCheckBox);
     $I->click(NotificationListPage::$ListButtonDelete);
     $I->wait('1');
     $I->click(NotificationListPage::$DeleteWindowButtonDelete);
     //        $I->waitForText('Удаление');
     $I->wait('1');
     $I->exactlySeeAlert($I, 'success', 'Удаление');
     InitTest::ClearAllCach($I);
 }
 /**
  * @guy CurrenciesTester\CurrenciesSteps
  */
 public function SaveAndExitButton(CurrenciesTester\CurrenciesSteps $I)
 {
     $name = "Лат";
     $isocode = "лат";
     $symbol = "лат";
     $rate = "11111";
     $I->EditCurrency($name, $isocode, $symbol, $rate, $save = 'saveexit');
     $I->waitForElementVisible('.alert.in.fade.alert-success');
     $I->see('Изменения сохранены');
     $I->waitForElementNotVisible('.alert.in.fade.alert-success');
     $I->waitForText('Список валют');
     $I->see('Лат', './/*[@id="mainContent"]/section/div[2]/div/form/table/tbody/tr[1]/td[2]/a');
     $I->see('лат', './/*[@id="mainContent"]/section/div[2]/div/form/table/tbody/tr[1]/td[3]');
     $I->see('лат', './/*[@id="mainContent"]/section/div[2]/div/form/table/tbody/tr[1]/td[4]');
     InitTest::ClearAllCach($I);
 }
Exemplo n.º 9
0
 function DeleteCategory()
 {
     $I = $this;
     $I->amOnPage(\DeleteCategoryOrder::$ListURL);
     $I->click(\DeleteCategoryOrder::$ListHeaderCheckBox);
     $I->click(\DeleteCategoryOrder::$ListButtonDelete);
     $I->click(\DeleteCategoryOrder::$DeleteWindowButtonDelete);
     $I->wait('1');
     \InitTest::ClearAllCach($I);
 }
 /**
  * @guy CallbacksTester\CallbacksSteps
  */
 public function Symbols256Create(CallbacksTester\CallbacksSteps $I)
 {
     $name = "12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке123456";
     $name2 = "12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345";
     $I->CreateStatusCallback($name, $name2);
     InitTest::ClearAllCach($I);
 }
Exemplo n.º 11
0
 /**
  * @group create
  * @group current
  */
 public function authorization(PaymentTester $I)
 {
     InitTest::Login($I);
     self::$Logged = true;
 }
Exemplo n.º 12
0
 /**
  * @group edit
  * @guy DeliveryTester\DeliverySteps
  */
 public function Logout(DeliveryTester\DeliverySteps $I)
 {
     InitTest::Loguot($I);
     $this->loggedin = false;
 }
 /**
  * @group verify
  */
 public function logout(DeliveryTester $I)
 {
     InitTest::Loguot($I);
 }
 /**
  * @guy CallbacksTester\CallbacksSteps
  */
 public function Symbols256Create(CallbacksTester\CallbacksSteps $I)
 {
     $name = '12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке123456';
     $name1 = '12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345йцуке12345';
     $I->CreateThemeCallback($name, $name1);
     InitTest::ClearAllCach($I);
 }
 /**
  * @group message
  * @group current
  */
 public function authorization(DeliveryTester $I)
 {
     InitTest::Login($I);
 }
Exemplo n.º 16
0
 public function CreateCallbackWithoutThemes(CallbacksTester $I)
 {
     //Проверка возможности отправки колбека без созданных тем колбеков
     $I->amOnPage('/');
     $I->waitForText('Заказать звонок');
     $I->click(CallbacksPage::$OrderCallButton);
     $I->waitForElement(CallbacksPage::$CallMeButton);
     $I->fillField(CallbacksPage::$UserNameCreate, 'www');
     $I->fillField(CallbacksPage::$TelephoneCreate, '11');
     $I->click(CallbacksPage::$CallMeButton);
     $I->waitForElementNotVisible('.//*[@id="ordercall"]');
     $I->amOnPage('/admin');
     $I->click('html/body/div[1]/div[3]/div/nav/ul/li[2]/a');
     $I->waitForElement('html/body/div[1]/div[3]/div/nav/ul/li[2]/ul');
     $I->click('html/body/div[1]/div[3]/div/nav/ul/li[2]/ul/li[5]/a');
     $I->waitForElementNotVisible('html/body/div[1]/div[3]/div/nav/ul/li[2]/ul');
     $I->wait('5');
     $kil1 = $I->grabTextFrom('.//*[@id="totalCallbacks"]');
     $I->comment($kil1);
     //$kil=explode(" ", $kil1);
     $kil = substr($kil1, 39, 41);
     $I->comment($kil);
     if ($kil <= 14) {
         $rowCallback = $I->grabClassCount($I, "btn btn-small btn-danger my_btn_s");
         $I->comment((string) $rowCallback);
         $I->see('www', ".//*[@id='callbacks_all']/table/tbody/tr[{$rowCallback}]/td[3]/a");
         $I->see('11', ".//*[@id='callbacks_all']/table/tbody/tr[{$rowCallback}]/td[4]");
         $nameThemeList = $I->grabAttributeFrom(".//*[@id='callbacks_all']/table/tbody/tr[{$rowCallback}]/td[5]/div/select", "selected");
         $I->comment("{$nameThemeList}");
         $I->assertEquals($nameThemeList, null);
         $I->click(".//*[@id='callbacks_all']/table/tbody/tr[last()]/td[3]/a");
         $I->waitForElement('.//*[@id="editCallbackForm"]/div[5]/label');
         $nameThemeEdit = $I->grabAttributeFrom('.//*[@id="editCallbackForm"]/div[1]/div/select', "selected");
         $I->comment("{$nameThemeEdit}");
         $I->assertEquals($nameThemeEdit, null);
     } else {
         $I->click('.//*[@id="gopages"]/div/ul/li[last()-1]/a');
         $I->wait('2');
         $rowCallback = $I->grabClassCount($I, "btn btn-small btn-danger my_btn_s");
         $I->comment((string) $rowCallback);
         $I->see('www', ".//*[@id='callbacks_all']/table/tbody/tr[{$rowCallback}]/td[3]/a");
         $I->see('11', ".//*[@id='callbacks_all']/table/tbody/tr[{$rowCallback}]/td[4]");
         $nameThemeList = $I->grabAttributeFrom(".//*[@id='callbacks_all']/table/tbody/tr[{$rowCallback}]/td[5]/div/select", "selected");
         $I->comment("{$nameThemeList}");
         $I->assertEquals($nameThemeList, null);
         $I->click(".//*[@id='callbacks_all']/table/tbody/tr[last()]/td[3]/a");
         $I->waitForElement('.//*[@id="editCallbackForm"]/div[5]/label');
         $nameThemeEdit = $I->grabAttributeFrom('.//*[@id="editCallbackForm"]/div[1]/div/select', "selected");
         $I->comment("{$nameThemeEdit}");
         $I->assertEquals($nameThemeEdit, null);
     }
     InitTest::ClearAllCach($I);
 }
Exemplo n.º 17
0
 /**
  * @group a
  */
 public function VerifyDeletingaStatusNotPresenceOrderListPage(OrderStatusesTester $I)
 {
     $I->wantTo('Verify Created Status Present on Orders List Page.');
     $nameEditStatus = 'Отредактированний Статус Order';
     $nameStatus = '123 Super Созданний Status Заказа 890';
     $I->amOnPage(OrdersListPage::$ListURLorders);
     $positionsInOption = $I->grabTagCount($I, 'select option');
     $I->comment("Number Rows:'{$positionsInOption}' In List Select");
     if ($positionsInOption > 3) {
         for ($j = 1; $j <= $positionsInOption; ++$j) {
             $nameStSl = $I->grabTextFrom("//table/thead/tr[2]/td[3]/select/option[{$j}]");
             $I->comment("In Row:'{$j}', Presence Status:'{$nameStSl}'.");
         }
         $I->dontSee('-- Все --', '//table/thead/tr[2]/td[3]/select');
     } elseif ($positionsInOption == 3) {
         $p = $I->grabTextFrom('//table/thead/tr[2]/td[3]/select/option[1]');
         $o = $I->grabTextFrom('//table/thead/tr[2]/td[3]/select/option[2]');
         $k = $I->grabTextFrom('//table/thead/tr[2]/td[3]/select/option[3]');
         $I->comment("In List Select Presence Defolt Statuses:'{$p},{$o},{$k}'.");
     }
     $I->dontSee($nameStatus, '//table/thead/tr[2]/td[3]/select');
     $I->dontSee($nameEditStatus, '//table/thead/tr[2]/td[3]/select');
     InitTest::ClearAllCach($I);
 }
 /**
  * @guy CallbacksTester\CallbacksSteps
  */
 public function SaveAndExit(CallbacksTester\CallbacksSteps $I)
 {
     $name = 'sss';
     $I->EditStatusCallback($name, $name, $save = 'saveexit');
     //        $I->amOnPage('/admin/components/run/shop/callbacks/statuses');
     //        $I->click('.//*[@id="orderStatusesList"]/section/div[2]/div/table/tbody/tr[1]/td[2]/a');
     //        $I->waitForText('Редактирование статуса обратного звонка');
     //        $I->fillField(CallbacksPage::$NameStatus, 'sss');
     //        $I->click(CallbacksPage::$SaveAndExitButton);
     //        $I->waitForElementVisible('.alert.in.fade.alert-success');
     //        $I->see('Изменения сохранены');
     //        $I->waitForElementNotVisible('.alert.in.fade.alert-success');
     //        $I->waitForText('Статусы обратных звонков');
     //        $I->see('sss', './/*[@id="orderStatusesList"]/section/div[2]/div/table/tbody/tr[1]/td[2]/a');
     InitTest::ClearAllCach($I);
 }
Exemplo n.º 19
0
 /**
  * @guy CallbacksTester\CallbacksSteps
  */
 public function Symbols255Create(CallbacksTester\CallbacksSteps $I)
 {
     $name = '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456781234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567';
     $phone = '12345678901234567890123456789012345678901234567890';
     $comment = '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456781234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567';
     $I->CreateCallback($name, $phone, $comment);
     $I->waitForElementNotVisible('.//*[@id="ordercall"]');
     $I->CheckListLandingAndEditingPage($name, $phone, $comment);
     InitTest::ClearAllCach($I);
 }
Exemplo n.º 20
0
 /**
  * @group a
  */
 public function DELETING(NotificationStatusesTester $I)
 {
     $I->wantTo('Verify Delete and Not Present Status.');
     $I->amOnPage(NotificationStatusesPage::$ListPageURL);
     $I->click(NotificationStatusesPage::$ListHeaderCheckBox);
     $I->click(NotificationStatusesPage::$ListCheckBoxFirst);
     $I->click(NotificationStatusesPage::$ListCheckBoxSecond);
     $I->click(NotificationStatusesPage::$ListButtonDelete);
     $I->wait('1');
     $I->click(NotificationStatusesPage::$DeleteWindowButtonDelete);
     $I->wait('1');
     $I->dontSee(InitTest::$textSymbols);
     InitTest::ClearAllCach($I);
 }
Exemplo n.º 21
0
 /**
  * @group a
  */
 public function MessageDeletingStatusWindow(OrderStatusesTester $I)
 {
     $I->wantTo('Verify Message About Deleting Status Present.');
     $I->amOnPage(OrderStatusesListPage::$ListURL);
     $I->click(OrderStatusesListPage::$ListButtonDelete);
     $I->wait(1);
     $I->click(OrderStatusesListPage::$DeleteButtonDelete);
     $I->wait(1);
     $I->see('Статус удален', OrderStatusesListPage::$DeleteMessageDeleting);
     InitTest::ClearAllCach($I);
 }
Exemplo n.º 22
0
 /**
  * @group a
  */
 public function DeleteNotification(NotificationStatusesTester $I)
 {
     $I->wantTo('Deleted Notification.');
     $I->amOnPage(NotificationListPage::$ListPageURL);
     $I->click(NotificationListPage::$ListMainCheckBox);
     $I->click(NotificationListPage::$ListButtonDelete);
     $I->wait('1');
     $I->click(NotificationListPage::$DeleteWindowButtonDelete);
     $I->wait('1');
     InitTest::ClearAllCach($I);
 }
 /**
  * @guy CallbacksTester\CallbacksSteps
  */
 public function SaveAndExitButton(CallbacksTester\CallbacksSteps $I)
 {
     $name = 'www';
     $I->EditThemeCallback($name, $name, $save = 'saveexit');
     InitTest::ClearAllCach($I);
 }
Exemplo n.º 24
0
 /**
  * @group a
  */
 public function Login(AcceptanceTester $I)
 {
     InitTest::Login($I);
 }
Exemplo n.º 25
0
 /**
  * @group a
  * @guy OrdersTester\OrdersSteps
  */
 public function AddBasketProductAmountYes(OrdersTester\OrdersSteps $I)
 {
     $I->wantTo('Verify Add To Basket Product Whith Zero Amount.');
     $I->createProduct($nameProduct = 'Товарчик с нулевым складеке Yes.', $nameVariantProduct = NULL, $priceProduct = 1, $articleProduct = NULL, $amountProduct = 0, $categoryProduct = CreateCategoryOrdersPage::$CrtCatName1ForSearch);
     $I->SearchProductNameSelect($typeCategoryName = CreateCategoryOrdersPage::$CrtCatName1ForSearch, $typeProductName = $nameProduct);
     $I->click(\CreateOrderAdminPage::$CrtPButtAddToCart);
     $I->SearchProductInBascket($name = $nameProduct, $variant = $nameVariantProduct, $Price = '1', $totalPrice = '1', $Check = '1');
     InitTest::ClearAllCach($I);
 }
 public function DeleteCurUsedInPaymentMethods(CurrenciesTester $I)
 {
     //Проверка возможности удаления валюты, которая используется в способах оплаты
     $I->amOnPage("/admin/components/run/shop/currencies");
     $SymbolCur = $I->grabTextFrom(".//*[@class='']/tr[4]/td[4]");
     $id = $I->grabTextFrom(".//*[@class='']/tr[4]/td[1]");
     $I->comment("{$SymbolCur}");
     $I->comment("{$id}");
     $I->amOnPage('/admin/components/run/shop/paymentmethods/create');
     $I->waitForText('Создание способа оплаты');
     $I->fillField(PaymentCreatePage::$FieldName, 'Оплата');
     $I->click(PaymentCreatePage::$SelectCurrency);
     $I->click(PaymentCreatePage::SelectCurrency('4'));
     $I->wait('1');
     $SelectCur = $I->grabTextFrom(PaymentCreatePage::SelectCurrency('4'));
     $I->comment("{$SelectCur}");
     $SelectCur = trim(preg_replace("/\\s+/", " ", $SelectCur));
     $Cur = explode(" ", $SelectCur);
     foreach ($Cur as $key => $value) {
         if ($value) {
             $I->comment("{$key}: {$value}");
         }
     }
     $text = $Cur[2];
     $I->comment($text);
     $I->click(PaymentCreatePage::$ButtonCreate);
     $I->waitForText("Способ оплаты создан");
     $I->assertEquals($SymbolCur, $text);
     $I->amOnPage("/admin/components/run/shop/currencies");
     $I->click(CurrenciesPage::DeleteButtonLine('4'));
     $I->waitForElement(".//div[@class='modal hide fade in']");
     $I->see('Удалить валюту');
     $I->see('Удалить выбранную валюту?');
     $I->see('Удалить', './/*[@id="first"]/div[3]/a[1]');
     $I->see('Отменить', './/*[@id="first"]/div[3]/a[2]');
     $I->click('.//*[@id="first"]/div[3]/a[1]');
     $I->waitForElementVisible('.alert.in.fade.alert-error');
     $I->see('Невозможно удалить валюту. Эта валюта используется в Способах оплаты.');
     $I->waitForElementNotVisible('.alert.in.fade.alert-error');
     $I->amOnPage('/admin/components/run/shop/paymentmethods/index');
     $I->click(PaymentListPage::CheckboxLine('last()'));
     $I->wait('2');
     $I->click(PaymentListPage::$ButtonDelete);
     $I->waitForElement(".//*[@id='mainContent']/div/div[1]");
     $I->wait('1');
     $I->click(".//*[@id='mainContent']/div/div[1]/div[3]/a[1]");
     $I->waitForElementVisible('.alert.in.fade.alert-success');
     $I->see('Способ оплаты удален');
     $I->waitForElementNotVisible('.alert.in.fade.alert-success');
     $I->amOnPage("/admin/components/run/shop/currencies");
     $I->click(CurrenciesPage::DeleteButtonLine('4'));
     $I->waitForElement(".//div[@class='modal hide fade in']");
     $I->see('Удалить валюту');
     $I->see('Удалить выбранную валюту?');
     $I->see('Удалить', './/*[@id="first"]/div[3]/a[1]');
     $I->see('Отменить', './/*[@id="first"]/div[3]/a[2]');
     $I->click('.//*[@id="first"]/div[3]/a[1]');
     $I->waitForElementVisible('.alert.in.fade.alert-success');
     $I->see('Валюта успешно удалена');
     $I->waitForElementNotVisible('.alert.in.fade.alert-success');
     $rows = $I->grabTagCount($I, "tbody tr");
     for ($j = 1; $j <= $rows; $j++) {
         $idAfter = $I->grabTextFrom("//tbody/tr[{$j}]/td[1]");
         $I->comment($idAfter);
         if ($idAfter == $id) {
             $I->fail("NOT DELETED");
             break;
         }
     }
     InitTest::ClearAllCach($I);
 }
Exemplo n.º 27
0
 public function Autorization(DiscountsTester $I)
 {
     InitTest::Login($I);
     $I->amOnPage("/admin/components/cp/mod_discount");
     $I->waitForText("Скидки интернет-магазина");
 }
Exemplo n.º 28
0
 /**
  * @guy CallbacksTester\CallbacksSteps
  */
 public function SaveAndExitButton(CallbacksTester\CallbacksSteps $I)
 {
     $name = 'Karl';
     $phone = '898989';
     $comment = 'Comment by Karl';
     $I->EditCallback($name, $phone, $comment, $save = 'saveexit');
     $I->waitForElementVisible('.alert.in.fade.alert-success');
     $I->see('Изменения сохранены');
     $I->waitForElementNotVisible('.alert.in.fade.alert-success');
     $I->see('Karl', './/*[@id="callbacks_all"]/table/tbody/tr[1]/td[3]/a');
     $I->see('898989', './/*[@id="callbacks_all"]/table/tbody/tr[1]/td[4]');
     $I->click(CallbacksPage::UserNameLine('1'));
     $I->waitForElement('.//*[@id="editCallbackForm"]/div[2]/label');
     $I->seeInField(CallbacksPage::$CommentEdit, 'Comment by Karl');
     InitTest::ClearAllCach($I);
 }
Exemplo n.º 29
0
 /**
  * @group a
  */
 public function Login(OrdersTester $I)
 {
     InitTest::Login($I);
 }
Exemplo n.º 30
0
 public function DeleteNotDefaultStatus(CallbacksTester $I)
 {
     //Удаление статуса не отмеченного по умолчанию
     $I->amOnPage("/admin/components/run/shop/callbacks/statuses");
     $I->comment((string) $this->j);
     $I->comment((string) $this->rows);
     if ($this->j < $this->rows) {
         $this->j++;
         $idDeleteStatus = $I->grabTextFrom(".//*[@id='orderStatusesList']/section/div[2]/div/table/tbody/tr[{$this->j}]/td[1]");
         $I->click(CallbacksPage::DeleteStatusButtonLine($this->j));
     } else {
         $this->j--;
         $idDeleteStatus = $I->grabTextFrom(".//*[@id='orderStatusesList']/section/div[2]/div/table/tbody/tr[{$this->j}]/td[1]");
         $I->click(CallbacksPage::DeleteStatusButtonLine($this->j));
     }
     //        $I->waitForElementVisible("alert.in.fade.alert-success");
     //        $I->See("Статус был удален");
     //        $I->waitForElementNotVisible("alert.in.fade.alert-success");
     $I->wait(2);
     $this->rows--;
     $rowsAfterDelete = $I->grabTagCount($I, "tbody tr");
     $I->comment($rowsAfterDelete);
     $I->assertEquals($rowsAfterDelete, $this->rows);
     for ($k = 1; $k <= $this->rows; $k++) {
         $noId = $I->grabTextFrom(".//*[@id='orderStatusesList']/section/div[2]/div/table/tbody/tr[{$k}]/td[1]");
         $I->comment("{$noId}");
         if ($noId == $idDeleteStatus) {
             $I->fail("NOT DELETED");
             break;
         }
     }
     InitTest::ClearAllCach($I);
 }