From aba554346a5693c1701c8a58f44cb73bebf72079 Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Mon, 25 Sep 2023 08:26:59 +0200 Subject: [PATCH] TASK: Use `admin` `admin` as login --- .circleci/config.yml | 2 +- .../Fixtures/2Dimension/switchingSites.e2e.js | 4 ++-- Tests/IntegrationTests/e2e-docker.sh | 2 +- Tests/IntegrationTests/start-neos-dev-instance.sh | 2 +- Tests/IntegrationTests/utils.js | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index faba746390..bbcb37a3b9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -100,7 +100,7 @@ jobs: ./flow flow:cache:flush ./flow flow:cache:warmup ./flow doctrine:migrate - ./flow user:create --username=admin --password=password --first-name=John --last-name=Doe --roles=Administrator + ./flow user:create --username=admin --password=admin --first-name=John --last-name=Doe --roles=Administrator - run: name: Start flow server command: /home/circleci/app/flow server:run --port 8081 diff --git a/Tests/IntegrationTests/Fixtures/2Dimension/switchingSites.e2e.js b/Tests/IntegrationTests/Fixtures/2Dimension/switchingSites.e2e.js index 90ad6bf98b..f323f54eb2 100644 --- a/Tests/IntegrationTests/Fixtures/2Dimension/switchingSites.e2e.js +++ b/Tests/IntegrationTests/Fixtures/2Dimension/switchingSites.e2e.js @@ -13,7 +13,7 @@ test('Switching from Neos.Test.OneDimension to Neos.Test.TwoDimensions and back' await t.navigateTo('http://onedimension.localhost:8081/neos'); await t .typeText('#username', 'admin') - .typeText('#password', 'password') + .typeText('#password', 'admin') .click('button.neos-login-btn'); await waitForReact(30000); await Page.goToPage('Home'); @@ -38,7 +38,7 @@ test('Switching from Neos.Test.TwoDimensions to Neos.Test.OneDimension and back' await t.navigateTo('http://twodimensions.localhost:8081/neos'); await t .typeText('#username', 'admin') - .typeText('#password', 'password') + .typeText('#password', 'admin') .click('button.neos-login-btn'); await waitForReact(30000); await Page.goToPage('Home'); diff --git a/Tests/IntegrationTests/e2e-docker.sh b/Tests/IntegrationTests/e2e-docker.sh index bcec06b019..ec2895235d 100755 --- a/Tests/IntegrationTests/e2e-docker.sh +++ b/Tests/IntegrationTests/e2e-docker.sh @@ -53,7 +53,7 @@ dc exec -T php bash <<-'BASH' ./flow flow:cache:flush ./flow flow:cache:warmup ./flow doctrine:migrate - ./flow user:create --username=admin --password=password --first-name=John --last-name=Doe --roles=Administrator || true + ./flow user:create --username=admin --password=admin --first-name=John --last-name=Doe --roles=Administrator || true ./flow cr:setup --content-repository onedimension ./flow site:create neos-test-onedimension Neos.Test.OneDimension Neos.TestNodeTypes:Document.Page diff --git a/Tests/IntegrationTests/start-neos-dev-instance.sh b/Tests/IntegrationTests/start-neos-dev-instance.sh index 600f27eaa9..c018e135a8 100644 --- a/Tests/IntegrationTests/start-neos-dev-instance.sh +++ b/Tests/IntegrationTests/start-neos-dev-instance.sh @@ -40,7 +40,7 @@ dc exec -T php bash <<-'BASH' ./flow flow:cache:flush ./flow flow:cache:warmup ./flow doctrine:migrate - ./flow user:create --username=admin --password=password --first-name=John --last-name=Doe --roles=Administrator || true + ./flow user:create --username=admin --password=admin --first-name=John --last-name=Doe --roles=Administrator || true BASH echo "" diff --git a/Tests/IntegrationTests/utils.js b/Tests/IntegrationTests/utils.js index 86f3289b9e..09597b7ed7 100644 --- a/Tests/IntegrationTests/utils.js +++ b/Tests/IntegrationTests/utils.js @@ -5,7 +5,7 @@ import {PublishDropDown, Page} from './pageModel'; export const subSection = name => console.log('\x1b[33m%s\x1b[0m', ' - ' + name); const adminUserName = 'admin'; -const adminPassword = 'password'; +const adminPassword = 'admin'; export const getUrl = ClientFunction(() => window.location.href);