text: describe('checking-cards', () => {
      before(() => {
          browser.helpers.openList();
      });
  
      // стандартный режим
      it('consider the number of cards', function() {
          this.retries(2);
          // считае кол-во карточек на странице
          const { length: numberOfCards } = $$('.avn001-2_catalogue-item');
          for( let i = 1; i <= 4; i++) {
              const card = `.avn001_display__enable-hover > div:nth-child(1) .grid_l_3:nth-child(${i})`;
              browser.waitForExist(card, 10000);
              browser.waitForVisible(`${card} img`, 5000);
          }
          for( let i = 1; i <= numberOfCards - 4; i++) {
              const card = `.avn001_display__enable-hover > div:nth-child(3) .grid_l_3:nth-child(${i})`;
              browser.scroll(card, 0, 400);
              browser.waitForExist(card, 10000);
              browser.waitForVisible(`${card} img`, 5000);
          }
      });
  
      // списком
      it('consider the number of cards list', function() {
          this.retries(2);
          browser.waitForVisible('.is_visible .toggle_switch__states  span');
          browser.scroll('.is_visible .toggle_switch__states  span', 0, -100);
          browser.click('.is_visible .toggle_switch__states  span');
          for(let i = 1; i < 29 ; i++) {
              const card = `.avn001_display__enable-hover .grid_12:nth-child(${i})`;
              browser.scroll(card, 0, 400);
              browser.waitForExist(card, 10000);
              browser.waitForVisible(`${card} img`, 5000);
          }
      })
  });