@checksum-ai/runtime 1.0.89 → 1.0.91

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.
package/index.d.ts CHANGED
@@ -115,23 +115,36 @@ export type ChecksumConfig = {
115
115
  baseURL: string;
116
116
 
117
117
  /**
118
- * Account's username that will be used
118
+ * The username/email that will be used
119
119
  * to login into your testing environment
120
120
  */
121
121
  username?: string;
122
122
  /**
123
- * Account's password that will be used
123
+ * The password that will be used
124
124
  * to login into your testing environment
125
125
  */
126
126
  password?: string;
127
127
 
128
+ /**
129
+ * The credentials of the users that will be used to login into your testing environment
130
+ */
131
+ users?: {
132
+ role: string;
133
+ username?: string;
134
+ password?: string;
135
+ default?: boolean;
136
+ }[];
137
+
128
138
  /**
129
139
  * Checksum runtime options
130
140
  */
131
141
  options?: Partial<RuntimeOptions>;
132
142
  };
133
143
 
134
- export function getLogin(): (page: Page) => Promise<void>;
144
+ export function getLogin(): (
145
+ page: Page,
146
+ { role }: { role?: string } = {}
147
+ ) => Promise<void>;
135
148
 
136
149
  export function getChecksumConfig(
137
150
  config: Partial<ChecksumConfig>