From 6442ab29e322cfea7111872652c5f3b968bb2fe4 Mon Sep 17 00:00:00 2001 From: Szabolcs Deme Date: Fri, 5 Jan 2024 16:47:08 +0100 Subject: [PATCH] Adding test user for the recipe --- Lombiq.Walkthroughs/Assets/Scripts/walkthroughs.js | 7 +++---- .../Recipes/Lombiq.Walkthroughs.Setup.recipe.json | 6 ++++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Lombiq.Walkthroughs/Assets/Scripts/walkthroughs.js b/Lombiq.Walkthroughs/Assets/Scripts/walkthroughs.js index 3e183c5..0a51104 100644 --- a/Lombiq.Walkthroughs/Assets/Scripts/walkthroughs.js +++ b/Lombiq.Walkthroughs/Assets/Scripts/walkthroughs.js @@ -181,8 +181,7 @@ jQuery(($) => { { title: 'Site setup', text: 'To get to this point (a set up site), first you will need to get through the ' + - '' + - 'setup screen. Where you can decide which setup recipe you\'d like to use. Currently, ' + + 'setup screen. Where you can decide which setup recipe you\'d like to use. Currently, ' + 'we are using the Walkthroughs recipe.', buttons: [ backButton, @@ -239,7 +238,7 @@ jQuery(($) => { { title: 'Username', attachTo: { element: '#UserName', on: 'bottom' }, - text: 'Input your username, for test sites the usually used username is "admin".', + text: 'Input your username, this recipe included a user. The username is "testuser".', buttons: [ backButton, nextButton, @@ -255,7 +254,7 @@ jQuery(($) => { { title: 'Username', attachTo: { element: '#Password', on: 'bottom' }, - text: 'Input your password, for this test site the password is "Password1!".', + text: 'Input your password, the password for the test user is "Password1!".', buttons: [ backButton, nextButton, diff --git a/Lombiq.Walkthroughs/Recipes/Lombiq.Walkthroughs.Setup.recipe.json b/Lombiq.Walkthroughs/Recipes/Lombiq.Walkthroughs.Setup.recipe.json index 45a2f0d..e8a75f9 100644 --- a/Lombiq.Walkthroughs/Recipes/Lombiq.Walkthroughs.Setup.recipe.json +++ b/Lombiq.Walkthroughs/Recipes/Lombiq.Walkthroughs.Setup.recipe.json @@ -156,6 +156,12 @@ "Article" ] } + }, + { + "name": "Command", + "Commands": [ + "createUser /UserName:testuser /Password:Password1! /Email:testuser@mytestorg.com /Roles:Administrator" + ] } ] }