async executeCurrentCase() {
    let resultType = ResultsHandler.RESULT_TYPE.passed;
    let exception = null;
    let currentCase = null;
    try {
      currentCase = this.casesManager.selectedCases[this.currentCaseIndex];
      this.resultsHandler.printCaseStart(currentCase.getName());
      await currentCase.execute();
    } catch (e) {
      if (e instanceof AssertionError) {
        resultType = ResultsHandler.RESULT_TYPE.failed;
      } else {
        resultType = ResultsHandler.RESULT_TYPE.failedInternal;
      }
      exception = e;
    }
    const result = new TestResult(currentCase.getName(), resultType, new Date(), exception);

    this.resultsHandler.printResult(result);
  }
/**
   * Executes the current test case
   * @return {Promise} nothing
   */
Executes the current test case
@return {Promise} nothing
Executes the current test case @return { Promise } nothing
async executeCurrentCase() {
    let resultType = ResultsHandler.RESULT_TYPE.passed;
    let exception = null;
    let currentCase = null;
    try {
      currentCase = this.casesManager.selectedCases[this.currentCaseIndex];
      this.resultsHandler.printCaseStart(currentCase.getName());
      await currentCase.execute();
    } catch (e) {
      if (e instanceof AssertionError) {
        resultType = ResultsHandler.RESULT_TYPE.failed;
      } else {
        resultType = ResultsHandler.RESULT_TYPE.failedInternal;
      }
      exception = e;
    }
    const result = new TestResult(currentCase.getName(), resultType, new Date(), exception);
    this.resultsHandler.printResult(result);
  }
async executeCurrentCase ( ) { let resultType = ResultsHandler . RESULT_TYPE . passed ; let exception = null ; let currentCase = null ; try { currentCase = this . casesManager . selectedCases [ this . currentCaseIndex ] ; this . resultsHandler . printCaseStart ( currentCase . getName ( ) ) ; await currentCase . execute ( ) ; } catch ( e ) { if ( e instanceof AssertionError ) { resultType = ResultsHandler . RESULT_TYPE . failed ; } else { resultType = ResultsHandler . RESULT_TYPE . failedInternal ; } exception = e ; } const result = new TestResult ( currentCase . getName ( ) , resultType , new Date ( ) , exception ) ; this . resultsHandler . printResult ( result ) ; }
Executes the current test case
 @return {Promise} nothing
Executes the current test case @return { Promise } nothing