8000 [#367] Updated `BlockTrait`. by skipper-vp · Pull Request #376 · drevops/behat-steps · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[#367] Updated BlockTrait. #376

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load 8000 files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ A migration map of the step definitions available in v2 to v3.

| V2 | V3 |
|------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **[`BlockTrait`](src/BlockTrait.php) ([example](tests/behat/features/block.feature))** | |
| `When I create a block of type :label with:` | `Given the instance of :admin_label block exists with the following configuration:` |
| `When I configure the block with the label :label with:` | `Given the block :label has the following configuration:` 8000 |
| `When I configure a visibility condition :condition for the block with label :label` | `Given the block :label has the following :condition condition configuration:` |
| `When I remove the visibility condition :condition from the block with label :label` | `Given the block :label has the :condition condition removed` |
| `When I enable the block with label :label` | `Given the block :label is enabled` |
| `When I disable the block with label :label` | `Given the block :label is disabled` |
| `Then block with label :label should exist` | `Then the block :label should exist` |
| `Then block with label :label should not exist` | `Then the block :label should not exist` |
| `When block with label :label should exist in the region :region` | `Then the block :label should exist in the :region region` |
| `When block with label :label should not exist in the region :region` | `Then the block :label should not exist in the :region region` |
| `Then the block with label :label should have the visibility condition :condition` | `REMOVED` |
| `Then the block with label :label should not have the visibility condition :condition` | `REMOVED` |
|   | |
| **[`ContentBlockTrait`](src/ContentBlockTrait.php) ([example](tests/behat/features/content_block.feature))** | |
| `Given :type block_content type exists` | `Then the content block type :type should exist` |
| `Given no :type block_content:` | `Given the following :type content blocks do not exist:` |
Expand Down
Loading
0