You are here

DebugContext.behat.inc in Lightning Core 8

File

tests/contexts/DebugContext.behat.inc
View source
<?php

namespace Acquia\LightningExtension\Context;

use Drupal\DrupalExtension\Context\DrupalSubContextBase;

/**
 * Contains step definitions to assist with debugging tests.
 */
class DebugContext extends DrupalSubContextBase {

  /**
   * Waits a while, for debugging.
   *
   * @param int $seconds
   *   How long to wait.
   *
   * @When I wait :seconds second(s)
   */
  public function wait($seconds) {
    sleep($seconds);
  }

}

Classes

Namesort descending Description
DebugContext Contains step definitions to assist with debugging tests.