File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ b) Pull this repo to your local machine, make a jar by running **`mvn package`**
26
26
@BeforeSuite(alwaysRun = true)
27
27
public void beforeSuiteSetUp() {
28
28
// Instantiate a map with your needed Environment values
29
+
29
30
Map<String, String> envData = new HashMap<>();
30
31
envData.put("Base URL", "https://google.com/");
31
32
envData.put("User", "Admin");
@@ -37,7 +38,8 @@ b) Pull this repo to your local machine, make a jar by running **`mvn package`**
37
38
AllureEnv.createAllureEnvironmentFile(envData);
38
39
39
40
/*
40
- If your /allure-results is in custom directory – just pass one more parameter with customPath to your /allure-results directory
41
+ If your /allure-results is in custom directory – just pass one more parameter
42
+ with customPath to your /allure-results directory
41
43
*/
42
44
AllureEnv.createAllureEnvironmentFile(envData, "/");
43
45
@@ -48,4 +50,5 @@ b) Pull this repo to your local machine, make a jar by running **`mvn package`**
48
50
2 . Now you're all set to run your suite.
49
51
50
52
3 . Once suite is finished, generate allure report and take a look on the ** Environment** section:
51
- ![ Allure Report Results] ( https://ibb.co/3djVmcp )
53
+
54
+ ![ Allure Report Results] ( https://i.ibb.co/RbstTc3/Allure-Environment-Creator.png )
You can’t perform that action at this time.
0 commit comments