diff --git a/tests/README.md b/tests/README.md
deleted file mode 100644
index 9d187ad7a1..0000000000
--- a/tests/README.md
+++ /dev/null
@@ -1,21 +0,0 @@
-# How to run tests
-
-## Enterprise Tutorial
-
-These tests should be run using the ezplatform-ee metarepository.
-
-1. Add developer-documentation to your project by running the following commands:
-```
-composer config repositories.doc vcs http://github.com/ezsystems/developer-documentation.git
-composer require --dev ezsystems/developer-documentation:dev-master
-
-# optional: run to list all available branches
-composer show -a ezystems/developer-documentation
-```
-2. Run setup script:
-`./vendor/ezsystems/developer-documentation/tests/scripts/setup.sh`
-3. Run `export APP_ENV=behat` in the console.
-4. Run tests by using one of the following commands:
-- To run all tests, use: `bin/behat --profile=doc`
-- To run a specific test step, use: `bin/behat --profile=doc --tags=step1`
-5. After execution, run `composer run post-install-cmd`.
diff --git a/tests/behat_suites.yml b/tests/behat_suites.yml
deleted file mode 100644
index 5e78c5f392..0000000000
--- a/tests/behat_suites.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-doc:
- suites:
- enterpriseTutorial:
- paths:
- - '%paths.base%/vendor/ezsystems/developer-documentation/tests/features'
- contexts:
- - EzSystems\DeveloperDocumentation\Test\Context\TutorialContentTypeContext
- - EzSystems\DeveloperDocumentation\Test\Context\ConfigurationContext
- - EzSystems\DeveloperDocumentation\Test\Context\FileContext
- - EzSystems\EzPlatformContentForms\Behat\Context\ContentTypeContext
- - EzSystems\DeveloperDocumentation\Test\Context\ContentContext
diff --git a/tests/config/services.yaml b/tests/config/services.yaml
deleted file mode 100644
index 48c0d530df..0000000000
--- a/tests/config/services.yaml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-# This file is not used directly but copied to config/services.yaml in setup script
- EzSystems\DeveloperDocumentation\Test\Context\FileContext:
- arguments:
- $basePath: '%kernel.project_dir%'
-
- EzSystems\DeveloperDocumentation\Test\Context\ConfigurationContext:
- arguments:
- $basePath: '%kernel.project_dir%'
-
- EzSystems\DeveloperDocumentation\Test\Context\ContentContext:
- arguments:
- $repository: '@ezpublish.api.repository'
- $basePath: '%kernel.project_dir%'
diff --git a/tests/features/EnterpriseTutorial.feature b/tests/features/EnterpriseTutorial.feature
deleted file mode 100644
index 5c30518dc8..0000000000
--- a/tests/features/EnterpriseTutorial.feature
+++ /dev/null
@@ -1,85 +0,0 @@
-Feature: Setup eZ Platform Enterprise dogs tutorial
-
- @step1
- Scenario: Get a starter website
- Given I create a "Dog Breed" content type with "dog_breed" identifier:
- | Field type | Name | Identifier | Required | Searchable | Translatable |
- | Text line | Name | name | yes | yes | yes |
- | Text line | Short Description | short_description | yes | yes | yes |
- | Image | Photo | photo | yes | no | no |
- | RichText | Full Description | description | yes | yes | yes |
- And I create a "Tip" content type with "tip" identifier:
- | Field type | Name | Identifier | Required | Searchable | Translatable |
- | Text line | Title | title | yes | yes | yes |
- | Text block | Body | body | no | no | yes |
- And I remove "image" field from Article content type
- And I add field to Article content type
- | Field type | Name | Identifier | Required | Searchable | Translatable |
- | Image | Image | image | no | no | yes |
- And I create "folder" content items in "Home"
- | contentName |
- | All Articles |
- | Dog Breed Catalog |
- | All Tips |
- And I create "article" content items in "Home/All Articles"
- | contentName | imageName |
- | Dog favorites | article1.jpg |
- | Adopt or buy? | article2.jpg |
- | Dogs and other pets | article3.jpg |
- | Taking care of your dog during a heatwave | article4.jpg |
- | Dog owner's first steps | article5.jpg |
- | Traveling with your dog | article6.jpg |
- And I create "dog_breed" content items in "Home/Dog Breed Catalog"
- | contentName | imageName |
- | Alsatian | alsatian.jpg |
- | King Charles Spaniel | king-charles-spaniel.jpg |
- | St Bernard | st-bernard.jpg |
- And I create "tip" content items in "Home/All Tips"
- | contentName |
- | Tip1 |
- | Tip2 |
- | Tip3 |
- And I delete eZ Platform Folder under Home
- And I rebuild Webpack Encore assets
-
- @step2
- Scenario: Prepare the Landing Page
- Given I create a file "config/packages/ezplatform_page_fieldtype.yaml" containing "step2/layoutdefinition.yaml"
- And I add thumbnail image to "public/assets/images/layouts/"
- And I create a file "templates/layouts/sidebar.html.twig" containing "step2/sidebartemplate.html.twig"
- And I create a file "templates/full/landing_page.html.twig" containing "step2/landingpagetemplate.html.twig"
- And I set the Landing Page template configuration in "config/packages/views.yaml"
- And I rebuild Webpack Encore assets
-
- @step3
- Scenario: Use existing blocks
- Given I create a file "templates/blocks/contentlist/default.html.twig" containing "step3/contentlisttemplate.html.twig"
- And I add Content List layout configuration to "config/packages/ezplatform_page_fieldtype.yaml"
- And I set Content List image variations in "config/packages/image_variations.yaml"
- And I append to "assets/css/style.css" file "step3/landingpage.css"
- And I add Content Scheduler layout configuration to "config/packages/ezplatform_page_fieldtype.yaml"
- And I create a file "templates/blocks/schedule/featured.html.twig" containing "step3/scheduleblock.html.twig"
- And I set template for Article in "config/packages/views.yaml"
- And I create a file "templates/featured/article.html.twig" containing "step3/article.html.twig"
- And I set Content Scheduler image variations in "config/packages/image_variations.yaml"
- And I append to "assets/css/style.css" file "step3/contentscheduler.css"
- And I rebuild Webpack Encore assets
-
- @step4
- Scenario: Create a custom block
- Given I create configuration of Random block to "config/packages/ezplatform_page_fieldtype.yaml"
- And I create a file "templates/blocks/random/default.html.twig" containing "step4/random.html.twig"
- And I create a file "src/Event/RandomBlockListener.php" containing "step4/RandomBlockListener.php"
- And I copy the block icon to "public/assets/images/blocks"
- And I append to "assets/css/style.css" file "step4/randomblock.css"
- And I rebuild Webpack Encore assets
-
- @step5
- Scenario: Create a newsletter form block
- Given I create configuration of Form block to "config/packages/ezplatform_page_fieldtype.yaml"
- And I create a file "templates/blocks/form/newsletter.html.twig" containing "step5/form_newsletter_view.html.twig"
- And I create a file "templates/fields/form_field.html.twig" containing "step5/form_field_theme.html.twig"
- And I create configuration of Form field to "config/packages/views.yaml"
- And I create configuration of Captcha field to "config/packages/gregwar_captcha.yaml"
- And I append to "assets/css/style.css" file "step5/form_style.css"
- And I rebuild Webpack Encore assets
diff --git a/tests/scripts/setup.sh b/tests/scripts/setup.sh
deleted file mode 100755
index c999f4291d..0000000000
--- a/tests/scripts/setup.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-TUTORIAL_REPOSITORY=https://github.com/ezsystems/ezplatform-ee-beginner-tutorial
-STEP1_BRANCH=v3-step1
-STEP4_BRANCH=v3-step4
-TUTORIAL_DATA_DIRECTORY_1=tutorial_data_1
-TUTORIAL_DATA_DIRECTORY_2=tutorial_data_2
-IMAGES_SOURCE=vendor/ezsystems/developer-documentation/docs/tutorials/enterprise_beginner/img/photos.zip
-IMAGES_DESTINATION=./images
-
-# clone tutorial data
-git clone $TUTORIAL_REPOSITORY --depth=1 -b $STEP1_BRANCH $TUTORIAL_DATA_DIRECTORY_1
-git clone $TUTORIAL_REPOSITORY --depth=1 -b $STEP4_BRANCH $TUTORIAL_DATA_DIRECTORY_2
-
-# add suite to Behat
-echo ' - vendor/ezsystems/developer-documentation/tests/behat_suites.yml' >> behat.yml.dist
-
-# copy images
-mkdir $IMAGES_DESTINATION
-unzip $IMAGES_SOURCE -d $IMAGES_DESTINATION
-
-# copy templates, styles and configuration files
-cp $TUTORIAL_DATA_DIRECTORY_1/templates/{pagelayout.html.twig,pagelayout_menu.html.twig} ./templates
-
-mkdir ./templates/full
-cp $TUTORIAL_DATA_DIRECTORY_1/templates/full/{article.html.twig,dog_breed.html.twig,folder.html.twig,tip.html.twig} ./templates/full
-cp $TUTORIAL_DATA_DIRECTORY_1/config/packages/{views.yaml,image_variations.yaml} ./config/packages
-
-cp $TUTORIAL_DATA_DIRECTORY_1/webpack.config.js ./
-
-mkdir -p ./assets/{css,images}
-cp $TUTORIAL_DATA_DIRECTORY_1/assets/css/style.css assets/css
-cp $TUTORIAL_DATA_DIRECTORY_1/assets/images/header.jpg assets/images
-
-mkdir ./src/QueryType
-cp $TUTORIAL_DATA_DIRECTORY_1/src/QueryType/MenuQueryType.php ./src/QueryType
-
-# add Context service definitions to the appplication
-cat ./vendor/ezsystems/developer-documentation/tests/config/services.yaml >> config/services.yaml
diff --git a/tests/source_files/step2/landingpagetemplate.html.twig b/tests/source_files/step2/landingpagetemplate.html.twig
deleted file mode 100644
index 57bb78b596..0000000000
--- a/tests/source_files/step2/landingpagetemplate.html.twig
+++ /dev/null
@@ -1,6 +0,0 @@
-{% extends 'pagelayout.html.twig' %}
-{% block content %}
-
- {{ ez_render_field(content, 'page') }}
-
-{% endblock %}
diff --git a/tests/source_files/step2/layoutdefinition.yaml b/tests/source_files/step2/layoutdefinition.yaml
deleted file mode 100644
index e62f1f0c63..0000000000
--- a/tests/source_files/step2/layoutdefinition.yaml
+++ /dev/null
@@ -1,13 +0,0 @@
-ezplatform_page_fieldtype:
- layouts:
- sidebar:
- identifier: sidebar
- name: Right sidebar
- description: Main section with sidebar on the right
- thumbnail: /assets/images/layouts/sidebar.png
- template: layouts/sidebar.html.twig
- zones:
- first:
- name: First zone
- second:
- name: Second zone
\ No newline at end of file
diff --git a/tests/source_files/step2/sidebartemplate.html.twig b/tests/source_files/step2/sidebartemplate.html.twig
deleted file mode 100644
index 109c181d0f..0000000000
--- a/tests/source_files/step2/sidebartemplate.html.twig
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
- {% if zones[0].blocks %}
- {% set locationId = parameters.location is not null ? parameters.location.id : contentInfo.mainLocationId %}
-
- {% for block in zones[0].blocks %}
-