@bigbinary/neeto-playwright-commons 1.26.26 → 1.26.28
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.cjs.js +6 -4
- package/index.cjs.js.map +1 -1
- package/index.js +6 -4
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -133,7 +133,7 @@ const NEETO_ROUTES = {
|
|
|
133
133
|
imageUploader: "/neeto_image_uploader_engine",
|
|
134
134
|
};
|
|
135
135
|
const PROFILE_LINKS = {
|
|
136
|
-
neetoStatus: "https://
|
|
136
|
+
neetoStatus: "https://neetostatus.com/",
|
|
137
137
|
neetoCommunity: "https://www.launchpass.com/neetohq",
|
|
138
138
|
};
|
|
139
139
|
|
|
@@ -57386,6 +57386,8 @@ class FastmailApi {
|
|
|
57386
57386
|
constructor(neetoPlaywrightUtilities) {
|
|
57387
57387
|
this.neetoPlaywrightUtilities = neetoPlaywrightUtilities;
|
|
57388
57388
|
this.authorizeAndSetAccountId = async () => {
|
|
57389
|
+
if (IS_DEV_ENV)
|
|
57390
|
+
return;
|
|
57389
57391
|
const response = await this.neetoPlaywrightUtilities.apiRequest({
|
|
57390
57392
|
method: "get",
|
|
57391
57393
|
url: "https://api.fastmail.com/.well-known/jmap",
|
|
@@ -57411,7 +57413,7 @@ class FastmailApi {
|
|
|
57411
57413
|
url: `https://www.fastmailusercontent.com/jmap/download/${this.accountId}/${blobId}/${attachmentName}`,
|
|
57412
57414
|
headers: this.headers,
|
|
57413
57415
|
});
|
|
57414
|
-
if (!process.env.NEETO_AUTOMATION_FASTMAIL_API_KEY)
|
|
57416
|
+
if (!IS_DEV_ENV && !process.env.NEETO_AUTOMATION_FASTMAIL_API_KEY)
|
|
57415
57417
|
throw new Error("Please set the environment variable NEETO_AUTOMATION_FASTMAIL_API_KEYS. Credentials can be found in the Automation Credentials vault in the BigBinary 1Password account.");
|
|
57416
57418
|
this.headers = {
|
|
57417
57419
|
"Content-Type": "application/json",
|
|
@@ -114315,7 +114317,7 @@ const THEMES_TEXTS = {
|
|
|
114315
114317
|
|
|
114316
114318
|
class HelpAndProfilePage {
|
|
114317
114319
|
constructor({ page, neetoPlaywrightUtilities, chatApiBaseURL, kbDocsBaseURL, changelogBaseURL, }) {
|
|
114318
|
-
this.hoverOnBody = () => this.page.locator("body").hover();
|
|
114320
|
+
this.hoverOnBody = () => this.page.locator("body").hover({ timeout: 10000 });
|
|
114319
114321
|
this.openHelpCenter = async () => {
|
|
114320
114322
|
await test.expect(async () => {
|
|
114321
114323
|
await this.hoverOnBody();
|
|
@@ -114323,7 +114325,7 @@ class HelpAndProfilePage {
|
|
|
114323
114325
|
await floatingActionMenuButton.scrollIntoViewIfNeeded();
|
|
114324
114326
|
await floatingActionMenuButton.hover();
|
|
114325
114327
|
await test.expect(this.page.getByTestId(HELP_CENTER_SELECTORS.chatButton)).toBeVisible();
|
|
114326
|
-
}).toPass({ timeout:
|
|
114328
|
+
}).toPass({ timeout: 60000 });
|
|
114327
114329
|
};
|
|
114328
114330
|
this.openLiveChatAndVerify = async (widgetVisibilityTimeout = 10000) => {
|
|
114329
114331
|
await test.expect(async () => {
|