Skip to content

Commit 68fdde5

Browse files
committed
Merge remote-tracking branch 'origin/9.0' into feature/conflict-resolution-03/rebase-during-publish
2 parents 36a5de7 + aff0cd7 commit 68fdde5

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

Tests/IntegrationTests/docker-compose.neos-dev-instance.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,15 @@ services:
1414
# Enable GD
1515
PHP_EXTENSION_GD: 1
1616
COMPOSER_CACHE_DIR: /home/circleci/.composer/cache
17+
DB_HOST: db
1718

1819
db:
1920
image: mariadb:10.11
2021
environment:
2122
MYSQL_DATABASE: neos
2223
MYSQL_ROOT_PASSWORD: not_a_real_password
24+
ports:
25+
- 13309:3306
2326
command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
2427
volumes:
2528
composer_cache:

Tests/IntegrationTests/pageModel.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class PublishDropDown {
5959

6060
static publishDropdownDiscardAll = ReactSelector('PublishDropDown ContextDropDownContents').find('button').withText('Discard all');
6161

62-
static publishDropdownPublishAll = ReactSelector('PublishDropDown ShallowDropDownContents').find('button').withText('Publish all');
62+
static publishDropdownPublishAll = ReactSelector('PublishDropDown ContextDropDownContents').find('button').withText('Publish all');
6363

6464
static async discardAll() {
6565
const $discardAllBtn = Selector(this.publishDropdownDiscardAll);

Tests/IntegrationTests/start-neos-dev-instance.sh

+7-2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ dc exec -T php bash <<-'BASH'
4141
./flow flow:cache:warmup
4242
./flow doctrine:migrate
4343
./flow user:create --username=admin --password=admin --first-name=John --last-name=Doe --roles=Administrator || true
44+
./flow user:create --username=editor --password=editor --first-name=Some --last-name=FooBarEditor --roles=Editor || true
4445
BASH
4546

4647
echo ""
@@ -68,7 +69,11 @@ dc exec -T php bash <<-BASH
6869
if ./flow site:list | grep -q 'Node name'; then
6970
./flow site:prune '*'
7071
fi
71-
./flow site:import --package-key=Neos.TestSite
72+
./flow cr:setup
73+
./flow cr:setup --content-repository onedimension
74+
./flow cr:setup --content-repository twodimensions
75+
./flow cr:import --content-repository onedimension Packages/Sites/Neos.Test.OneDimension/Resources/Private/Content
76+
./flow site:create neos-test-onedimension Neos.Test.OneDimension Neos.TestNodeTypes:Document.HomePage
7277
./flow resource:publish
7378
BASH
7479

@@ -85,5 +90,5 @@ dc exec -T php bash <<-'BASH'
8590
8691
# enable changes of the Neos.TestNodeTypes outside of the container to appear in the container via sym link to mounted volume
8792
rm -rf /usr/src/app/TestDistribution/Packages/Application/Neos.TestNodeTypes
88-
ln -s /usr/src/neos-ui/Tests/IntegrationTests/SharedNodeTypesPackage/ /usr/src/app/TestDistribution/Packages/Application/Neos.TestNodeTypes
93+
ln -s /usr/src/neos-ui/Tests/IntegrationTests/TestDistribution/DistributionPackages/Neos.TestNodeTypes /usr/src/app/TestDistribution/Packages/Application/Neos.TestNodeTypes
8994
BASH

packages/neos-ui/src/Containers/PrimaryToolbar/DimensionSwitcher/DimensionSelector.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const searchOptions = (searchTerm, processedSelectBoxOptions) =>
1616
}))
1717
export default class DimensionSelector extends PureComponent {
1818
static propTypes = {
19-
icon: PropTypes.string.isRequired,
19+
icon: PropTypes.string,
2020
dimensionLabel: PropTypes.string.isRequired,
2121
presets: PropTypes.object.isRequired,
2222
activePreset: PropTypes.string.isRequired,

0 commit comments

Comments
 (0)