Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/9.0' into feature/conflict-resol…
Browse files Browse the repository at this point in the history
…ution-03/rebase-during-publish
  • Loading branch information
mhsdesign committed Oct 29, 2024
2 parents 36a5de7 + aff0cd7 commit 68fdde5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Tests/IntegrationTests/docker-compose.neos-dev-instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ services:
# Enable GD
PHP_EXTENSION_GD: 1
COMPOSER_CACHE_DIR: /home/circleci/.composer/cache
DB_HOST: db

db:
image: mariadb:10.11
environment:
MYSQL_DATABASE: neos
MYSQL_ROOT_PASSWORD: not_a_real_password
ports:
- 13309:3306
command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
volumes:
composer_cache:
2 changes: 1 addition & 1 deletion Tests/IntegrationTests/pageModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class PublishDropDown {

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

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

static async discardAll() {
const $discardAllBtn = Selector(this.publishDropdownDiscardAll);
Expand Down
9 changes: 7 additions & 2 deletions Tests/IntegrationTests/start-neos-dev-instance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ dc exec -T php bash <<-'BASH'
./flow flow:cache:warmup
./flow doctrine:migrate
./flow user:create --username=admin --password=admin --first-name=John --last-name=Doe --roles=Administrator || true
./flow user:create --username=editor --password=editor --first-name=Some --last-name=FooBarEditor --roles=Editor || true
BASH

echo ""
Expand Down Expand Up @@ -68,7 +69,11 @@ dc exec -T php bash <<-BASH
if ./flow site:list | grep -q 'Node name'; then
./flow site:prune '*'
fi
./flow site:import --package-key=Neos.TestSite
./flow cr:setup
./flow cr:setup --content-repository onedimension
./flow cr:setup --content-repository twodimensions
./flow cr:import --content-repository onedimension Packages/Sites/Neos.Test.OneDimension/Resources/Private/Content
./flow site:create neos-test-onedimension Neos.Test.OneDimension Neos.TestNodeTypes:Document.HomePage
./flow resource:publish
BASH

Expand All @@ -85,5 +90,5 @@ dc exec -T php bash <<-'BASH'
# enable changes of the Neos.TestNodeTypes outside of the container to appear in the container via sym link to mounted volume
rm -rf /usr/src/app/TestDistribution/Packages/Application/Neos.TestNodeTypes
ln -s /usr/src/neos-ui/Tests/IntegrationTests/SharedNodeTypesPackage/ /usr/src/app/TestDistribution/Packages/Application/Neos.TestNodeTypes
ln -s /usr/src/neos-ui/Tests/IntegrationTests/TestDistribution/DistributionPackages/Neos.TestNodeTypes /usr/src/app/TestDistribution/Packages/Application/Neos.TestNodeTypes
BASH
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const searchOptions = (searchTerm, processedSelectBoxOptions) =>
}))
export default class DimensionSelector extends PureComponent {
static propTypes = {
icon: PropTypes.string.isRequired,
icon: PropTypes.string,
dimensionLabel: PropTypes.string.isRequired,
presets: PropTypes.object.isRequired,
activePreset: PropTypes.string.isRequired,
Expand Down

0 comments on commit 68fdde5

Please sign in to comment.