diff --git a/.circleci/config.yml b/.circleci/config.yml index 5155784b..ac6614fb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ aliases: - &container_config working_directory: /app docker: - - image: integratedexperts/circleci2-builder + - image: drevops/ci-builder environment: DRUPAL_VERSION: 8 @@ -26,7 +26,7 @@ jobs: build_d7: <<: *build docker: - - image: integratedexperts/circleci2-builder + - image: drevops/ci-builder environment: DRUPAL_VERSION: 7 diff --git a/README.md b/README.md index 6b6208ac..864a7b21 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # Behat Steps Collection of Behat steps for Drupal 8 and Drupal 7 development. -[![CircleCI](https://circleci.com/gh/integratedexperts/behat-steps.svg?style=shield)](https://circleci.com/gh/integratedexperts/behat-steps) -[![Latest Stable Version](https://poser.pugx.org/integratedexperts/behat-steps/v/stable)](https://packagist.org/packages/integratedexperts/behat-steps) -[![Total Downloads](https://poser.pugx.org/integratedexperts/behat-steps/downloads)](https://packagist.org/packages/integratedexperts/behat-steps) -[![License](https://poser.pugx.org/integratedexperts/behat-steps/license)](https://packagist.org/packages/integratedexperts/behat-steps) +[![CircleCI](https://circleci.com/gh/drevops/behat-steps.svg?style=shield)](https://circleci.com/gh/drevops/behat-steps) +[![Latest Stable Version](https://poser.pugx.org/drevops/behat-steps/v/stable)](https://packagist.org/packages/drevops/behat-steps) +[![Total Downloads](https://poser.pugx.org/drevops/behat-steps/downloads)](https://packagist.org/packages/drevops/behat-steps) +[![License](https://poser.pugx.org/drevops/behat-steps/license)](https://packagist.org/packages/drevops/behat-steps) # Why traits? Usually, such packages implement own Drupal driver with several contexts, service containers and a lot of other useful architectural structures. @@ -12,7 +12,7 @@ But for this simple library, using traits helps to lower entry barrier for usage This package may later be refactored to use proper architecture. # Installation -`composer require --dev integratedexperts/behat-steps` +`composer require --dev drevops/behat-steps` # Usage Add required traits to `FeatureContext.php`: @@ -21,7 +21,7 @@ Add required traits to `FeatureContext.php`: '', ]; foreach ($traits as $trait) { - $tokens['{{USE_DECLARATION}}'] .= sprintf('use IntegratedExperts\\BehatSteps\\%s;' . PHP_EOL, $trait); + $tokens['{{USE_DECLARATION}}'] .= sprintf('use DrevOps\\BehatSteps\\%s;' . PHP_EOL, $trait); $trait_name__parts = explode('\\', $trait); $trait_name = end($trait_name__parts); $tokens['{{USE_IN_CLASS}}'] .= sprintf('use %s;' . PHP_EOL, $trait_name); diff --git a/tests/behat/bootstrap/FeatureContextD7.php b/tests/behat/bootstrap/FeatureContextD7.php index f8a204ab..449576c9 100644 --- a/tests/behat/bootstrap/FeatureContextD7.php +++ b/tests/behat/bootstrap/FeatureContextD7.php @@ -14,22 +14,22 @@ use Behat\Behat\Hook\Scope\AfterFeatureScope; use Behat\Gherkin\Node\PyStringNode; use Drupal\DrupalExtension\Context\DrupalContext; -use IntegratedExperts\BehatSteps\D7\ContentTrait; -use IntegratedExperts\BehatSteps\D7\EmailTrait; -use IntegratedExperts\BehatSteps\D7\FieldCollectionTrait; -use IntegratedExperts\BehatSteps\D7\FileDownloadTrait; -use IntegratedExperts\BehatSteps\D7\FileTrait; -use IntegratedExperts\BehatSteps\D7\MediaTrait; -use IntegratedExperts\BehatSteps\D7\ParagraphsTrait; -use IntegratedExperts\BehatSteps\D7\TaxonomyTrait; -use IntegratedExperts\BehatSteps\D7\UserTrait; -use IntegratedExperts\BehatSteps\D7\VariableTrait; -use IntegratedExperts\BehatSteps\D7\WatchdogTrait; -use IntegratedExperts\BehatSteps\FieldTrait; -use IntegratedExperts\BehatSteps\LinkTrait; -use IntegratedExperts\BehatSteps\PathTrait; -use IntegratedExperts\BehatSteps\ResponseTrait; -use IntegratedExperts\BehatSteps\WaitTrait; +use DrevOps\BehatSteps\D7\ContentTrait; +use DrevOps\BehatSteps\D7\EmailTrait; +use DrevOps\BehatSteps\D7\FieldCollectionTrait; +use DrevOps\BehatSteps\D7\FileDownloadTrait; +use DrevOps\BehatSteps\D7\FileTrait; +use DrevOps\BehatSteps\D7\MediaTrait; +use DrevOps\BehatSteps\D7\ParagraphsTrait; +use DrevOps\BehatSteps\D7\TaxonomyTrait; +use DrevOps\BehatSteps\D7\UserTrait; +use DrevOps\BehatSteps\D7\VariableTrait; +use DrevOps\BehatSteps\D7\WatchdogTrait; +use DrevOps\BehatSteps\FieldTrait; +use DrevOps\BehatSteps\LinkTrait; +use DrevOps\BehatSteps\PathTrait; +use DrevOps\BehatSteps\ResponseTrait; +use DrevOps\BehatSteps\WaitTrait; /** * Defines application features from the specific context. diff --git a/tests/behat/bootstrap/FeatureContextD8.php b/tests/behat/bootstrap/FeatureContextD8.php index a1e330fd..ea2d7c09 100644 --- a/tests/behat/bootstrap/FeatureContextD8.php +++ b/tests/behat/bootstrap/FeatureContextD8.php @@ -19,30 +19,30 @@ use Drupal\DrupalExtension\Context\DrupalContext; use Drupal\file\Entity\File; use Drupal\user\Entity\User; -use IntegratedExperts\BehatSteps\D8\BigPipeTrait; -use IntegratedExperts\BehatSteps\D8\ContentTrait; -use IntegratedExperts\BehatSteps\D8\DraggableViewsTrait; -use IntegratedExperts\BehatSteps\D8\EmailTrait; -use IntegratedExperts\BehatSteps\D8\FileDownloadTrait; -use IntegratedExperts\BehatSteps\D8\FileTrait; -use IntegratedExperts\BehatSteps\D8\MediaTrait; -use IntegratedExperts\BehatSteps\D8\MenuTrait; -use IntegratedExperts\BehatSteps\D8\OverrideTrait; -use IntegratedExperts\BehatSteps\D8\ParagraphsTrait; -use IntegratedExperts\BehatSteps\D8\RoleTrait; -use IntegratedExperts\BehatSteps\D8\SearchApiTrait; -use IntegratedExperts\BehatSteps\D8\TaxonomyTrait; -use IntegratedExperts\BehatSteps\D8\TestmodeTrait; -use IntegratedExperts\BehatSteps\D8\UserTrait; -use IntegratedExperts\BehatSteps\D8\WatchdogTrait; -use IntegratedExperts\BehatSteps\D8\WysiwygTrait; -use IntegratedExperts\BehatSteps\ElementTrait; -use IntegratedExperts\BehatSteps\FieldTrait; -use IntegratedExperts\BehatSteps\LinkTrait; -use IntegratedExperts\BehatSteps\PathTrait; -use IntegratedExperts\BehatSteps\ResponseTrait; -use IntegratedExperts\BehatSteps\SelectTrait; -use IntegratedExperts\BehatSteps\WaitTrait; +use DrevOps\BehatSteps\D8\BigPipeTrait; +use DrevOps\BehatSteps\D8\ContentTrait; +use DrevOps\BehatSteps\D8\DraggableViewsTrait; +use DrevOps\BehatSteps\D8\EmailTrait; +use DrevOps\BehatSteps\D8\FileDownloadTrait; +use DrevOps\BehatSteps\D8\FileTrait; +use DrevOps\BehatSteps\D8\MediaTrait; +use DrevOps\BehatSteps\D8\MenuTrait; +use DrevOps\BehatSteps\D8\OverrideTrait; +use DrevOps\BehatSteps\D8\ParagraphsTrait; +use DrevOps\BehatSteps\D8\RoleTrait; +use DrevOps\BehatSteps\D8\SearchApiTrait; +use DrevOps\BehatSteps\D8\TaxonomyTrait; +use DrevOps\BehatSteps\D8\TestmodeTrait; +use DrevOps\BehatSteps\D8\UserTrait; +use DrevOps\BehatSteps\D8\WatchdogTrait; +use DrevOps\BehatSteps\D8\WysiwygTrait; +use DrevOps\BehatSteps\ElementTrait; +use DrevOps\BehatSteps\FieldTrait; +use DrevOps\BehatSteps\LinkTrait; +use DrevOps\BehatSteps\PathTrait; +use DrevOps\BehatSteps\ResponseTrait; +use DrevOps\BehatSteps\SelectTrait; +use DrevOps\BehatSteps\WaitTrait; /** * Defines application features from the specific context. diff --git a/tests/behat/features/behatcli.feature b/tests/behat/features/behatcli.feature index a60d8d54..a2d82471 100644 --- a/tests/behat/features/behatcli.feature +++ b/tests/behat/features/behatcli.feature @@ -15,7 +15,7 @@ Feature: Behat CLI context """