|
1 |
| -paths = ["."] |
| 1 | +default-profiles = ["default"] |
| 2 | +paths = ["tests"] |
2 | 3 | name = "My RobotCode Example Tests"
|
3 | 4 |
|
4 | 5 | [metadata]
|
5 | 6 | "ci run" = { expr = "environ.get('CI', 'unknown')" }
|
6 | 7 | "architecture" = { expr = "platform.architecture()" }
|
7 | 8 | "python-version" = { expr = "platform.python_version()" }
|
8 | 9 |
|
9 |
| -[profiles.webkit.variables] |
| 10 | +[profiles.webkit.extend-variables] |
10 | 11 | BROWSER = "webkit"
|
11 | 12 |
|
12 |
| -[profiles.firefox.variables] |
| 13 | +[profiles.firefox.extend-variables] |
13 | 14 | BROWSER = "firefox"
|
14 | 15 |
|
15 |
| -[profiles.chromium.variables] |
| 16 | +[profiles.chromium.extend-variables] |
16 | 17 | BROWSER = "chromium"
|
17 | 18 |
|
18 |
| -[profiles.test-env.extend-variables] |
19 |
| -PORT = "3000" |
20 |
| - |
21 |
| -[profiles.dev-env.extend-variables] |
22 |
| -PORT = "3001" |
23 |
| - |
24 | 19 | [profiles.headless.extend-variables]
|
25 | 20 | HEADLESS = "True"
|
26 | 21 |
|
27 | 22 | [profiles.headfull.extend-variables]
|
28 | 23 | HEADLESS = "False"
|
29 | 24 |
|
30 |
| -[profiles.webkit] |
31 |
| -hidden = true |
32 |
| - |
33 |
| -[profiles.firefox] |
34 |
| -hidden = true |
35 |
| - |
36 |
| -[profiles.chromium] |
37 |
| -hidden = true |
38 |
| - |
39 |
| -[profiles.test-env] |
40 |
| -hidden = true |
41 |
| - |
42 |
| -[profiles.dev-env] |
43 |
| -hidden = true |
44 |
| - |
45 |
| -[profiles.headless] |
46 |
| -hidden = true |
47 |
| - |
48 |
| -[profiles.headfull] |
49 |
| -hidden = true |
50 |
| - |
51 |
| -[profiles.default] |
52 |
| -description = "default profile for all tests on local machine" |
53 |
| -inherits = ["chromium", "headfull"] |
54 |
| - |
55 |
| -[profiles.regression] |
56 |
| -description = "headfull regression tests" |
57 |
| -inherits = ["test-env", "headfull"] |
58 |
| -includes = ["regression"] |
59 |
| - |
60 |
| -[profiles.test] |
61 |
| -description = "headfull run on test env with firefox" |
62 |
| -inherits = ["test-env", "firefox", "headfull"] |
63 |
| - |
64 |
| -[profiles.dev] |
65 |
| -description = "headfull run on dev env with chrome" |
66 |
| -inherits = ["dev-env", "chromium", "headfull"] |
| 25 | +[profiles.test.extend-variables] |
| 26 | +PORT = "3000" |
| 27 | +APP_TITLE = "Test: Todo App" |
| 28 | +APP_HEADER = "Test Environment" |
| 29 | +APP_COLOR = "bg-red-400" |
67 | 30 |
|
68 |
| -[profiles.dev.variables] |
| 31 | +[profiles.dev.extend-variables] |
69 | 32 | PORT = "3001"
|
70 | 33 | APP_TITLE = "Development: Todo App"
|
71 | 34 | APP_HEADER = "Development Environment"
|
72 | 35 | APP_COLOR = "bg-blue-400"
|
73 | 36 |
|
74 |
| -[profiles.ci-test] |
75 |
| -description = "ci run on test env" |
76 |
| -enabled = { if = 'environ.get("CI") == "true"' } |
77 |
| -inherits = ["webkit", "test-env", "headless"] |
78 |
| - |
79 |
| -[profiles.ci-dev] |
80 |
| -description = "ci run on dev env" |
81 |
| -enabled = { if = 'environ.get("CI") == "true"' } |
82 |
| -inherits = ["firefox", "dev-env", "headless"] |
83 |
| - |
84 |
| -[profiles.ci-dev.variables] |
85 |
| -PORT = "3001" |
86 |
| -APP_TITLE = "Development: Todo App" |
87 |
| -APP_HEADER = "Development Environment" |
88 |
| -APP_COLOR = "bg-blue-400" |
| 37 | +[profiles.regression] |
| 38 | +description = "run only regression tests" |
| 39 | +includes = ["regression"] |
89 | 40 |
|
90 |
| -[profiles.ci-no-regression] |
| 41 | +[profiles.ci] |
91 | 42 | description = "ci run on test env"
|
92 |
| -hidden = { if = 'environ.get("CI") != "true"' } |
93 |
| -inherits = ["test-env", "firefox", "headless"] |
94 |
| -excludes = ["regression"] |
| 43 | +enabled = { if = 'environ.get("CI") == "true"' } |
| 44 | +inherits = ["headless"] |
| 45 | +precedence = 1000 |
0 commit comments