@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.js
CHANGED
|
@@ -112,7 +112,7 @@ const NEETO_ROUTES = {
|
|
|
112
112
|
imageUploader: "/neeto_image_uploader_engine",
|
|
113
113
|
};
|
|
114
114
|
const PROFILE_LINKS = {
|
|
115
|
-
neetoStatus: "https://
|
|
115
|
+
neetoStatus: "https://neetostatus.com/",
|
|
116
116
|
neetoCommunity: "https://www.launchpass.com/neetohq",
|
|
117
117
|
};
|
|
118
118
|
|
|
@@ -57365,6 +57365,8 @@ class FastmailApi {
|
|
|
57365
57365
|
constructor(neetoPlaywrightUtilities) {
|
|
57366
57366
|
this.neetoPlaywrightUtilities = neetoPlaywrightUtilities;
|
|
57367
57367
|
this.authorizeAndSetAccountId = async () => {
|
|
57368
|
+
if (IS_DEV_ENV)
|
|
57369
|
+
return;
|
|
57368
57370
|
const response = await this.neetoPlaywrightUtilities.apiRequest({
|
|
57369
57371
|
method: "get",
|
|
57370
57372
|
url: "https://api.fastmail.com/.well-known/jmap",
|
|
@@ -57390,7 +57392,7 @@ class FastmailApi {
|
|
|
57390
57392
|
url: `https://www.fastmailusercontent.com/jmap/download/${this.accountId}/${blobId}/${attachmentName}`,
|
|
57391
57393
|
headers: this.headers,
|
|
57392
57394
|
});
|
|
57393
|
-
if (!process.env.NEETO_AUTOMATION_FASTMAIL_API_KEY)
|
|
57395
|
+
if (!IS_DEV_ENV && !process.env.NEETO_AUTOMATION_FASTMAIL_API_KEY)
|
|
57394
57396
|
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.");
|
|
57395
57397
|
this.headers = {
|
|
57396
57398
|
"Content-Type": "application/json",
|
|
@@ -114294,7 +114296,7 @@ const THEMES_TEXTS = {
|
|
|
114294
114296
|
|
|
114295
114297
|
class HelpAndProfilePage {
|
|
114296
114298
|
constructor({ page, neetoPlaywrightUtilities, chatApiBaseURL, kbDocsBaseURL, changelogBaseURL, }) {
|
|
114297
|
-
this.hoverOnBody = () => this.page.locator("body").hover();
|
|
114299
|
+
this.hoverOnBody = () => this.page.locator("body").hover({ timeout: 10000 });
|
|
114298
114300
|
this.openHelpCenter = async () => {
|
|
114299
114301
|
await expect(async () => {
|
|
114300
114302
|
await this.hoverOnBody();
|
|
@@ -114302,7 +114304,7 @@ class HelpAndProfilePage {
|
|
|
114302
114304
|
await floatingActionMenuButton.scrollIntoViewIfNeeded();
|
|
114303
114305
|
await floatingActionMenuButton.hover();
|
|
114304
114306
|
await expect(this.page.getByTestId(HELP_CENTER_SELECTORS.chatButton)).toBeVisible();
|
|
114305
|
-
}).toPass({ timeout:
|
|
114307
|
+
}).toPass({ timeout: 60000 });
|
|
114306
114308
|
};
|
|
114307
114309
|
this.openLiveChatAndVerify = async (widgetVisibilityTimeout = 10000) => {
|
|
114308
114310
|
await expect(async () => {
|