Skip to content

Commit

Permalink
Adjust e2e tests to new (site) importer
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsunet committed Nov 17, 2024
1 parent 78f4276 commit 3789152
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[
{
"name": "Neos.Test.OneDimension",
"nodeName": "neos-test-onedimension",
"siteResourcesPackageKey": "Neos.Test.OneDimension",
"online": true,
"domains": [
{
"hostname": "onedimension.localhost",
"scheme": null,
"port": 8081,
"active": true,
"primary": true
}
]
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[
{
"name": "Neos.Test.TwoDimensions",
"nodeName": "neos-test-twodimensions",
"siteResourcesPackageKey": "Neos.Test.TwoDimensions",
"online": true,
"domains": [
{
"hostname": "twodimensions.localhost",
"scheme": null,
"port": 8081,
"active": true,
"primary": true
}
]
}
]
10 changes: 2 additions & 8 deletions Tests/IntegrationTests/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,10 @@ function run_tests() {
cd ../../..

./flow cr:setup --content-repository onedimension
./flow cr:import --content-repository onedimension --path ./DistributionPackages/Neos.Test.OneDimension/Resources/Private/Content
# TODO: Fix when part of importer: Connect to a Neos site, todo the nodeTypeName parameter is obsolete but necessary
./flow site:create neos-test-onedimension Neos.Test.OneDimension Neos.TestNodeTypes:Document.HomePage
./flow domain:add neos-test-onedimension onedimension.localhost --port 8081
./flow site:importall --content-repository onedimension --path ./DistributionPackages/Neos.Test.OneDimension/Resources/Private/Content

./flow cr:setup --content-repository twodimensions
./flow cr:import --content-repository twodimensions --path ./DistributionPackages/Neos.Test.TwoDimensions/Resources/Private/Content
# TODO: Fix when part of importer: Connect to a Neos site, todo the nodeTypeName parameter is obsolete but necessary
./flow site:create neos-test-twodimensions Neos.Test.TwoDimensions Neos.TestNodeTypes:Document.HomePage
./flow domain:add neos-test-twodimensions twodimensions.localhost --port 8081
./flow site:importall --content-repository twodimensions --path ./DistributionPackages/Neos.Test.TwoDimensions/Resources/Private/Content

./flow resource:publish

Expand Down

0 comments on commit 3789152

Please sign in to comment.