diff --git a/cmd/npmExecuteTests_generated.go b/cmd/npmExecuteTests_generated.go index 3d794ea322..54fc441863 100644 --- a/cmd/npmExecuteTests_generated.go +++ b/cmd/npmExecuteTests_generated.go @@ -207,7 +207,7 @@ func addNpmExecuteTestsFlags(cmd *cobra.Command, stepConfig *npmExecuteTestsOpti cmd.Flags().StringVar(&stepConfig.BaseURL, "baseUrl", `http://localhost:8080/index.html`, "Base URL of the application to be tested.") cmd.Flags().StringVar(&stepConfig.UsernameEnvVar, "usernameEnvVar", `wdi5_username`, "Env var for username.") cmd.Flags().StringVar(&stepConfig.PasswordEnvVar, "passwordEnvVar", `wdi5_password`, "Env var for password.") - cmd.Flags().StringVar(&stepConfig.UrlOptionPrefix, "urlOptionPrefix", os.Getenv("PIPER_urlOptionPrefix"), "If you want to specify an extra option that the tested url it appended to.\nFor example if the test URL is `http://localhost and urlOptionPrefix is `--base-url=`,\nwe'll add `--base-url=http://localhost` to your runScript.\n") + cmd.Flags().StringVar(&stepConfig.UrlOptionPrefix, "urlOptionPrefix", os.Getenv("PIPER_urlOptionPrefix"), "If you want to specify an extra option that the tested url it appended to.\nFor example if the test URL is `http://localhost` and urlOptionPrefix is `--base-url=`,\nwe'll add `--base-url=http://localhost` to your runScript.\n") cmd.Flags().StringSliceVar(&stepConfig.Envs, "envs", []string{}, "List of environment variables to be set") cmd.Flags().StringSliceVar(&stepConfig.Paths, "paths", []string{}, "List of paths to be added to $PATH") cmd.Flags().StringVar(&stepConfig.WorkingDirectory, "workingDirectory", `.`, "Directory where your tests are located relative to the root of your project") diff --git a/documentation/docs/steps/npmExecuteTests.md b/documentation/docs/steps/npmExecuteTests.md index 26af47289c..c7ab63968d 100644 --- a/documentation/docs/steps/npmExecuteTests.md +++ b/documentation/docs/steps/npmExecuteTests.md @@ -1,7 +1,7 @@ -# ${docGenStepName} (Beta) +# ${docGenStepName} -[!WARNING] -Please note, that the npmExecuteTests step is in beta state, and there could be breaking changes before we remove the beta notice. +> [!WARNING] +> Please note, that the npmExecuteTests step is in beta state, and there could be breaking changes before we remove the beta notice. ## ${docGenDescription} diff --git a/resources/metadata/npmExecuteTests.yaml b/resources/metadata/npmExecuteTests.yaml index 7eb1530428..84a633123d 100644 --- a/resources/metadata/npmExecuteTests.yaml +++ b/resources/metadata/npmExecuteTests.yaml @@ -96,7 +96,7 @@ spec: type: string description: | If you want to specify an extra option that the tested url it appended to. - For example if the test URL is `http://localhost and urlOptionPrefix is `--base-url=`, + For example if the test URL is `http://localhost` and urlOptionPrefix is `--base-url=`, we'll add `--base-url=http://localhost` to your runScript. scope: - PARAMETERS