@empiricalrun/playwright-utils 0.2.0 → 0.2.2
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/CHANGELOG.md +12 -0
- package/dist/config.js +2 -2
- package/dist/email.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @empiricalrun/playwright-utils
|
|
2
2
|
|
|
3
|
+
## 0.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- eaf2603: fix: playwright-utils build for email client secret issue
|
|
8
|
+
|
|
9
|
+
## 0.2.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 112c29c: fix: build step for email client key
|
|
14
|
+
|
|
3
15
|
## 0.2.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/config.js
CHANGED
|
@@ -12,10 +12,10 @@ exports.baseConfig = {
|
|
|
12
12
|
trace: "retain-on-failure",
|
|
13
13
|
video: "on",
|
|
14
14
|
viewport: { width: 1366, height: 768 },
|
|
15
|
-
actionTimeout:
|
|
15
|
+
actionTimeout: 15000,
|
|
16
16
|
},
|
|
17
17
|
expect: {
|
|
18
|
-
timeout:
|
|
18
|
+
timeout: 15000,
|
|
19
19
|
},
|
|
20
20
|
timeout: 0,
|
|
21
21
|
};
|
package/dist/email.js
CHANGED
|
@@ -14,7 +14,7 @@ class EmailClient {
|
|
|
14
14
|
.map(() => Math.random().toString(36)[2])
|
|
15
15
|
.join("");
|
|
16
16
|
this.address = `${randomString}@${serverId}.mailosaur.net`;
|
|
17
|
-
this.client = new mailosaur_1.default("");
|
|
17
|
+
this.client = new mailosaur_1.default("NAEZtp2DVibTCzCxdYkZzhG4hrxSlBrV");
|
|
18
18
|
}
|
|
19
19
|
getAddress() {
|
|
20
20
|
return this.address;
|
|
@@ -23,7 +23,7 @@ class EmailClient {
|
|
|
23
23
|
try {
|
|
24
24
|
const email = await this.client.messages.get(serverId, {
|
|
25
25
|
sentTo: this.address,
|
|
26
|
-
}, { timeout:
|
|
26
|
+
}, { timeout: 30000 });
|
|
27
27
|
if (email) {
|
|
28
28
|
return {
|
|
29
29
|
subject: email.subject,
|