Codecept tests are extremely slow

Viewed 10

I am trying to run a test in codecept JS and my script takes around 25 seconds to run meanwhile with just apprium webdriver io it takes 12 seconds. what can i do there to make my tests run fasts?

Feature('Dashboard and Settings tabs are loaded');

Scenario('should be able to see all the tabs', ({ I }) => {
  I.seeElement('~Instructions tab');
  I.seeElement('~Dashboard tab');
  I.seeElement('~Settings tab');
  I.click('~Dashboard tab');
  I.click('~Dashboard tab');
  I.seeElement('~dashboard-title');
  I.seeElement('~Coin-btc');
  I.seeElement('~Coin-eth');
  I.click('~Settings tab');
  I.seeElement('~settings-title');
  I.seeElement('~Only show "Bitcoin" coins');
  I.seeElement('~Only show winners');
  I.seeElement('~Only show losers');
});
0 Answers
Related