mistercrunch commented on code in PR #31926:
URL: https://github.com/apache/superset/pull/31926#discussion_r1924153898


##########
docker/docker-init.sh:
##########
@@ -50,12 +50,16 @@ echo_step "1" "Complete" "Applying DB migrations"
 
 # Create an admin user
 echo_step "2" "Starting" "Setting up admin user ( admin / $ADMIN_PASSWORD )"
-superset fab create-admin \
-    --username admin \
-    --firstname Superset \
-    --lastname Admin \
-    --email [email protected] \
-    --password "$ADMIN_PASSWORD"
+if [ "$CYPRESS_CONFIG" == "true" ]; then
+    superset load_test_users

Review Comment:
   here the tests were failing locally because the Admin username was slightly 
different and some tests apply filter on dashboard Owners



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to