Skip to content

Commit

Permalink
Moved project to DrevOps namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Skrypnyk committed Jul 20, 2021
1 parent 585cefd commit 4cfe681
Show file tree
Hide file tree
Showing 49 changed files with 127 additions and 127 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ aliases:
- &container_config
working_directory: /app
docker:
- image: integratedexperts/circleci2-builder
- image: drevops/ci-builder
environment:
DRUPAL_VERSION: 8

Expand All @@ -26,7 +26,7 @@ jobs:
build_d7:
<<: *build
docker:
- image: integratedexperts/circleci2-builder
- image: drevops/ci-builder
environment:
DRUPAL_VERSION: 7

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# 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.
But for this simple library, using traits helps to lower entry barrier for usage, maintenance and support.
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`:
Expand All @@ -21,7 +21,7 @@ Add required traits to `FeatureContext.php`:
<?php
use Drupal\DrupalExtension\Context\DrupalContext;
use IntegratedExperts\BehatSteps\D7\ContentTrait;
use DrevOps\BehatSteps\D7\ContentTrait;
/**
* Defines application features from the specific context.
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "integratedexperts/behat-steps",
"name": "drevops/behat-steps",
"type": "library",
"description": "Collection of Behat traits",
"license": "GPL-2.0-or-later",
"autoload": {
"psr-4": {
"IntegratedExperts\\BehatSteps\\": "src/",
"IntegratedExperts\\BehatSteps\\D7\\": "src/D7/",
"IntegratedExperts\\BehatSteps\\D8\\": "src/D8/"
"DrevOps\\BehatSteps\\": "src/",
"DrevOps\\BehatSteps\\D7\\": "src/D7/",
"DrevOps\\BehatSteps\\D8\\": "src/D8/"
}
},
"require": {
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# For reference, @see https://github.com/integratedexperts/drupal-dev/blob/8.x/docker-compose.yml
# For reference, @see https://github.com/drevops/drupal-dev/blob/8.x/docker-compose.yml
version: '2.3'

x-project:
Expand Down
4 changes: 2 additions & 2 deletions src/D7/ContentTrait.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace IntegratedExperts\BehatSteps\D7;
namespace DrevOps\BehatSteps\D7;

use Behat\Gherkin\Node\TableNode;

/**
* Trait ContentTrait.
*
* @package IntegratedExperts\BehatSteps\D7
* @package DrevOps\BehatSteps\D7
*/
trait ContentTrait {

Expand Down
4 changes: 2 additions & 2 deletions src/D7/DomainTrait.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php

namespace IntegratedExperts\BehatSteps\D7;
namespace DrevOps\BehatSteps\D7;

use Drupal\DrupalExtension\Hook\Scope\BeforeNodeCreateScope;
use Drupal\DrupalExtension\Hook\Scope\BeforeUserCreateScope;

/**
* Trait DomainTrait.
*
* @package IntegratedExperts\BehatSteps\D7
* @package DrevOps\BehatSteps\D7
*/
trait DomainTrait {

Expand Down
4 changes: 2 additions & 2 deletions src/D7/EmailTrait.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace IntegratedExperts\BehatSteps\D7;
namespace DrevOps\BehatSteps\D7;

use Behat\Behat\Hook\Scope\AfterScenarioScope;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
Expand All @@ -9,7 +9,7 @@
/**
* Trait EmailTrait.
*
* @package IntegratedExperts\BehatSteps\D7
* @package DrevOps\BehatSteps\D7
*/
trait EmailTrait {

Expand Down
4 changes: 2 additions & 2 deletions src/D7/FieldCollectionTrait.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace IntegratedExperts\BehatSteps\D7;
namespace DrevOps\BehatSteps\D7;

use Drupal\Driver\DrupalDriver;
use Drupal\DrupalExtension\Hook\Scope\AfterNodeCreateScope;
Expand All @@ -9,7 +9,7 @@
/**
* Trait FieldCollectionTrait.
*
* @package IntegratedExperts\BehatSteps\D7
* @package DrevOps\BehatSteps\D7
*/
trait FieldCollectionTrait {

Expand Down
4 changes: 2 additions & 2 deletions src/D7/FileDownloadTrait.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace IntegratedExperts\BehatSteps\D7;
namespace DrevOps\BehatSteps\D7;

use Behat\Behat\Hook\Scope\AfterScenarioScope;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
Expand All @@ -17,7 +17,7 @@
*
* @see https://www.php.net/manual/en/zip.installation.php
*
* @package IntegratedExperts\BehatSteps\D7
* @package DrevOps\BehatSteps\D7
*/
trait FileDownloadTrait {

Expand Down
4 changes: 2 additions & 2 deletions src/D7/FileTrait.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace IntegratedExperts\BehatSteps\D7;
namespace DrevOps\BehatSteps\D7;

use Behat\Gherkin\Node\TableNode;

/**
* Trait FileTrait.
*
* @package IntegratedExperts\BehatSteps\D7
* @package DrevOps\BehatSteps\D7
*/
trait FileTrait {

Expand Down
4 changes: 2 additions & 2 deletions src/D7/MediaTrait.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace IntegratedExperts\BehatSteps\D7;
namespace DrevOps\BehatSteps\D7;

/**
* Trait MediaTrait.
*
* @package IntegratedExperts\BehatSteps\D7
* @package DrevOps\BehatSteps\D7
*/
trait MediaTrait {

Expand Down
4 changes: 2 additions & 2 deletions src/D7/OverrideTrait.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace IntegratedExperts\BehatSteps\D7;
namespace DrevOps\BehatSteps\D7;

/**
* Trait OverrideTrait.
*
* Used to override standard Drupal Extension methods.
*
* @package IntegratedExperts\BehatSteps\D7
* @package DrevOps\BehatSteps\D7
*/
trait OverrideTrait {

Expand Down
4 changes: 2 additions & 2 deletions src/D7/ParagraphsTrait.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace IntegratedExperts\BehatSteps\D7;
namespace DrevOps\BehatSteps\D7;

use Behat\Gherkin\Node\TableNode;

/**
* Trait ParagraphsTrait.
*
* @package IntegratedExperts\BehatSteps\D7
* @package DrevOps\BehatSteps\D7
*/
trait ParagraphsTrait {

Expand Down
4 changes: 2 additions & 2 deletions src/D7/TaxonomyTrait.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace IntegratedExperts\BehatSteps\D7;
namespace DrevOps\BehatSteps\D7;

use Behat\Gherkin\Node\TableNode;

/**
* Trait TaxonomyTrait.
*
* @package IntegratedExperts\BehatSteps\D7
* @package DrevOps\BehatSteps\D7
*/
trait TaxonomyTrait {

Expand Down
4 changes: 2 additions & 2 deletions src/D7/UserTrait.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace IntegratedExperts\BehatSteps\D7;
namespace DrevOps\BehatSteps\D7;

use Behat\Gherkin\Node\TableNode;

/**
* Trait UserTrait.
*
* @package IntegratedExperts\BehatSteps\D7
* @package DrevOps\BehatSteps\D7
*/
trait UserTrait {

Expand Down
4 changes: 2 additions & 2 deletions src/D7/VariableTrait.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php

namespace IntegratedExperts\BehatSteps\D7;
namespace DrevOps\BehatSteps\D7;

use Behat\Behat\Hook\Scope\AfterScenarioScope;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;

/**
* Trait VariableTrait.
*
* @package IntegratedExperts\BehatSteps\D7
* @package DrevOps\BehatSteps\D7
*/
trait VariableTrait {

Expand Down
4 changes: 2 additions & 2 deletions src/D7/WatchdogTrait.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php

namespace IntegratedExperts\BehatSteps\D7;
namespace DrevOps\BehatSteps\D7;

use Behat\Behat\Hook\Scope\AfterScenarioScope;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;

/**
* Trait WatchdogTrait.
*
* @package IntegratedExperts\BehatSteps\D7
* @package DrevOps\BehatSteps\D7
*/
trait WatchdogTrait {

Expand Down
2 changes: 1 addition & 1 deletion src/D8/BigPipeTrait.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace IntegratedExperts\BehatSteps\D8;
namespace DrevOps\BehatSteps\D8;

use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use Behat\Mink\Driver\Selenium2Driver;
Expand Down
4 changes: 2 additions & 2 deletions src/D8/ContentTrait.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php

namespace IntegratedExperts\BehatSteps\D8;
namespace DrevOps\BehatSteps\D8;

use Behat\Gherkin\Node\TableNode;
use Drupal\user\Entity\User;

/**
* Trait ContentTrait.
*
* @package IntegratedExperts\BehatSteps\D8
* @package DrevOps\BehatSteps\D8
*/
trait ContentTrait {

Expand Down
2 changes: 1 addition & 1 deletion src/D8/DraggableViewsTrait.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace IntegratedExperts\BehatSteps\D8;
namespace DrevOps\BehatSteps\D8;

use Behat\Gherkin\Node\TableNode;
use Drupal\Core\Cache\Cache;
Expand Down
2 changes: 1 addition & 1 deletion src/D8/EmailTrait.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace IntegratedExperts\BehatSteps\D8;
namespace DrevOps\BehatSteps\D8;

use Behat\Behat\Hook\Scope\AfterScenarioScope;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
Expand Down
2 changes: 1 addition & 1 deletion src/D8/FileDownloadTrait.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace IntegratedExperts\BehatSteps\D8;
namespace DrevOps\BehatSteps\D8;

use Behat\Behat\Hook\Scope\AfterScenarioScope;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
Expand Down
2 changes: 1 addition & 1 deletion src/D8/FileTrait.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace IntegratedExperts\BehatSteps\D8;
namespace DrevOps\BehatSteps\D8;

use Behat\Behat\Hook\Scope\AfterScenarioScope;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
Expand Down
2 changes: 1 addition & 1 deletion src/D8/MediaTrait.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace IntegratedExperts\BehatSteps\D8;
namespace DrevOps\BehatSteps\D8;

use Behat\Behat\Hook\Scope\AfterScenarioScope;
use Behat\Gherkin\Node\TableNode;
Expand Down
4 changes: 2 additions & 2 deletions src/D8/MenuTrait.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace IntegratedExperts\BehatSteps\D8;
namespace DrevOps\BehatSteps\D8;

use Behat\Behat\Hook\Scope\AfterScenarioScope;
use Behat\Gherkin\Node\TableNode;
Expand All @@ -10,7 +10,7 @@
/**
* Trait MenuTrait.
*
* @package IntegratedExperts\BehatSteps\D8
* @package DrevOps\BehatSteps\D8
*/
trait MenuTrait {

Expand Down
4 changes: 2 additions & 2 deletions src/D8/OverrideTrait.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace IntegratedExperts\BehatSteps\D8;
namespace DrevOps\BehatSteps\D8;

use Behat\Gherkin\Node\TableNode;

Expand All @@ -9,7 +9,7 @@
*
* Used to override standard Drupal Extension methods.
*
* @package IntegratedExperts\BehatSteps\D8
* @package DrevOps\BehatSteps\D8
*/
trait OverrideTrait {

Expand Down
2 changes: 1 addition & 1 deletion src/D8/ParagraphsTrait.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace IntegratedExperts\BehatSteps\D8;
namespace DrevOps\BehatSteps\D8;

use Behat\Behat\Hook\Scope\AfterScenarioScope;
use Behat\Gherkin\Node\TableNode;
Expand Down
Loading

0 comments on commit 4cfe681

Please sign in to comment.