@checksum-ai/runtime 1.1.50-beta → 1.1.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,38 +14,27 @@ export default getChecksumConfig({
14
14
  apiKey: "<API key>",
15
15
 
16
16
  /**
17
- * This is the base URL of the tested app. E.g. https://example.com. URLs in the tests will be relative to the base URL.
17
+ * Define your test run environments and test users within each environment.
18
+ * The environments must be aligned with those set here:
19
+ * https://app.checksum.ai/#/settings/
18
20
  */
19
- baseURL: "<base URL>",
20
-
21
- /**
22
- * Insert the account's username that will be used
23
- * to login into your testing environment
24
- */
25
- username: "<username>",
26
-
27
- /**
28
- * Insert the account's password that will be used
29
- * to login into your testing environment
30
- */
31
- password: "<password>",
32
-
33
- /**
34
- * The credentials of the users that will be used to login into your testing environment
35
- * Uncomment if you require support for multiple users
36
- */
37
- // users: [
38
- // {
39
- // role: "host",
40
- // username: "<host username>",
41
- // password: "<host password>",
42
- // },
43
- // {
44
- // role: "guest",
45
- // username: "<guest username>",
46
- // password: "<guest password>",
47
- // },
48
- // ],
21
+ environments: [
22
+ {
23
+ name: "<The name of the environment>",
24
+ baseURL:
25
+ "<The base URL of the tested app. e.g. https://example.com. URLs in the tests will be relative to the base URL>",
26
+ loginURL: "<The URL of the login page>",
27
+ default: true,
28
+ users: [
29
+ {
30
+ role: "<The role of the user, may be undefined in case of single user>",
31
+ username: "<username>",
32
+ password: "<password>",
33
+ default: true,
34
+ },
35
+ ],
36
+ },
37
+ ],
49
38
 
50
39
  options: {
51
40
  /**