-
-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathConfiguration.java
More file actions
36 lines (25 loc) · 745 Bytes
/
Configuration.java
File metadata and controls
36 lines (25 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package io.github.tahanima.config;
import org.aeonbits.owner.Config;
import org.aeonbits.owner.Config.LoadPolicy;
import org.aeonbits.owner.Config.Sources;
/**
* @author tahanima
*/
@LoadPolicy(Config.LoadType.MERGE)
@Sources({"system:properties", "classpath:config.properties", "classpath:allure.properties"})
public interface Configuration extends Config {
@Key("allure.results.directory")
String allureResultsDir();
@Key("base.url")
String baseUrl();
@Key("base.test.data.path")
String baseTestDataPath();
@Key("base.test.video.path")
String baseTestVideoPath();
String browser();
boolean headless();
@Key("slow.motion")
int slowMotion();
int timeout();
boolean video();
}