mirror of
https://github.com/wekan/wekan.git
synced 2025-12-28 13:18:49 +01:00
Refactor logging messages in Wekan readiness and user verification steps for improved clarity
This commit is contained in:
parent
63596b1fbd
commit
c1336fc908
1 changed files with 3 additions and 3 deletions
6
.github/workflows/e2e-testing.yml
vendored
6
.github/workflows/e2e-testing.yml
vendored
|
|
@ -109,7 +109,7 @@ jobs:
|
|||
key: ${{ secrets.EC2_SSH_KEY }}
|
||||
script: |
|
||||
# Wait for Wekan to be fully ready
|
||||
echo "⏳ Waiting for Wekan to start..."
|
||||
echo "Waiting for Wekan to start..."
|
||||
for i in {1..24}; do
|
||||
if curl -s http://localhost > /dev/null 2>&1; then
|
||||
echo "Wekan is responding!"
|
||||
|
|
@ -174,11 +174,11 @@ jobs:
|
|||
' || echo "Failed to execute MongoDB command"
|
||||
|
||||
# Verify user was created
|
||||
echo "🔍 Verifying user creation..."
|
||||
echo "Verifying user creation..."
|
||||
sudo docker exec wekan-db mongosh wekan --eval 'db.users.findOne({username: "omriza5"}, {username: 1, emails: 1, isAdmin: 1})' || echo "User verification failed"
|
||||
|
||||
# Verify login works
|
||||
echo "🔑 Testing login..."
|
||||
echo "Testing login..."
|
||||
LOGIN_RESPONSE=$(curl -s -w "HTTPSTATUS:%{http_code}" \
|
||||
-H "Content-type:application/json" \
|
||||
-X POST http://localhost/users/login \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue