@bigbinary/neeto-playwright-commons 1.12.11 → 1.13.1
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/configs/scripts/jsdoc-builder/utils.mjs +1 -1
- package/index.cjs.js +523 -497
- package/index.cjs.js.map +1 -1
- package/index.d.ts +766 -719
- package/index.js +522 -498
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -720,7 +720,7 @@ declare const generateStagingData: (product?: string) => {
|
|
|
720
720
|
email: string;
|
|
721
721
|
};
|
|
722
722
|
declare const _default: _playwright_test.TestType<_playwright_test.PlaywrightTestArgs & _playwright_test.PlaywrightTestOptions & Browser, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions>;
|
|
723
|
-
declare const i18nFixture: Fixtures<
|
|
723
|
+
declare const i18nFixture: Fixtures<PlaywrightTestArgs & PlaywrightTestOptions, I18nPlaywrightFixture, PlaywrightTestArgs & PlaywrightTestOptions, PlaywrightWorkerArgs & PlaywrightWorkerOptions>;
|
|
724
724
|
declare class ThankYouPage {
|
|
725
725
|
page: Page;
|
|
726
726
|
neetoPlaywrightUtilities: CustomCommands;
|
|
@@ -1356,6 +1356,10 @@ type SlackPageParams = {
|
|
|
1356
1356
|
neetoPlaywrightUtilities: CustomCommands;
|
|
1357
1357
|
integrationRouteIndex?: string;
|
|
1358
1358
|
};
|
|
1359
|
+
interface CreateNewSlackChannelParams {
|
|
1360
|
+
channelName: string;
|
|
1361
|
+
kind?: "public" | "private";
|
|
1362
|
+
}
|
|
1359
1363
|
declare class SlackPage extends IntegrationBase {
|
|
1360
1364
|
slackWebappPage: Page;
|
|
1361
1365
|
slackWebappPageDataQa: (dataQa: string | [string, string]) => Locator;
|
|
@@ -1536,10 +1540,7 @@ declare class SlackPage extends IntegrationBase {
|
|
|
1536
1540
|
createNewSlackChannel: ({
|
|
1537
1541
|
channelName,
|
|
1538
1542
|
kind
|
|
1539
|
-
}:
|
|
1540
|
-
channelName: string;
|
|
1541
|
-
kind?: "public" | "private";
|
|
1542
|
-
}) => Promise<void>;
|
|
1543
|
+
}: CreateNewSlackChannelParams) => Promise<void>;
|
|
1543
1544
|
/**
|
|
1544
1545
|
*
|
|
1545
1546
|
* Deletes a slack channel. It takes the following parameters:
|
|
@@ -1684,19 +1685,22 @@ declare class WebhooksPage {
|
|
|
1684
1685
|
...fieldsToBeVerified
|
|
1685
1686
|
}: VerifyWebhookDeliveryByEventParams) => Promise<void>;
|
|
1686
1687
|
}
|
|
1688
|
+
interface ZapierPageInitializer {
|
|
1689
|
+
page: Page;
|
|
1690
|
+
neetoPlaywrightUtilities: CustomCommands;
|
|
1691
|
+
integrationRouteIndex?: string;
|
|
1692
|
+
mailerUtils: MailerUtils;
|
|
1693
|
+
}
|
|
1687
1694
|
declare class ZapierPage extends IntegrationBase {
|
|
1688
1695
|
zapierWebPage: Page;
|
|
1689
|
-
mailosaur: MailosaurClient;
|
|
1690
1696
|
continueButton: Locator;
|
|
1697
|
+
mailerUtils: MailerUtils;
|
|
1691
1698
|
constructor({
|
|
1692
1699
|
page,
|
|
1693
1700
|
neetoPlaywrightUtilities,
|
|
1694
|
-
integrationRouteIndex
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
neetoPlaywrightUtilities: CustomCommands;
|
|
1698
|
-
integrationRouteIndex?: string;
|
|
1699
|
-
});
|
|
1701
|
+
integrationRouteIndex,
|
|
1702
|
+
mailerUtils
|
|
1703
|
+
}: ZapierPageInitializer);
|
|
1700
1704
|
/**
|
|
1701
1705
|
*
|
|
1702
1706
|
* Logs into zapier web app. It takes the following parameters:
|
|
@@ -1772,7 +1776,7 @@ declare class ZapierPage extends IntegrationBase {
|
|
|
1772
1776
|
submittedEmail: string;
|
|
1773
1777
|
zapTriggeredAfter: Date;
|
|
1774
1778
|
productName: string;
|
|
1775
|
-
}) => Promise<
|
|
1779
|
+
}) => Promise<FormattedList | Record<string, never>>;
|
|
1776
1780
|
/**
|
|
1777
1781
|
*
|
|
1778
1782
|
* Skips test if Zapier task limit is exhausted.
|
|
@@ -1923,13 +1927,7 @@ interface SelectImage extends CropImageProps {
|
|
|
1923
1927
|
declare class ImageUploader {
|
|
1924
1928
|
page: Page;
|
|
1925
1929
|
neetoPlaywrightUtilities: CustomCommands;
|
|
1926
|
-
constructor(
|
|
1927
|
-
page,
|
|
1928
|
-
neetoPlaywrightUtilities
|
|
1929
|
-
}: {
|
|
1930
|
-
page: Page;
|
|
1931
|
-
neetoPlaywrightUtilities: CustomCommands;
|
|
1932
|
-
});
|
|
1930
|
+
constructor(page: Page, neetoPlaywrightUtilities: CustomCommands);
|
|
1933
1931
|
private submitCroppedImage;
|
|
1934
1932
|
/**
|
|
1935
1933
|
*
|
|
@@ -3125,6 +3123,7 @@ declare const API_ROUTES: {
|
|
|
3125
3123
|
bulkUpdate: string;
|
|
3126
3124
|
index: string;
|
|
3127
3125
|
show: (id: string) => string;
|
|
3126
|
+
creationStatus: (id: string) => string;
|
|
3128
3127
|
};
|
|
3129
3128
|
integrations: {
|
|
3130
3129
|
zapier: {
|
|
@@ -3196,171 +3195,442 @@ declare const NEETO_ROUTES: {
|
|
|
3196
3195
|
declare const networkConditions: Record<"Slow 3G" | "Fast 3G" | "No Throttling", Protocol.Network.emulateNetworkConditionsParameters>;
|
|
3197
3196
|
/**
|
|
3198
3197
|
*
|
|
3199
|
-
*
|
|
3200
|
-
*
|
|
3201
|
-
* @example
|
|
3202
|
-
*
|
|
3203
|
-
* import { COMMON_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
3204
|
-
* @endexample
|
|
3205
|
-
* emailInputError: Selector for email input error.
|
|
3206
|
-
*
|
|
3207
|
-
* pane: Selector for pane wrapper.
|
|
3208
|
-
*
|
|
3209
|
-
* sideBar: Selector for side bar.
|
|
3210
|
-
*
|
|
3211
|
-
* copyButton: Selector for the copy button.
|
|
3212
|
-
*
|
|
3213
|
-
* resetButton: Selector for the reset button.
|
|
3214
|
-
*
|
|
3215
|
-
* spinner: Selector for spinners.
|
|
3216
|
-
*
|
|
3217
|
-
* uiSpinner: Selector for spinners.
|
|
3218
|
-
*
|
|
3219
|
-
* subheaderText: Selector to get the subheader text.
|
|
3220
|
-
*
|
|
3221
|
-
* alertTitle: Selector for alert titles.
|
|
3222
|
-
*
|
|
3223
|
-
* alertModalMessage: Selector for alert modal messages.
|
|
3224
|
-
*
|
|
3225
|
-
* alertModalSubmitButton: to get the submit button of the NeetoUI Alert component.
|
|
3226
|
-
*
|
|
3227
|
-
* checkbox: Selector for checkboxes.
|
|
3228
|
-
*
|
|
3229
|
-
* checkboxLabel: Selector for checkbox labels.
|
|
3198
|
+
* newConversation: Text for initiating a new conversation.
|
|
3230
3199
|
*
|
|
3231
|
-
*
|
|
3200
|
+
* welcomeChatBubble: Text for the welcome message displayed in the chat bubble.
|
|
3232
3201
|
*
|
|
3233
|
-
|
|
3202
|
+
*/
|
|
3203
|
+
declare const CHAT_WIDGET_TEXTS: {
|
|
3204
|
+
newConversation: string;
|
|
3205
|
+
welcomeChatBubble: string;
|
|
3206
|
+
preChatQuestions: string;
|
|
3207
|
+
};
|
|
3208
|
+
/**
|
|
3234
3209
|
*
|
|
3235
|
-
*
|
|
3210
|
+
* agent: Text representing an agent.
|
|
3236
3211
|
*
|
|
3237
|
-
|
|
3212
|
+
*/
|
|
3213
|
+
declare const MEMBER_TEXTS: {
|
|
3214
|
+
agent: string;
|
|
3215
|
+
admin: string;
|
|
3216
|
+
selectAll: string;
|
|
3217
|
+
hide: string;
|
|
3218
|
+
show: string;
|
|
3219
|
+
};
|
|
3220
|
+
/**
|
|
3238
3221
|
*
|
|
3239
|
-
*
|
|
3222
|
+
* connectHeader(integration): Method to generate text for connecting an integration account.
|
|
3240
3223
|
*
|
|
3241
|
-
*
|
|
3224
|
+
* connectedHeader(integration): Method to generate text indicating a successful connection to an integration.
|
|
3242
3225
|
*
|
|
3243
|
-
|
|
3226
|
+
*/
|
|
3227
|
+
declare const INTEGRATIONS_TEXTS: {
|
|
3228
|
+
connectHeader: (integration: string) => string;
|
|
3229
|
+
connectedHeader: (integration: string) => string;
|
|
3230
|
+
};
|
|
3231
|
+
/**
|
|
3244
3232
|
*
|
|
3245
|
-
*
|
|
3233
|
+
* signOut: Text for signing out.
|
|
3246
3234
|
*
|
|
3247
|
-
*
|
|
3235
|
+
* allow: Text for allowing.
|
|
3248
3236
|
*
|
|
3249
|
-
*
|
|
3237
|
+
* loadingThread: Text indicating thread loading.
|
|
3250
3238
|
*
|
|
3251
|
-
*
|
|
3239
|
+
* name: Text for name.
|
|
3252
3240
|
*
|
|
3253
|
-
*
|
|
3241
|
+
* deleteThisChannel: Text for deleting a channel.
|
|
3254
3242
|
*
|
|
3255
|
-
*
|
|
3243
|
+
* permanentlyDeleteTheChannel: Text for confirming permanent deletion of a channel.
|
|
3256
3244
|
*
|
|
3257
|
-
*
|
|
3245
|
+
* deleteChannel: Text for deleting a channel.
|
|
3258
3246
|
*
|
|
3259
|
-
|
|
3247
|
+
*/
|
|
3248
|
+
declare const SLACK_WEB_TEXTS: {
|
|
3249
|
+
signOut: string;
|
|
3250
|
+
allow: string;
|
|
3251
|
+
loadingThread: string;
|
|
3252
|
+
name: string;
|
|
3253
|
+
deleteThisChannel: string;
|
|
3254
|
+
permanentlyDeleteTheChannel: string;
|
|
3255
|
+
deleteChannel: string;
|
|
3256
|
+
};
|
|
3257
|
+
/**
|
|
3260
3258
|
*
|
|
3261
|
-
*
|
|
3259
|
+
* account: Text for account.
|
|
3262
3260
|
*
|
|
3263
|
-
*
|
|
3261
|
+
* email: Text for email.
|
|
3264
3262
|
*
|
|
3265
|
-
*
|
|
3263
|
+
* continue: Text for continue.
|
|
3266
3264
|
*
|
|
3267
|
-
*
|
|
3265
|
+
* statusLabel: Text for status label.
|
|
3268
3266
|
*
|
|
3269
|
-
*
|
|
3267
|
+
* editExistingDraft: Text for editing an existing draft.
|
|
3270
3268
|
*
|
|
3271
|
-
*
|
|
3269
|
+
* signInTo: Text for signing into Zapier.
|
|
3272
3270
|
*
|
|
3273
|
-
*
|
|
3271
|
+
* yesContinueTo: Text for confirming continuation to a specific destination.
|
|
3274
3272
|
*
|
|
3275
|
-
*
|
|
3273
|
+
* testTrigger: Text for testing a trigger.
|
|
3276
3274
|
*
|
|
3277
|
-
*
|
|
3275
|
+
* editStep: Text for editing a step.
|
|
3278
3276
|
*
|
|
3279
|
-
*
|
|
3277
|
+
* continueWithSelectedRecord: Text for continuing with a selected record.
|
|
3280
3278
|
*
|
|
3281
|
-
*
|
|
3279
|
+
* publish: Text for publishing.
|
|
3282
3280
|
*
|
|
3283
|
-
*
|
|
3281
|
+
* delete: Text for deleting.
|
|
3284
3282
|
*
|
|
3285
|
-
*
|
|
3283
|
+
* loading: Text indicating loading.
|
|
3286
3284
|
*
|
|
3287
|
-
*
|
|
3285
|
+
* subdomain: Text for subdomain.
|
|
3288
3286
|
*
|
|
3289
|
-
*
|
|
3287
|
+
* apiKey: Text for API key.
|
|
3290
3288
|
*
|
|
3291
|
-
*
|
|
3289
|
+
* publishingZapHeading: Text heading for preparing Zap to go live.
|
|
3292
3290
|
*
|
|
3293
|
-
*
|
|
3291
|
+
* connectionListMenu: Text for connection list item menu.
|
|
3294
3292
|
*
|
|
3295
|
-
*
|
|
3293
|
+
* usageRegExp: Text for usage reset information.
|
|
3296
3294
|
*
|
|
3297
|
-
*
|
|
3295
|
+
* trialEndsRegExp: Text for trial end date.
|
|
3298
3296
|
*
|
|
3299
|
-
*
|
|
3297
|
+
* testCurrentlyInQueue: Text indicating test currently in queue.
|
|
3300
3298
|
*
|
|
3301
|
-
*
|
|
3299
|
+
* welcomeText(zapierLoginEmail): Method to generate welcome text for Zapier login.
|
|
3302
3300
|
*
|
|
3303
|
-
*
|
|
3301
|
+
* connectStagingApp: Text for connecting to Staging application.
|
|
3304
3302
|
*
|
|
3305
|
-
*
|
|
3303
|
+
* zapierWorkflowTriggered: Text subject for the Outbound email.
|
|
3306
3304
|
*
|
|
3307
|
-
*
|
|
3305
|
+
* confirmPublishing: Text to confirm the publishing of the updated Zap.
|
|
3308
3306
|
*
|
|
3309
|
-
|
|
3307
|
+
*/
|
|
3308
|
+
declare const ZAPIER_WEB_TEXTS: {
|
|
3309
|
+
account: string;
|
|
3310
|
+
email: string;
|
|
3311
|
+
continue: string;
|
|
3312
|
+
statusLabel: string;
|
|
3313
|
+
password: string;
|
|
3314
|
+
editExistingDraft: string;
|
|
3315
|
+
signInTo: string;
|
|
3316
|
+
yesContinueTo: string;
|
|
3317
|
+
testTrigger: string;
|
|
3318
|
+
editStep: string;
|
|
3319
|
+
continueWithSelectedRecord: string;
|
|
3320
|
+
publish: string;
|
|
3321
|
+
delete: string;
|
|
3322
|
+
loading: string;
|
|
3323
|
+
subdomain: string;
|
|
3324
|
+
apiKey: string;
|
|
3325
|
+
publishingZapHeading: string;
|
|
3326
|
+
connectionListMenu: string;
|
|
3327
|
+
usageRegExp: string;
|
|
3328
|
+
trialEndsRegExp: string;
|
|
3329
|
+
testCurrentlyInQueue: string;
|
|
3330
|
+
welcomeText: (zapierLoginEmail: string) => string;
|
|
3331
|
+
connectStagingApp: (appName: string) => string;
|
|
3332
|
+
zapierWorkflowTriggered: string;
|
|
3333
|
+
confirmPublishing: string;
|
|
3334
|
+
};
|
|
3335
|
+
/**
|
|
3310
3336
|
*
|
|
3311
|
-
*
|
|
3337
|
+
* zapierApiKeyGenerated: Message indicating successful generation of Zapier API key.
|
|
3312
3338
|
*
|
|
3313
|
-
|
|
3339
|
+
*/
|
|
3340
|
+
declare const TOASTR_MESSAGES: {
|
|
3341
|
+
zapierApiKeyGenerated: string;
|
|
3342
|
+
};
|
|
3343
|
+
/**
|
|
3314
3344
|
*
|
|
3315
|
-
*
|
|
3345
|
+
* Text indicating that Zapier's free task limit is exhausted and the test will be aborted.
|
|
3316
3346
|
*
|
|
3317
|
-
|
|
3347
|
+
*/
|
|
3348
|
+
declare const ZAPIER_LIMIT_EXHAUSTED_MESSAGE = "Zapier free task limit is exhausted. Test will be aborted";
|
|
3349
|
+
declare const EMOJI_LABEL = "thumbs up";
|
|
3350
|
+
declare const SELECT_COUNTRY = "Select country";
|
|
3351
|
+
declare const GOOGLE_CALENDAR_DATE_FORMAT = "YYYY/M/D";
|
|
3352
|
+
/**
|
|
3318
3353
|
*
|
|
3319
|
-
*
|
|
3354
|
+
* googleAccount: Text for google account.
|
|
3320
3355
|
*
|
|
3321
|
-
*
|
|
3356
|
+
* connectYourGoogleAccount: Text for connecting to your google account.
|
|
3322
3357
|
*
|
|
3323
|
-
*
|
|
3358
|
+
* signInWithGoogle: Text for signing in with google.
|
|
3324
3359
|
*
|
|
3325
|
-
*
|
|
3360
|
+
* signInHeading: Text heading for signing in.
|
|
3326
3361
|
*
|
|
3327
|
-
*
|
|
3362
|
+
* continue: Text for continue.
|
|
3328
3363
|
*
|
|
3329
|
-
*
|
|
3364
|
+
* selectAll: Text for selecting all permissions.
|
|
3330
3365
|
*
|
|
3331
|
-
*
|
|
3366
|
+
* appNotVerified: Text indicating app not verified.
|
|
3332
3367
|
*
|
|
3333
|
-
*
|
|
3368
|
+
* next: Text for next.
|
|
3334
3369
|
*
|
|
3335
|
-
*
|
|
3370
|
+
* showPassword: Text for showing password.
|
|
3336
3371
|
*
|
|
3337
|
-
*
|
|
3372
|
+
* emailOrPhone: Text indicating email or phone.
|
|
3338
3373
|
*
|
|
3339
|
-
*
|
|
3374
|
+
* enterYourPassword: Text for entering your password.
|
|
3340
3375
|
*
|
|
3341
|
-
*
|
|
3376
|
+
* twoStepVerification: Text for two-step verification.
|
|
3342
3377
|
*
|
|
3343
|
-
*
|
|
3378
|
+
* enterCode: "Text for entering code.
|
|
3344
3379
|
*
|
|
3345
|
-
*
|
|
3380
|
+
* allow: Text for allow.
|
|
3346
3381
|
*
|
|
3347
|
-
*
|
|
3382
|
+
* signOut: Text for signing out.
|
|
3348
3383
|
*
|
|
3349
|
-
*
|
|
3384
|
+
* wrongCode: "Text for wrong code.
|
|
3350
3385
|
*
|
|
3351
|
-
*
|
|
3386
|
+
* verificationCode: Text for verification code.
|
|
3352
3387
|
*
|
|
3353
|
-
*
|
|
3388
|
+
* confirm: Text for confirm.
|
|
3354
3389
|
*
|
|
3355
|
-
*
|
|
3390
|
+
* cancel: Text for cancel.
|
|
3356
3391
|
*
|
|
3357
|
-
*
|
|
3392
|
+
* deleteConnections: Text for deleting connections.
|
|
3358
3393
|
*
|
|
3359
|
-
*
|
|
3394
|
+
* noLongerConnected: Text indicating no longer connected.
|
|
3360
3395
|
*
|
|
3361
|
-
*
|
|
3396
|
+
* backToSafety: Text label for back to safety button.
|
|
3362
3397
|
*
|
|
3363
|
-
*
|
|
3398
|
+
* neetoAutomation: Text indicating neeto automation mail id.
|
|
3399
|
+
*
|
|
3400
|
+
*/
|
|
3401
|
+
declare const GOOGLE_LOGIN_TEXTS: {
|
|
3402
|
+
googleAccount: string;
|
|
3403
|
+
connectYourGoogleAccount: string;
|
|
3404
|
+
signInWithGoogle: string;
|
|
3405
|
+
signInHeading: (appName: string) => string;
|
|
3406
|
+
continue: string;
|
|
3407
|
+
selectAll: string;
|
|
3408
|
+
appNotVerified: string;
|
|
3409
|
+
next: string;
|
|
3410
|
+
showPassword: string;
|
|
3411
|
+
emailOrPhone: string;
|
|
3412
|
+
enterYourPassword: string;
|
|
3413
|
+
twoStepVerification: string;
|
|
3414
|
+
enterCode: string;
|
|
3415
|
+
allow: string;
|
|
3416
|
+
signOut: string;
|
|
3417
|
+
wrongCode: string;
|
|
3418
|
+
verificationCode: string;
|
|
3419
|
+
confirm: string;
|
|
3420
|
+
cancel: string;
|
|
3421
|
+
deleteConnections: string;
|
|
3422
|
+
noLongerConnected: string;
|
|
3423
|
+
backToSafety: string;
|
|
3424
|
+
neetoAutomation: string;
|
|
3425
|
+
};
|
|
3426
|
+
declare const ENGAGE_TEXTS: {
|
|
3427
|
+
subscribe: string;
|
|
3428
|
+
};
|
|
3429
|
+
declare const DESCRIPTION_EDITOR_TEXTS: {
|
|
3430
|
+
fontSize: string;
|
|
3431
|
+
paragraph: string;
|
|
3432
|
+
normalText: string;
|
|
3433
|
+
pasteLink: string;
|
|
3434
|
+
invalidURLError: string;
|
|
3435
|
+
pasteURL: string;
|
|
3436
|
+
delete: string;
|
|
3437
|
+
linkTag: string;
|
|
3438
|
+
link: string;
|
|
3439
|
+
cannedResponseHeader: string;
|
|
3440
|
+
paragraphOption: string;
|
|
3441
|
+
search: string;
|
|
3442
|
+
emoji: string;
|
|
3443
|
+
};
|
|
3444
|
+
declare const EXPANDED_FONT_SIZE: {
|
|
3445
|
+
h1: string;
|
|
3446
|
+
h2: string;
|
|
3447
|
+
h3: string;
|
|
3448
|
+
h4: string;
|
|
3449
|
+
h5: string;
|
|
3450
|
+
};
|
|
3451
|
+
declare const TEXT_MODIFIER_TAGS: {
|
|
3452
|
+
underline: string;
|
|
3453
|
+
strike: string;
|
|
3454
|
+
highlight: string;
|
|
3455
|
+
};
|
|
3456
|
+
declare const TEXT_MODIFIER_ROLES: {
|
|
3457
|
+
bold: string;
|
|
3458
|
+
italic: string;
|
|
3459
|
+
code: string;
|
|
3460
|
+
blockquote: string;
|
|
3461
|
+
codeBlock: string;
|
|
3462
|
+
};
|
|
3463
|
+
declare const LIST_MODIFIER_TAGS: {
|
|
3464
|
+
bulletList: string;
|
|
3465
|
+
orderedList: string;
|
|
3466
|
+
};
|
|
3467
|
+
/**
|
|
3468
|
+
*
|
|
3469
|
+
* Common selectors for UI elements.
|
|
3470
|
+
*
|
|
3471
|
+
* @example
|
|
3472
|
+
*
|
|
3473
|
+
* import { COMMON_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
3474
|
+
* @endexample
|
|
3475
|
+
* emailInputError: Selector for email input error.
|
|
3476
|
+
*
|
|
3477
|
+
* pane: Selector for pane wrapper.
|
|
3478
|
+
*
|
|
3479
|
+
* sideBar: Selector for side bar.
|
|
3480
|
+
*
|
|
3481
|
+
* copyButton: Selector for the copy button.
|
|
3482
|
+
*
|
|
3483
|
+
* resetButton: Selector for the reset button.
|
|
3484
|
+
*
|
|
3485
|
+
* spinner: Selector for spinners.
|
|
3486
|
+
*
|
|
3487
|
+
* uiSpinner: Selector for spinners.
|
|
3488
|
+
*
|
|
3489
|
+
* subheaderText: Selector to get the subheader text.
|
|
3490
|
+
*
|
|
3491
|
+
* alertTitle: Selector for alert titles.
|
|
3492
|
+
*
|
|
3493
|
+
* alertModalMessage: Selector for alert modal messages.
|
|
3494
|
+
*
|
|
3495
|
+
* alertModalSubmitButton: to get the submit button of the NeetoUI Alert component.
|
|
3496
|
+
*
|
|
3497
|
+
* checkbox: Selector for checkboxes.
|
|
3498
|
+
*
|
|
3499
|
+
* checkboxLabel: Selector for checkbox labels.
|
|
3500
|
+
*
|
|
3501
|
+
* dropdownContainer: Selector for dropdown containers.
|
|
3502
|
+
*
|
|
3503
|
+
* dropdownIcon: Selector for dropdown icons.
|
|
3504
|
+
*
|
|
3505
|
+
* heading: Selector for headings.
|
|
3506
|
+
*
|
|
3507
|
+
* paneBody: Selector for pane bodies.
|
|
3508
|
+
*
|
|
3509
|
+
* paneHeader: Selector for pane headers.
|
|
3510
|
+
*
|
|
3511
|
+
* profileSidebar: Selector for profile sidebars.
|
|
3512
|
+
*
|
|
3513
|
+
* selectOption(label: string): Method that generates a selector for select options based on the label.
|
|
3514
|
+
*
|
|
3515
|
+
* radioLabel(embedLabel: string): Method that generates a selector for radio labels based on the embedded label.
|
|
3516
|
+
*
|
|
3517
|
+
* toastMessage: To get the NeetoUI Toastr message.
|
|
3518
|
+
*
|
|
3519
|
+
* toastCloseButton: To get the NeetoUI Toastr close icon.
|
|
3520
|
+
*
|
|
3521
|
+
* windowAlert: Selector for window alerts.
|
|
3522
|
+
*
|
|
3523
|
+
* body: Selector for the body.
|
|
3524
|
+
*
|
|
3525
|
+
* toastIcon: To get the NeetoUI Toastr icon.
|
|
3526
|
+
*
|
|
3527
|
+
* toastContainer: To get the NeetoUI Toastr container.
|
|
3528
|
+
*
|
|
3529
|
+
* paneModalCrossIcon: Selector for pane modal cross icons.
|
|
3530
|
+
*
|
|
3531
|
+
* inputField: Selector to get NeetoUI input field.
|
|
3532
|
+
*
|
|
3533
|
+
* alertBox: Selector for alert box.
|
|
3534
|
+
*
|
|
3535
|
+
* tableContainer: Selector for table container.
|
|
3536
|
+
*
|
|
3537
|
+
* alertConfirmationText: Selector for alert confirmation text.
|
|
3538
|
+
*
|
|
3539
|
+
* alertCancelButton: Selector for alert cancel buttons.
|
|
3540
|
+
*
|
|
3541
|
+
* alertModalCrossIcon: Selector for alert modal cross icons.
|
|
3542
|
+
*
|
|
3543
|
+
* saveChangesButton: Selector for save changes buttons.
|
|
3544
|
+
*
|
|
3545
|
+
* cancelButton: Selector for cancel buttons.
|
|
3546
|
+
*
|
|
3547
|
+
* inputFieldError: Selector for input field errors.
|
|
3548
|
+
*
|
|
3549
|
+
* selectDropDownError: Selector for select dropdown errors.
|
|
3550
|
+
*
|
|
3551
|
+
* subTitleHeading: Selector for subtitle headings.
|
|
3552
|
+
*
|
|
3553
|
+
* noDataTitle: Selector for no data titles.
|
|
3554
|
+
*
|
|
3555
|
+
* noDataDescription: Selector for no data descriptions.
|
|
3556
|
+
*
|
|
3557
|
+
* noDataHelpText: Selector for no data help text.
|
|
3558
|
+
*
|
|
3559
|
+
* backdrop: Selector for backdrops.
|
|
3560
|
+
*
|
|
3561
|
+
* menuBarHeading: Selector for menu bar headings.
|
|
3562
|
+
*
|
|
3563
|
+
* dropdownWrapper: Selector for dropdown wrappers.
|
|
3564
|
+
*
|
|
3565
|
+
* toggleButton: Selector for toggle buttons.
|
|
3566
|
+
*
|
|
3567
|
+
* tooltip: Selector for tooltips.
|
|
3568
|
+
*
|
|
3569
|
+
* articlePageTitle: Selector for article page titles.
|
|
3570
|
+
*
|
|
3571
|
+
* tabItem: Selector for tab items.
|
|
3572
|
+
*
|
|
3573
|
+
* labelInputError: Selector for label input errors.
|
|
3574
|
+
*
|
|
3575
|
+
* urlInputError: Selector for URL input errors.
|
|
3576
|
+
*
|
|
3577
|
+
* noDataPrimaryButton: Selector for no data primary buttons.
|
|
3578
|
+
*
|
|
3579
|
+
* modalHeader: Selector for modal headers.
|
|
3580
|
+
*
|
|
3581
|
+
* nameInputError: Selector for name input errors.
|
|
3582
|
+
*
|
|
3583
|
+
* selectContainer: to get the select container.
|
|
3584
|
+
*
|
|
3585
|
+
* dropdownMenu: Selector for dropdown menus.
|
|
3586
|
+
*
|
|
3587
|
+
* sidebarToggle: Selector for sidebar toggles.
|
|
3588
|
+
*
|
|
3589
|
+
* subheader: Selector for subheaders.
|
|
3590
|
+
*
|
|
3591
|
+
* settingsLink: Selector for settings links.
|
|
3592
|
+
*
|
|
3593
|
+
* ticketFieldTextInput(label: string | number): Method that generates a selector for ticket field text inputs based on the label.
|
|
3594
|
+
*
|
|
3595
|
+
* appSwitcherButton: Selector for app switcher buttons.
|
|
3596
|
+
*
|
|
3597
|
+
* appSwitcherWrapper: Selector for app switcher wrappers.
|
|
3598
|
+
*
|
|
3599
|
+
* tableSpinner: Selector to get the spinner when the table is loading.
|
|
3600
|
+
*
|
|
3601
|
+
* pageLoader: Selector to get the spinner when the page element is loading.
|
|
3602
|
+
*
|
|
3603
|
+
* homeButton: Selector for home buttons.
|
|
3604
|
+
*
|
|
3605
|
+
* neetoUiSwitch: Selector for Neeto UI switches.
|
|
3606
|
+
*
|
|
3607
|
+
* floatingActionMenuButton: Selector for floating action menu buttons.
|
|
3608
|
+
*
|
|
3609
|
+
* columnsDropdownContainer: Selector for columns dropdown containers.
|
|
3610
|
+
*
|
|
3611
|
+
* columnsDropdownButton: Selector for columns dropdown buttons.
|
|
3612
|
+
*
|
|
3613
|
+
* breadcrumbHeader: Selector for breadcrumb headers.
|
|
3614
|
+
*
|
|
3615
|
+
* header: Selector to get the page header.
|
|
3616
|
+
*
|
|
3617
|
+
* sidebarSubLink(label: string): Method that generates a selector for sidebar sub-links based on the label.
|
|
3618
|
+
*
|
|
3619
|
+
* sidebarGoBackButton(label: string): Method that generates a selector for sidebar go-back buttons based on the label.
|
|
3620
|
+
*
|
|
3621
|
+
* selectSingleValue: Selector for select single values.
|
|
3622
|
+
*
|
|
3623
|
+
* actionSelectIndicator: Selector for action select indicator.
|
|
3624
|
+
*
|
|
3625
|
+
* takeActionDropdown: Selector for take action dropdown.
|
|
3626
|
+
*
|
|
3627
|
+
* columnsSearchInput: Selector for column search input.
|
|
3628
|
+
*
|
|
3629
|
+
* errorToastIcon: Selector for error toast icon.
|
|
3630
|
+
*
|
|
3631
|
+
* nuiRadioLabel: Selector for nui radio label.
|
|
3632
|
+
*
|
|
3633
|
+
* submitButton: Selector for submit button.
|
|
3364
3634
|
*
|
|
3365
3635
|
* tableRow: Selector for table row.
|
|
3366
3636
|
*
|
|
@@ -3472,29 +3742,79 @@ declare const COMMON_SELECTORS: {
|
|
|
3472
3742
|
};
|
|
3473
3743
|
/**
|
|
3474
3744
|
*
|
|
3475
|
-
* Selectors for
|
|
3745
|
+
* Selectors for thank you page components.
|
|
3476
3746
|
*
|
|
3477
3747
|
* @example
|
|
3478
3748
|
*
|
|
3479
|
-
* import {
|
|
3749
|
+
* import { THANK_YOU_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
3480
3750
|
* @endexample
|
|
3481
|
-
*
|
|
3751
|
+
* settingsLink: Selector for the settings link.
|
|
3482
3752
|
*
|
|
3483
|
-
*
|
|
3753
|
+
* showSocialShareIconsSwitch: Selector for the show social share icon switch.
|
|
3484
3754
|
*
|
|
3485
|
-
*
|
|
3755
|
+
* showLinkToSubmitAnotherResponseSwitch: Selector for the show link to submit another response switch.
|
|
3486
3756
|
*
|
|
3487
|
-
*
|
|
3757
|
+
* submitAnotherResponseLinkTextInputField: Selector for the submit another response link text input field.
|
|
3488
3758
|
*
|
|
3489
|
-
*
|
|
3759
|
+
* previewEditorContent: Selector for the preview editor content.
|
|
3490
3760
|
*
|
|
3491
|
-
*
|
|
3761
|
+
* redirectToExternalLinkRadioLabel: Selector for the redirect to external link radio label.
|
|
3492
3762
|
*
|
|
3493
|
-
*
|
|
3763
|
+
* saveChangesButton: Selector for the save changes button.
|
|
3494
3764
|
*
|
|
3495
|
-
*
|
|
3765
|
+
* cancelButton: Selector for the cancel button.
|
|
3496
3766
|
*
|
|
3497
|
-
*
|
|
3767
|
+
* thankYouPageImage: Selector for the thank you page image.
|
|
3768
|
+
*
|
|
3769
|
+
* thankYouPageContent: Selector for the thank you page content.
|
|
3770
|
+
*
|
|
3771
|
+
* thankYouPageResubmitLink: Selector for the thank you page resubmit link.
|
|
3772
|
+
*
|
|
3773
|
+
* linkInputField: Selector for the link input field.
|
|
3774
|
+
*
|
|
3775
|
+
*/
|
|
3776
|
+
declare const THANK_YOU_SELECTORS: {
|
|
3777
|
+
settingsLink: string;
|
|
3778
|
+
showSocialShareIconsSwitch: string;
|
|
3779
|
+
showLinkToSubmitAnotherResponseSwitch: string;
|
|
3780
|
+
submitAnotherResponseLinkTextInputField: string;
|
|
3781
|
+
previewEditorContent: string;
|
|
3782
|
+
redirectToExternalLinkRadioLabel: () => string;
|
|
3783
|
+
thankYouConfigurationLabel: (label?: string) => string;
|
|
3784
|
+
saveChangesButton: string;
|
|
3785
|
+
cancelButton: string;
|
|
3786
|
+
thankYouPageImage: string;
|
|
3787
|
+
thankYouPageMessage: string;
|
|
3788
|
+
thankYouPageContent: string;
|
|
3789
|
+
thankYouPageResubmitLink: string;
|
|
3790
|
+
linkInputField: string;
|
|
3791
|
+
previewImage: string;
|
|
3792
|
+
};
|
|
3793
|
+
/**
|
|
3794
|
+
*
|
|
3795
|
+
* Selectors for Neeto editor components.
|
|
3796
|
+
*
|
|
3797
|
+
* @example
|
|
3798
|
+
*
|
|
3799
|
+
* import { NEETO_EDITOR_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
3800
|
+
* @endexample
|
|
3801
|
+
* boldOption: Selector for the bold option.
|
|
3802
|
+
*
|
|
3803
|
+
* italicOption: Selector for the italic option.
|
|
3804
|
+
*
|
|
3805
|
+
* underlineOption: Selector for the underline option.
|
|
3806
|
+
*
|
|
3807
|
+
* strikeOption: Selector for the strike option.
|
|
3808
|
+
*
|
|
3809
|
+
* codeBlockOption: Selector for the code block option.
|
|
3810
|
+
*
|
|
3811
|
+
* highlightOption: Selector for the highlight option.
|
|
3812
|
+
*
|
|
3813
|
+
* linkInput: Selector for the link input.
|
|
3814
|
+
*
|
|
3815
|
+
* linkSubmitButton: Selector for the link submit button.
|
|
3816
|
+
*
|
|
3817
|
+
* commandList(index: number): Method that generates a selector for command list items based on the index.
|
|
3498
3818
|
*
|
|
3499
3819
|
* imageUploadUrlSubmitButton: Selector for the image upload URL submit button.
|
|
3500
3820
|
*
|
|
@@ -3602,6 +3922,77 @@ declare const FONT_SIZE_SELECTORS: {
|
|
|
3602
3922
|
h4: string;
|
|
3603
3923
|
h5: string;
|
|
3604
3924
|
};
|
|
3925
|
+
/**
|
|
3926
|
+
*
|
|
3927
|
+
* Selectors for embed components.
|
|
3928
|
+
*
|
|
3929
|
+
* @example
|
|
3930
|
+
*
|
|
3931
|
+
* import { EMBED_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
3932
|
+
* @endexample
|
|
3933
|
+
* iframe(appName: string): Method that generates a selector for the iframe based on the app name.
|
|
3934
|
+
*
|
|
3935
|
+
* modal(appName: string): Method that generates a selector for the modal based on the app name.
|
|
3936
|
+
*
|
|
3937
|
+
* close(appName: string): Method that generates a selector for the close button based on the app name.
|
|
3938
|
+
*
|
|
3939
|
+
* loader(appName: string): Method that generates a selector for the loader based on the app name.
|
|
3940
|
+
*
|
|
3941
|
+
* inlineHeightInput: Selector for the inline height input field.
|
|
3942
|
+
*
|
|
3943
|
+
* inlineWidthInput: Selector for the inline width input field.
|
|
3944
|
+
*
|
|
3945
|
+
* inlineElementIdInput: Selector for the inline element ID input field.
|
|
3946
|
+
*
|
|
3947
|
+
* codeBlock: Selector for the code block.
|
|
3948
|
+
*
|
|
3949
|
+
* previewTab: Selector for the preview tab.
|
|
3950
|
+
*
|
|
3951
|
+
* htmlTab: Selector for the HTML tab.
|
|
3952
|
+
*
|
|
3953
|
+
* buttonTextInput: Selector for the button text input field.
|
|
3954
|
+
*
|
|
3955
|
+
* buttonPositionSelectContainer: Selector for the button position select container.
|
|
3956
|
+
*
|
|
3957
|
+
* buttonPositionSelectMenu: Selector for the button position select menu.
|
|
3958
|
+
*
|
|
3959
|
+
* buttonColorLabel: Selector for the button color label.
|
|
3960
|
+
*
|
|
3961
|
+
* buttonTextColorLabel: Selector for the button text color label.
|
|
3962
|
+
*
|
|
3963
|
+
* colorPickerTarget: Selector for the color picker target.
|
|
3964
|
+
*
|
|
3965
|
+
* colorpickerEditableInput: Selector for the color picker editable input.
|
|
3966
|
+
*
|
|
3967
|
+
* showIconCheckbox: Selector for the show icon checkbox.
|
|
3968
|
+
*
|
|
3969
|
+
* elementIdInput: Selector for the element ID input field.
|
|
3970
|
+
*
|
|
3971
|
+
* previewElementPopupButton: Selector for the preview element popup button.
|
|
3972
|
+
*
|
|
3973
|
+
*/
|
|
3974
|
+
declare const EMBED_SELECTORS: {
|
|
3975
|
+
iframe: (appName: string) => string;
|
|
3976
|
+
modal: (appName: string) => string;
|
|
3977
|
+
close: (appName: string) => string;
|
|
3978
|
+
loader: (appName: string) => string;
|
|
3979
|
+
inlineHeightInput: string;
|
|
3980
|
+
inlineWidthInput: string;
|
|
3981
|
+
inlineElementIdInput: string;
|
|
3982
|
+
codeBlock: string;
|
|
3983
|
+
previewTab: string;
|
|
3984
|
+
htmlTab: string;
|
|
3985
|
+
buttonTextInput: string;
|
|
3986
|
+
buttonPositionSelectContainer: string;
|
|
3987
|
+
buttonPositionSelectMenu: string;
|
|
3988
|
+
buttonColorLabel: string;
|
|
3989
|
+
buttonTextColorLabel: string;
|
|
3990
|
+
colorPickerTarget: string;
|
|
3991
|
+
colorpickerEditableInput: string;
|
|
3992
|
+
showIconCheckbox: string;
|
|
3993
|
+
elementIdInput: string;
|
|
3994
|
+
previewElementPopupButton: string;
|
|
3995
|
+
};
|
|
3605
3996
|
/**
|
|
3606
3997
|
*
|
|
3607
3998
|
* Selectors for Neeto filters components.
|
|
@@ -3700,6 +4091,33 @@ declare const HELP_CENTER_SELECTORS: {
|
|
|
3700
4091
|
keyboardShortcutPaneHeading: string;
|
|
3701
4092
|
keyboardShortcutPaneCrossIcon: string;
|
|
3702
4093
|
};
|
|
4094
|
+
declare const NEETO_IMAGE_UPLOADER_SELECTORS: {
|
|
4095
|
+
imageUploaderWrapper: string;
|
|
4096
|
+
browseText: string;
|
|
4097
|
+
fileInput: string;
|
|
4098
|
+
uploadedImage: string;
|
|
4099
|
+
uploadNewAsset: string;
|
|
4100
|
+
basicImageUploaderRemoveButton: string;
|
|
4101
|
+
removeButton: string;
|
|
4102
|
+
openImageLibraryButton: string;
|
|
4103
|
+
openAssetLibraryButton: string;
|
|
4104
|
+
imageEditorBackButton: string;
|
|
4105
|
+
aspectRatioWidthInput: string;
|
|
4106
|
+
aspectRatioHeightInput: string;
|
|
4107
|
+
cropSubmitButton: string;
|
|
4108
|
+
restrictionMessage: string;
|
|
4109
|
+
progressBar: string;
|
|
4110
|
+
myImagesTab: string;
|
|
4111
|
+
unsplashTab: string;
|
|
4112
|
+
nthLibraryImage: (index: number) => string;
|
|
4113
|
+
nthUnsplashImage: (index: number) => string;
|
|
4114
|
+
unsplashSearchInput: string;
|
|
4115
|
+
imageEditorUploadedImage: string;
|
|
4116
|
+
selectOriginalImageSwitch: string;
|
|
4117
|
+
lockAspectRatioSwitch: string;
|
|
4118
|
+
widthInputField: string;
|
|
4119
|
+
heightInputField: string;
|
|
4120
|
+
};
|
|
3703
4121
|
/**
|
|
3704
4122
|
*
|
|
3705
4123
|
* Selectors for login components.
|
|
@@ -3851,6 +4269,44 @@ declare const MEMBER_FORM_SELECTORS: {
|
|
|
3851
4269
|
emailErrorField: string;
|
|
3852
4270
|
cancelButton: string;
|
|
3853
4271
|
};
|
|
4272
|
+
/**
|
|
4273
|
+
*
|
|
4274
|
+
* Selectors for profile section components.
|
|
4275
|
+
*
|
|
4276
|
+
* @example
|
|
4277
|
+
*
|
|
4278
|
+
* import { PROFILE_SECTION_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4279
|
+
* @endexample
|
|
4280
|
+
* profileSectionButton: Selector for the profile section button.
|
|
4281
|
+
*
|
|
4282
|
+
* profilePopup: Selector for the profile popup.
|
|
4283
|
+
*
|
|
4284
|
+
* myProfileButton: Selector for the "My Profile" button.
|
|
4285
|
+
*
|
|
4286
|
+
* profileOrganizationSettingsButton: Selector for the profile organization settings button.
|
|
4287
|
+
*
|
|
4288
|
+
* logoutButton: Selector for the logout button.
|
|
4289
|
+
*
|
|
4290
|
+
* neetoAuthLink: Selector for the Neeto authentication link button.
|
|
4291
|
+
*
|
|
4292
|
+
* profileSidebarCancelButton: Selector for the profile sidebar cancel button.
|
|
4293
|
+
*
|
|
4294
|
+
* profileAvatar: Selector for the profile avatar.
|
|
4295
|
+
*
|
|
4296
|
+
* actionHeaderUserEmail: Selector for the user email.
|
|
4297
|
+
*
|
|
4298
|
+
*/
|
|
4299
|
+
declare const PROFILE_SECTION_SELECTORS: {
|
|
4300
|
+
profileSectionButton: string;
|
|
4301
|
+
profilePopup: string;
|
|
4302
|
+
myProfileButton: string;
|
|
4303
|
+
profileOrganizationSettingsButton: string;
|
|
4304
|
+
logoutButton: string;
|
|
4305
|
+
neetoAuthLink: string;
|
|
4306
|
+
profileSidebarCancelButton: string;
|
|
4307
|
+
profileAvatar: string;
|
|
4308
|
+
actionHeaderUserEmail: string;
|
|
4309
|
+
};
|
|
3854
4310
|
/**
|
|
3855
4311
|
*
|
|
3856
4312
|
* Selectors for roles components.
|
|
@@ -3966,6 +4422,35 @@ declare const SIGNUP_SELECTORS: {
|
|
|
3966
4422
|
tryFreeButton: string;
|
|
3967
4423
|
unregisterdEmailError: string;
|
|
3968
4424
|
};
|
|
4425
|
+
/**
|
|
4426
|
+
*
|
|
4427
|
+
* Selectors for tab components.
|
|
4428
|
+
*
|
|
4429
|
+
* @example
|
|
4430
|
+
*
|
|
4431
|
+
* import { TAB_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4432
|
+
* @endexample
|
|
4433
|
+
* configureTab: Selector for the configure tab.
|
|
4434
|
+
*
|
|
4435
|
+
* buildTab: Selector for the build tab.
|
|
4436
|
+
*
|
|
4437
|
+
* themeTab: Selector for the theme tab.
|
|
4438
|
+
*
|
|
4439
|
+
* shareTab: Selector for the share tab.
|
|
4440
|
+
*
|
|
4441
|
+
* submissionsTab: Selector for the submissions tab.
|
|
4442
|
+
*
|
|
4443
|
+
* paymentsTab: Selector for the payments tab.
|
|
4444
|
+
*
|
|
4445
|
+
*/
|
|
4446
|
+
declare const TAB_SELECTORS: {
|
|
4447
|
+
configureTab: string;
|
|
4448
|
+
buildTab: string;
|
|
4449
|
+
themeTab: string;
|
|
4450
|
+
shareTab: string;
|
|
4451
|
+
submissionsTab: string;
|
|
4452
|
+
paymentsTab: string;
|
|
4453
|
+
};
|
|
3969
4454
|
/**
|
|
3970
4455
|
*
|
|
3971
4456
|
* Selectors for tags components.
|
|
@@ -4124,41 +4609,35 @@ declare const KEYBOARD_SHORTCUTS_SELECTORS: {
|
|
|
4124
4609
|
};
|
|
4125
4610
|
/**
|
|
4126
4611
|
*
|
|
4127
|
-
* Selectors for
|
|
4612
|
+
* Selectors for integration components.
|
|
4128
4613
|
*
|
|
4129
4614
|
* @example
|
|
4130
4615
|
*
|
|
4131
|
-
* import {
|
|
4616
|
+
* import { INTEGRATION_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4132
4617
|
* @endexample
|
|
4133
|
-
*
|
|
4134
|
-
*
|
|
4135
|
-
* profilePopup: Selector for the profile popup.
|
|
4136
|
-
*
|
|
4137
|
-
* myProfileButton: Selector for the "My Profile" button.
|
|
4138
|
-
*
|
|
4139
|
-
* profileOrganizationSettingsButton: Selector for the profile organization settings button.
|
|
4140
|
-
*
|
|
4141
|
-
* logoutButton: Selector for the logout button.
|
|
4618
|
+
* integrationCard(integration: string): Method that generates a selector for the integration card based on the integration name. Accepts a string parameter representing the integration name.
|
|
4142
4619
|
*
|
|
4143
|
-
*
|
|
4620
|
+
* connectButton: Selector for the connect button.
|
|
4144
4621
|
*
|
|
4145
|
-
*
|
|
4622
|
+
* integrationStatusTag: Selector for the integration status tag.
|
|
4146
4623
|
*
|
|
4147
|
-
*
|
|
4624
|
+
* disconnectButton: Selector for the disconnect button.
|
|
4148
4625
|
*
|
|
4149
|
-
*
|
|
4626
|
+
* manageButton: Selector for the manage button.
|
|
4150
4627
|
*
|
|
4151
4628
|
*/
|
|
4152
|
-
declare const
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4629
|
+
declare const INTEGRATION_SELECTORS: {
|
|
4630
|
+
integrationCard: (integration: string) => string;
|
|
4631
|
+
connectButton: string;
|
|
4632
|
+
integrationStatusTag: string;
|
|
4633
|
+
disconnectButton: string;
|
|
4634
|
+
manageButton: string;
|
|
4635
|
+
};
|
|
4636
|
+
declare const GOOGLE_LOGIN_SELECTORS: {
|
|
4637
|
+
totpNext: string;
|
|
4638
|
+
form: string;
|
|
4639
|
+
totpChallengeSelector: string;
|
|
4640
|
+
signOutFrameLocator: string;
|
|
4162
4641
|
};
|
|
4163
4642
|
/**
|
|
4164
4643
|
*
|
|
@@ -4184,618 +4663,185 @@ declare const PROFILE_SECTION_SELECTORS: {
|
|
|
4184
4663
|
*
|
|
4185
4664
|
* teamMenuTrigger: Selector for the team menu trigger.
|
|
4186
4665
|
*
|
|
4187
|
-
* menuItemButton: Selector for the menu item button.
|
|
4188
|
-
*
|
|
4189
|
-
* threadsFlexpane: Selector for the threads flexpane.
|
|
4190
|
-
*
|
|
4191
|
-
* replyBar: Selector for the reply bar.
|
|
4192
|
-
*
|
|
4193
|
-
* markdownElement: Selector for the markdown element.
|
|
4194
|
-
*
|
|
4195
|
-
* virtualListItem: Selector for the virtual list item.
|
|
4196
|
-
*
|
|
4197
|
-
* channelItems: Selector for channel items.
|
|
4198
|
-
*
|
|
4199
|
-
*/
|
|
4200
|
-
declare const SLACK_SELECTORS: {
|
|
4201
|
-
messageContainer: string;
|
|
4202
|
-
loginEmail: string;
|
|
4203
|
-
loginPassword: string;
|
|
4204
|
-
signInButton: string;
|
|
4205
|
-
teamPicketButtonContent: string;
|
|
4206
|
-
redirectOpenInBrowser: string;
|
|
4207
|
-
workspaceActionsButton: string;
|
|
4208
|
-
teamMenuTrigger: string;
|
|
4209
|
-
menuItemButton: string;
|
|
4210
|
-
threadsFlexpane: string;
|
|
4211
|
-
replyBar: string;
|
|
4212
|
-
markdownElement: string;
|
|
4213
|
-
virtualListItem: string;
|
|
4214
|
-
channelItems: string;
|
|
4215
|
-
};
|
|
4216
|
-
/**
|
|
4217
|
-
*
|
|
4218
|
-
* Selectors for Slack components using 'data-qa' attributes.
|
|
4219
|
-
*
|
|
4220
|
-
* @example
|
|
4221
|
-
*
|
|
4222
|
-
* import { SLACK_DATA_QA_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4223
|
-
* @endexample
|
|
4224
|
-
* sectionHeadingButton: Selector for the section heading button.
|
|
4225
|
-
*
|
|
4226
|
-
* channelSectionSubmenuCreate: Selector for the channel section submenu create button.
|
|
4227
|
-
*
|
|
4228
|
-
* channelSectionMenuCreateChannel: Selector for the channel section menu create channel button.
|
|
4229
|
-
*
|
|
4230
|
-
* skModalContent: Selector for the modal content.
|
|
4231
|
-
*
|
|
4232
|
-
* infiniteSpinner: Selector for the infinite spinner.
|
|
4233
|
-
*
|
|
4234
|
-
* channelNameOptionsList: Selector for the channel name options list.
|
|
4235
|
-
*
|
|
4236
|
-
* channelNameInput: Selector for the channel name input.
|
|
4237
|
-
*
|
|
4238
|
-
* createChannelNextButton: Selector for the create channel next button.
|
|
4239
|
-
*
|
|
4240
|
-
* inviteToWorkspaceSkipButton: Selector for the invite to workspace skip button.
|
|
4241
|
-
*
|
|
4242
|
-
* menuItems: Selector for the menu items.
|
|
4243
|
-
*
|
|
4244
|
-
* channelDetailsModal: Selector for the channel details modal.
|
|
4245
|
-
*
|
|
4246
|
-
* channelDetailsSettingsTab: Selector for the channel details settings tab.
|
|
4247
|
-
*
|
|
4248
|
-
*/
|
|
4249
|
-
declare const SLACK_DATA_QA_SELECTORS: {
|
|
4250
|
-
sectionHeadingButton: string;
|
|
4251
|
-
coachMarkCloseButton: string;
|
|
4252
|
-
messagePaneBannerCloseIcon: string;
|
|
4253
|
-
permissionBannerCloseIcon: string;
|
|
4254
|
-
channelSectionSubmenuCreate: string;
|
|
4255
|
-
channelSectionMenuCreateChannel: string;
|
|
4256
|
-
skModalContent: string;
|
|
4257
|
-
infiniteSpinner: string;
|
|
4258
|
-
channelNameOptionsList: string;
|
|
4259
|
-
channelNameInput: string;
|
|
4260
|
-
createChannelNextButton: string;
|
|
4261
|
-
inviteToWorkspaceSkipButton: string;
|
|
4262
|
-
menuItems: string;
|
|
4263
|
-
channelDetailsModal: string;
|
|
4264
|
-
channelDetailsSettingsTab: string;
|
|
4265
|
-
};
|
|
4266
|
-
/**
|
|
4267
|
-
*
|
|
4268
|
-
* Selectors for integration components.
|
|
4269
|
-
*
|
|
4270
|
-
* @example
|
|
4271
|
-
*
|
|
4272
|
-
* import { INTEGRATION_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4273
|
-
* @endexample
|
|
4274
|
-
* integrationCard(integration: string): Method that generates a selector for the integration card based on the integration name. Accepts a string parameter representing the integration name.
|
|
4275
|
-
*
|
|
4276
|
-
* connectButton: Selector for the connect button.
|
|
4277
|
-
*
|
|
4278
|
-
* integrationStatusTag: Selector for the integration status tag.
|
|
4279
|
-
*
|
|
4280
|
-
* disconnectButton: Selector for the disconnect button.
|
|
4281
|
-
*
|
|
4282
|
-
* manageButton: Selector for the manage button.
|
|
4283
|
-
*
|
|
4284
|
-
*/
|
|
4285
|
-
declare const INTEGRATION_SELECTORS: {
|
|
4286
|
-
integrationCard: (integration: string) => string;
|
|
4287
|
-
connectButton: string;
|
|
4288
|
-
integrationStatusTag: string;
|
|
4289
|
-
disconnectButton: string;
|
|
4290
|
-
manageButton: string;
|
|
4291
|
-
};
|
|
4292
|
-
/**
|
|
4293
|
-
*
|
|
4294
|
-
* Selectors for Zapier components.
|
|
4295
|
-
*
|
|
4296
|
-
* @example
|
|
4297
|
-
*
|
|
4298
|
-
* import { ZAPIER_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4299
|
-
* @endexample
|
|
4300
|
-
* zapTriggerStep(zapId: string): Method that generates a selector for the Zap trigger step based on the Zap ID. Accepts a string parameter representing the Zap ID.
|
|
4301
|
-
*
|
|
4302
|
-
* zapAccountSubstep: Selector for the Zap account substep.
|
|
4303
|
-
*
|
|
4304
|
-
* zapOpenSubstepContainer: Selector for the container to open substeps.
|
|
4305
|
-
*
|
|
4306
|
-
* modal: Selector for modals.
|
|
4307
|
-
*
|
|
4308
|
-
* fmPrettytext: Selector for pretty text.
|
|
4309
|
-
*
|
|
4310
|
-
* spinner: Selector for spinners.
|
|
4311
|
-
*
|
|
4312
|
-
* skeletonBlock: Selector for skeleton blocks.
|
|
4313
|
-
*
|
|
4314
|
-
* accountsLoader: Selector for accounts loader.
|
|
4315
|
-
*
|
|
4316
|
-
* floatingBox: Selector for floating boxes.
|
|
4317
|
-
*
|
|
4318
|
-
* connection: Selector for connections.
|
|
4319
|
-
*
|
|
4320
|
-
* deleteConnectionModal: Selector for the delete connection modal.
|
|
4321
|
-
*
|
|
4322
|
-
* deleteConnectionDropdownButton: Selector for the dropdown button to delete a connection.
|
|
4323
|
-
*
|
|
4324
|
-
* usageAmounts: Selector for usage amounts.
|
|
4325
|
-
*
|
|
4326
|
-
* universalSidebar: Selector for the universal sidebar.
|
|
4327
|
-
*
|
|
4328
|
-
* sidebarFooter: Selector for the sidebar footer.
|
|
4329
|
-
*
|
|
4330
|
-
* contextualSideBar: Selector for the contextual sidebar.
|
|
4331
|
-
*
|
|
4332
|
-
*/
|
|
4333
|
-
declare const ZAPIER_SELECTORS: {
|
|
4334
|
-
zapTriggerStep: (zapId: string) => string;
|
|
4335
|
-
zapAccountSubstep: string;
|
|
4336
|
-
zapOpenSubstepContainer: string;
|
|
4337
|
-
modal: string;
|
|
4338
|
-
fmPrettytext: string;
|
|
4339
|
-
spinner: string;
|
|
4340
|
-
skeletonBlock: string;
|
|
4341
|
-
accountsLoader: string;
|
|
4342
|
-
floatingBox: string;
|
|
4343
|
-
connection: string;
|
|
4344
|
-
deleteConnectionModal: string;
|
|
4345
|
-
deleteConnectionDropdownButton: string;
|
|
4346
|
-
usageAmounts: string;
|
|
4347
|
-
universalSidebar: string;
|
|
4348
|
-
sidebarFooter: string;
|
|
4349
|
-
contextualSideBar: string;
|
|
4350
|
-
iconContainer: string;
|
|
4351
|
-
};
|
|
4352
|
-
/**
|
|
4353
|
-
*
|
|
4354
|
-
* Selectors for embed components.
|
|
4355
|
-
*
|
|
4356
|
-
* @example
|
|
4357
|
-
*
|
|
4358
|
-
* import { EMBED_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4359
|
-
* @endexample
|
|
4360
|
-
* iframe(appName: string): Method that generates a selector for the iframe based on the app name.
|
|
4361
|
-
*
|
|
4362
|
-
* modal(appName: string): Method that generates a selector for the modal based on the app name.
|
|
4363
|
-
*
|
|
4364
|
-
* close(appName: string): Method that generates a selector for the close button based on the app name.
|
|
4365
|
-
*
|
|
4366
|
-
* loader(appName: string): Method that generates a selector for the loader based on the app name.
|
|
4367
|
-
*
|
|
4368
|
-
* inlineHeightInput: Selector for the inline height input field.
|
|
4369
|
-
*
|
|
4370
|
-
* inlineWidthInput: Selector for the inline width input field.
|
|
4371
|
-
*
|
|
4372
|
-
* inlineElementIdInput: Selector for the inline element ID input field.
|
|
4373
|
-
*
|
|
4374
|
-
* codeBlock: Selector for the code block.
|
|
4375
|
-
*
|
|
4376
|
-
* previewTab: Selector for the preview tab.
|
|
4377
|
-
*
|
|
4378
|
-
* htmlTab: Selector for the HTML tab.
|
|
4379
|
-
*
|
|
4380
|
-
* buttonTextInput: Selector for the button text input field.
|
|
4381
|
-
*
|
|
4382
|
-
* buttonPositionSelectContainer: Selector for the button position select container.
|
|
4383
|
-
*
|
|
4384
|
-
* buttonPositionSelectMenu: Selector for the button position select menu.
|
|
4385
|
-
*
|
|
4386
|
-
* buttonColorLabel: Selector for the button color label.
|
|
4387
|
-
*
|
|
4388
|
-
* buttonTextColorLabel: Selector for the button text color label.
|
|
4389
|
-
*
|
|
4390
|
-
* colorPickerTarget: Selector for the color picker target.
|
|
4391
|
-
*
|
|
4392
|
-
* colorpickerEditableInput: Selector for the color picker editable input.
|
|
4393
|
-
*
|
|
4394
|
-
* showIconCheckbox: Selector for the show icon checkbox.
|
|
4395
|
-
*
|
|
4396
|
-
* elementIdInput: Selector for the element ID input field.
|
|
4397
|
-
*
|
|
4398
|
-
* previewElementPopupButton: Selector for the preview element popup button.
|
|
4399
|
-
*
|
|
4400
|
-
*/
|
|
4401
|
-
declare const EMBED_SELECTORS: {
|
|
4402
|
-
iframe: (appName: string) => string;
|
|
4403
|
-
modal: (appName: string) => string;
|
|
4404
|
-
close: (appName: string) => string;
|
|
4405
|
-
loader: (appName: string) => string;
|
|
4406
|
-
inlineHeightInput: string;
|
|
4407
|
-
inlineWidthInput: string;
|
|
4408
|
-
inlineElementIdInput: string;
|
|
4409
|
-
codeBlock: string;
|
|
4410
|
-
previewTab: string;
|
|
4411
|
-
htmlTab: string;
|
|
4412
|
-
buttonTextInput: string;
|
|
4413
|
-
buttonPositionSelectContainer: string;
|
|
4414
|
-
buttonPositionSelectMenu: string;
|
|
4415
|
-
buttonColorLabel: string;
|
|
4416
|
-
buttonTextColorLabel: string;
|
|
4417
|
-
colorPickerTarget: string;
|
|
4418
|
-
colorpickerEditableInput: string;
|
|
4419
|
-
showIconCheckbox: string;
|
|
4420
|
-
elementIdInput: string;
|
|
4421
|
-
previewElementPopupButton: string;
|
|
4422
|
-
};
|
|
4423
|
-
declare const NEETO_IMAGE_UPLOADER_SELECTORS: {
|
|
4424
|
-
imageUploaderWrapper: string;
|
|
4425
|
-
browseText: string;
|
|
4426
|
-
fileInput: string;
|
|
4427
|
-
uploadedImage: string;
|
|
4428
|
-
uploadNewAsset: string;
|
|
4429
|
-
basicImageUploaderRemoveButton: string;
|
|
4430
|
-
removeButton: string;
|
|
4431
|
-
openImageLibraryButton: string;
|
|
4432
|
-
openAssetLibraryButton: string;
|
|
4433
|
-
imageEditorBackButton: string;
|
|
4434
|
-
aspectRatioWidthInput: string;
|
|
4435
|
-
aspectRatioHeightInput: string;
|
|
4436
|
-
cropSubmitButton: string;
|
|
4437
|
-
restrictionMessage: string;
|
|
4438
|
-
progressBar: string;
|
|
4439
|
-
myImagesTab: string;
|
|
4440
|
-
unsplashTab: string;
|
|
4441
|
-
nthLibraryImage: (index: number) => string;
|
|
4442
|
-
nthUnsplashImage: (index: number) => string;
|
|
4443
|
-
unsplashSearchInput: string;
|
|
4444
|
-
imageEditorUploadedImage: string;
|
|
4445
|
-
selectOriginalImageSwitch: string;
|
|
4446
|
-
lockAspectRatioSwitch: string;
|
|
4447
|
-
widthInputField: string;
|
|
4448
|
-
heightInputField: string;
|
|
4449
|
-
};
|
|
4450
|
-
/**
|
|
4451
|
-
*
|
|
4452
|
-
* Selectors for thank you page components.
|
|
4453
|
-
*
|
|
4454
|
-
* @example
|
|
4455
|
-
*
|
|
4456
|
-
* import { THANK_YOU_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4457
|
-
* @endexample
|
|
4458
|
-
* settingsLink: Selector for the settings link.
|
|
4459
|
-
*
|
|
4460
|
-
* showSocialShareIconsSwitch: Selector for the show social share icon switch.
|
|
4461
|
-
*
|
|
4462
|
-
* showLinkToSubmitAnotherResponseSwitch: Selector for the show link to submit another response switch.
|
|
4463
|
-
*
|
|
4464
|
-
* submitAnotherResponseLinkTextInputField: Selector for the submit another response link text input field.
|
|
4465
|
-
*
|
|
4466
|
-
* previewEditorContent: Selector for the preview editor content.
|
|
4467
|
-
*
|
|
4468
|
-
* redirectToExternalLinkRadioLabel: Selector for the redirect to external link radio label.
|
|
4469
|
-
*
|
|
4470
|
-
* saveChangesButton: Selector for the save changes button.
|
|
4471
|
-
*
|
|
4472
|
-
* cancelButton: Selector for the cancel button.
|
|
4473
|
-
*
|
|
4474
|
-
* thankYouPageImage: Selector for the thank you page image.
|
|
4475
|
-
*
|
|
4476
|
-
* thankYouPageContent: Selector for the thank you page content.
|
|
4477
|
-
*
|
|
4478
|
-
* thankYouPageResubmitLink: Selector for the thank you page resubmit link.
|
|
4479
|
-
*
|
|
4480
|
-
* linkInputField: Selector for the link input field.
|
|
4481
|
-
*
|
|
4482
|
-
*/
|
|
4483
|
-
declare const THANK_YOU_SELECTORS: {
|
|
4484
|
-
settingsLink: string;
|
|
4485
|
-
showSocialShareIconsSwitch: string;
|
|
4486
|
-
showLinkToSubmitAnotherResponseSwitch: string;
|
|
4487
|
-
submitAnotherResponseLinkTextInputField: string;
|
|
4488
|
-
previewEditorContent: string;
|
|
4489
|
-
redirectToExternalLinkRadioLabel: () => string;
|
|
4490
|
-
thankYouConfigurationLabel: (label?: string) => string;
|
|
4491
|
-
saveChangesButton: string;
|
|
4492
|
-
cancelButton: string;
|
|
4493
|
-
thankYouPageImage: string;
|
|
4494
|
-
thankYouPageMessage: string;
|
|
4495
|
-
thankYouPageContent: string;
|
|
4496
|
-
thankYouPageResubmitLink: string;
|
|
4497
|
-
linkInputField: string;
|
|
4498
|
-
previewImage: string;
|
|
4499
|
-
};
|
|
4500
|
-
/**
|
|
4501
|
-
*
|
|
4502
|
-
* Selectors for tab components.
|
|
4503
|
-
*
|
|
4504
|
-
* @example
|
|
4505
|
-
*
|
|
4506
|
-
* import { TAB_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4507
|
-
* @endexample
|
|
4508
|
-
* configureTab: Selector for the configure tab.
|
|
4509
|
-
*
|
|
4510
|
-
* buildTab: Selector for the build tab.
|
|
4511
|
-
*
|
|
4512
|
-
* themeTab: Selector for the theme tab.
|
|
4513
|
-
*
|
|
4514
|
-
* shareTab: Selector for the share tab.
|
|
4515
|
-
*
|
|
4516
|
-
* submissionsTab: Selector for the submissions tab.
|
|
4517
|
-
*
|
|
4518
|
-
* paymentsTab: Selector for the payments tab.
|
|
4519
|
-
*
|
|
4520
|
-
*/
|
|
4521
|
-
declare const TAB_SELECTORS: {
|
|
4522
|
-
configureTab: string;
|
|
4523
|
-
buildTab: string;
|
|
4524
|
-
themeTab: string;
|
|
4525
|
-
shareTab: string;
|
|
4526
|
-
submissionsTab: string;
|
|
4527
|
-
paymentsTab: string;
|
|
4528
|
-
};
|
|
4529
|
-
/**
|
|
4530
|
-
*
|
|
4531
|
-
* newConversation: Text for initiating a new conversation.
|
|
4532
|
-
*
|
|
4533
|
-
* welcomeChatBubble: Text for the welcome message displayed in the chat bubble.
|
|
4534
|
-
*
|
|
4535
|
-
*/
|
|
4536
|
-
declare const CHAT_WIDGET_TEXTS: {
|
|
4537
|
-
newConversation: string;
|
|
4538
|
-
welcomeChatBubble: string;
|
|
4539
|
-
preChatQuestions: string;
|
|
4540
|
-
};
|
|
4541
|
-
/**
|
|
4542
|
-
*
|
|
4543
|
-
* agent: Text representing an agent.
|
|
4544
|
-
*
|
|
4545
|
-
*/
|
|
4546
|
-
declare const MEMBER_TEXTS: {
|
|
4547
|
-
agent: string;
|
|
4548
|
-
admin: string;
|
|
4549
|
-
selectAll: string;
|
|
4550
|
-
hide: string;
|
|
4551
|
-
show: string;
|
|
4552
|
-
};
|
|
4553
|
-
/**
|
|
4554
|
-
*
|
|
4555
|
-
* connectHeader(integration): Method to generate text for connecting an integration account.
|
|
4556
|
-
*
|
|
4557
|
-
* connectedHeader(integration): Method to generate text indicating a successful connection to an integration.
|
|
4558
|
-
*
|
|
4559
|
-
*/
|
|
4560
|
-
declare const INTEGRATIONS_TEXTS: {
|
|
4561
|
-
connectHeader: (integration: string) => string;
|
|
4562
|
-
connectedHeader: (integration: string) => string;
|
|
4563
|
-
};
|
|
4564
|
-
/**
|
|
4565
|
-
*
|
|
4566
|
-
* signOut: Text for signing out.
|
|
4567
|
-
*
|
|
4568
|
-
* allow: Text for allowing.
|
|
4569
|
-
*
|
|
4570
|
-
* loadingThread: Text indicating thread loading.
|
|
4571
|
-
*
|
|
4572
|
-
* name: Text for name.
|
|
4573
|
-
*
|
|
4574
|
-
* deleteThisChannel: Text for deleting a channel.
|
|
4575
|
-
*
|
|
4576
|
-
* permanentlyDeleteTheChannel: Text for confirming permanent deletion of a channel.
|
|
4577
|
-
*
|
|
4578
|
-
* deleteChannel: Text for deleting a channel.
|
|
4579
|
-
*
|
|
4580
|
-
*/
|
|
4581
|
-
declare const SLACK_WEB_TEXTS: {
|
|
4582
|
-
signOut: string;
|
|
4583
|
-
allow: string;
|
|
4584
|
-
loadingThread: string;
|
|
4585
|
-
name: string;
|
|
4586
|
-
deleteThisChannel: string;
|
|
4587
|
-
permanentlyDeleteTheChannel: string;
|
|
4588
|
-
deleteChannel: string;
|
|
4589
|
-
};
|
|
4590
|
-
/**
|
|
4591
|
-
*
|
|
4592
|
-
* account: Text for account.
|
|
4593
|
-
*
|
|
4594
|
-
* email: Text for email.
|
|
4595
|
-
*
|
|
4596
|
-
* continue: Text for continue.
|
|
4597
|
-
*
|
|
4598
|
-
* statusLabel: Text for status label.
|
|
4666
|
+
* menuItemButton: Selector for the menu item button.
|
|
4599
4667
|
*
|
|
4600
|
-
*
|
|
4668
|
+
* threadsFlexpane: Selector for the threads flexpane.
|
|
4601
4669
|
*
|
|
4602
|
-
*
|
|
4670
|
+
* replyBar: Selector for the reply bar.
|
|
4603
4671
|
*
|
|
4604
|
-
*
|
|
4672
|
+
* markdownElement: Selector for the markdown element.
|
|
4605
4673
|
*
|
|
4606
|
-
*
|
|
4674
|
+
* virtualListItem: Selector for the virtual list item.
|
|
4607
4675
|
*
|
|
4608
|
-
*
|
|
4676
|
+
* channelItems: Selector for channel items.
|
|
4609
4677
|
*
|
|
4610
|
-
|
|
4678
|
+
*/
|
|
4679
|
+
declare const SLACK_SELECTORS: {
|
|
4680
|
+
messageContainer: string;
|
|
4681
|
+
loginEmail: string;
|
|
4682
|
+
loginPassword: string;
|
|
4683
|
+
signInButton: string;
|
|
4684
|
+
teamPicketButtonContent: string;
|
|
4685
|
+
redirectOpenInBrowser: string;
|
|
4686
|
+
workspaceActionsButton: string;
|
|
4687
|
+
teamMenuTrigger: string;
|
|
4688
|
+
menuItemButton: string;
|
|
4689
|
+
threadsFlexpane: string;
|
|
4690
|
+
replyBar: string;
|
|
4691
|
+
markdownElement: string;
|
|
4692
|
+
virtualListItem: string;
|
|
4693
|
+
channelItems: string;
|
|
4694
|
+
};
|
|
4695
|
+
/**
|
|
4611
4696
|
*
|
|
4612
|
-
*
|
|
4697
|
+
* Selectors for Slack components using 'data-qa' attributes.
|
|
4613
4698
|
*
|
|
4614
|
-
*
|
|
4699
|
+
* @example
|
|
4615
4700
|
*
|
|
4616
|
-
*
|
|
4701
|
+
* import { SLACK_DATA_QA_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4702
|
+
* @endexample
|
|
4703
|
+
* sectionHeadingButton: Selector for the section heading button.
|
|
4617
4704
|
*
|
|
4618
|
-
*
|
|
4705
|
+
* channelSectionSubmenuCreate: Selector for the channel section submenu create button.
|
|
4619
4706
|
*
|
|
4620
|
-
*
|
|
4707
|
+
* channelSectionMenuCreateChannel: Selector for the channel section menu create channel button.
|
|
4621
4708
|
*
|
|
4622
|
-
*
|
|
4709
|
+
* skModalContent: Selector for the modal content.
|
|
4623
4710
|
*
|
|
4624
|
-
*
|
|
4711
|
+
* infiniteSpinner: Selector for the infinite spinner.
|
|
4625
4712
|
*
|
|
4626
|
-
*
|
|
4713
|
+
* channelNameOptionsList: Selector for the channel name options list.
|
|
4627
4714
|
*
|
|
4628
|
-
*
|
|
4715
|
+
* channelNameInput: Selector for the channel name input.
|
|
4629
4716
|
*
|
|
4630
|
-
*
|
|
4717
|
+
* createChannelNextButton: Selector for the create channel next button.
|
|
4631
4718
|
*
|
|
4632
|
-
*
|
|
4719
|
+
* inviteToWorkspaceSkipButton: Selector for the invite to workspace skip button.
|
|
4633
4720
|
*
|
|
4634
|
-
*
|
|
4721
|
+
* menuItems: Selector for the menu items.
|
|
4635
4722
|
*
|
|
4636
|
-
*
|
|
4723
|
+
* channelDetailsModal: Selector for the channel details modal.
|
|
4637
4724
|
*
|
|
4638
|
-
*
|
|
4725
|
+
* channelDetailsSettingsTab: Selector for the channel details settings tab.
|
|
4639
4726
|
*
|
|
4640
4727
|
*/
|
|
4641
|
-
declare const
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
apiKey: string;
|
|
4658
|
-
publishingZapHeading: string;
|
|
4659
|
-
connectionListMenu: string;
|
|
4660
|
-
usageRegExp: string;
|
|
4661
|
-
trialEndsRegExp: string;
|
|
4662
|
-
testCurrentlyInQueue: string;
|
|
4663
|
-
welcomeText: (zapierLoginEmail: string) => string;
|
|
4664
|
-
connectStagingApp: (appName: string) => string;
|
|
4665
|
-
zapierWorkflowTriggered: string;
|
|
4666
|
-
confirmPublishing: string;
|
|
4728
|
+
declare const SLACK_DATA_QA_SELECTORS: {
|
|
4729
|
+
sectionHeadingButton: string;
|
|
4730
|
+
coachMarkCloseButton: string;
|
|
4731
|
+
messagePaneBannerCloseIcon: string;
|
|
4732
|
+
permissionBannerCloseIcon: string;
|
|
4733
|
+
channelSectionSubmenuCreate: string;
|
|
4734
|
+
channelSectionMenuCreateChannel: string;
|
|
4735
|
+
skModalContent: string;
|
|
4736
|
+
infiniteSpinner: string;
|
|
4737
|
+
channelNameOptionsList: string;
|
|
4738
|
+
channelNameInput: string;
|
|
4739
|
+
createChannelNextButton: string;
|
|
4740
|
+
inviteToWorkspaceSkipButton: string;
|
|
4741
|
+
menuItems: string;
|
|
4742
|
+
channelDetailsModal: string;
|
|
4743
|
+
channelDetailsSettingsTab: string;
|
|
4667
4744
|
};
|
|
4668
4745
|
/**
|
|
4669
4746
|
*
|
|
4670
|
-
*
|
|
4747
|
+
* Selectors for webhook components.
|
|
4671
4748
|
*
|
|
4672
|
-
|
|
4673
|
-
declare const TOASTR_MESSAGES: {
|
|
4674
|
-
zapierApiKeyGenerated: string;
|
|
4675
|
-
};
|
|
4676
|
-
/**
|
|
4749
|
+
* @example
|
|
4677
4750
|
*
|
|
4678
|
-
*
|
|
4751
|
+
* import { WEBHOOK_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4752
|
+
* @endexample
|
|
4753
|
+
* addNewWebhook: Selector for the "Add New Webhook" button.
|
|
4679
4754
|
*
|
|
4680
|
-
|
|
4681
|
-
declare const ZAPIER_LIMIT_EXHAUSTED_MESSAGE = "Zapier free task limit is exhausted. Test will be aborted";
|
|
4682
|
-
declare const EMOJI_LABEL = "thumbs up";
|
|
4683
|
-
declare const SELECT_COUNTRY = "Select country";
|
|
4684
|
-
declare const GOOGLE_CALENDAR_DATE_FORMAT = "YYYY/M/D";
|
|
4685
|
-
/**
|
|
4755
|
+
* endpointInputField: Selector for the endpoint input field.
|
|
4686
4756
|
*
|
|
4687
|
-
*
|
|
4757
|
+
* deliveryResponseCode: Selector for the delivery response code.
|
|
4688
4758
|
*
|
|
4689
|
-
*
|
|
4759
|
+
* deliveryRequestPayload: Selector for the delivery request payload.
|
|
4690
4760
|
*
|
|
4691
|
-
*
|
|
4761
|
+
* addSecretKey: Selector for add secret key button.
|
|
4692
4762
|
*
|
|
4693
|
-
*
|
|
4763
|
+
* newWebhookHeader: Selector for new webhook pane header.
|
|
4694
4764
|
*
|
|
4695
|
-
*
|
|
4765
|
+
* endpointInputError: Selector for endpoint input error.
|
|
4696
4766
|
*
|
|
4697
|
-
*
|
|
4767
|
+
* eventsSelectError: Selector for event select error.
|
|
4698
4768
|
*
|
|
4699
|
-
*
|
|
4769
|
+
* regenerateSecret: Selector for regenerate secret key button.
|
|
4700
4770
|
*
|
|
4701
|
-
*
|
|
4771
|
+
* deleteSecret: Selector for delete secret key button.
|
|
4702
4772
|
*
|
|
4703
|
-
|
|
4773
|
+
*/
|
|
4774
|
+
declare const WEBHOOK_SELECTORS: {
|
|
4775
|
+
addNewWebhook: string;
|
|
4776
|
+
endpointInputField: string;
|
|
4777
|
+
deliveryResponseCode: string;
|
|
4778
|
+
deliveryRequestPayload: string;
|
|
4779
|
+
addSecretKey: string;
|
|
4780
|
+
newWebhookHeader: string;
|
|
4781
|
+
endpointInputError: string;
|
|
4782
|
+
eventsSelectError: string;
|
|
4783
|
+
regenerateSecret: string;
|
|
4784
|
+
deleteSecret: string;
|
|
4785
|
+
};
|
|
4786
|
+
/**
|
|
4704
4787
|
*
|
|
4705
|
-
*
|
|
4788
|
+
* Selectors for Zapier components.
|
|
4706
4789
|
*
|
|
4707
|
-
*
|
|
4790
|
+
* @example
|
|
4708
4791
|
*
|
|
4709
|
-
*
|
|
4792
|
+
* import { ZAPIER_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4793
|
+
* @endexample
|
|
4794
|
+
* zapTriggerStep(zapId: string): Method that generates a selector for the Zap trigger step based on the Zap ID. Accepts a string parameter representing the Zap ID.
|
|
4710
4795
|
*
|
|
4711
|
-
*
|
|
4796
|
+
* zapAccountSubstep: Selector for the Zap account substep.
|
|
4712
4797
|
*
|
|
4713
|
-
*
|
|
4798
|
+
* zapOpenSubstepContainer: Selector for the container to open substeps.
|
|
4714
4799
|
*
|
|
4715
|
-
*
|
|
4800
|
+
* modal: Selector for modals.
|
|
4716
4801
|
*
|
|
4717
|
-
*
|
|
4802
|
+
* fmPrettytext: Selector for pretty text.
|
|
4718
4803
|
*
|
|
4719
|
-
*
|
|
4804
|
+
* spinner: Selector for spinners.
|
|
4720
4805
|
*
|
|
4721
|
-
*
|
|
4806
|
+
* skeletonBlock: Selector for skeleton blocks.
|
|
4722
4807
|
*
|
|
4723
|
-
*
|
|
4808
|
+
* accountsLoader: Selector for accounts loader.
|
|
4724
4809
|
*
|
|
4725
|
-
*
|
|
4810
|
+
* floatingBox: Selector for floating boxes.
|
|
4726
4811
|
*
|
|
4727
|
-
*
|
|
4812
|
+
* connection: Selector for connections.
|
|
4728
4813
|
*
|
|
4729
|
-
*
|
|
4814
|
+
* deleteConnectionModal: Selector for the delete connection modal.
|
|
4730
4815
|
*
|
|
4731
|
-
*
|
|
4816
|
+
* deleteConnectionDropdownButton: Selector for the dropdown button to delete a connection.
|
|
4817
|
+
*
|
|
4818
|
+
* usageAmounts: Selector for usage amounts.
|
|
4819
|
+
*
|
|
4820
|
+
* universalSidebar: Selector for the universal sidebar.
|
|
4821
|
+
*
|
|
4822
|
+
* sidebarFooter: Selector for the sidebar footer.
|
|
4823
|
+
*
|
|
4824
|
+
* contextualSideBar: Selector for the contextual sidebar.
|
|
4732
4825
|
*
|
|
4733
4826
|
*/
|
|
4734
|
-
declare const
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
confirm: string;
|
|
4753
|
-
cancel: string;
|
|
4754
|
-
deleteConnections: string;
|
|
4755
|
-
noLongerConnected: string;
|
|
4756
|
-
backToSafety: string;
|
|
4757
|
-
neetoAutomation: string;
|
|
4758
|
-
};
|
|
4759
|
-
declare const ENGAGE_TEXTS: {
|
|
4760
|
-
subscribe: string;
|
|
4761
|
-
};
|
|
4762
|
-
declare const DESCRIPTION_EDITOR_TEXTS: {
|
|
4763
|
-
fontSize: string;
|
|
4764
|
-
paragraph: string;
|
|
4765
|
-
normalText: string;
|
|
4766
|
-
pasteLink: string;
|
|
4767
|
-
invalidURLError: string;
|
|
4768
|
-
pasteURL: string;
|
|
4769
|
-
delete: string;
|
|
4770
|
-
linkTag: string;
|
|
4771
|
-
link: string;
|
|
4772
|
-
cannedResponseHeader: string;
|
|
4773
|
-
paragraphOption: string;
|
|
4774
|
-
search: string;
|
|
4775
|
-
emoji: string;
|
|
4776
|
-
};
|
|
4777
|
-
declare const EXPANDED_FONT_SIZE: {
|
|
4778
|
-
h1: string;
|
|
4779
|
-
h2: string;
|
|
4780
|
-
h3: string;
|
|
4781
|
-
h4: string;
|
|
4782
|
-
h5: string;
|
|
4783
|
-
};
|
|
4784
|
-
declare const TEXT_MODIFIER_TAGS: {
|
|
4785
|
-
underline: string;
|
|
4786
|
-
strike: string;
|
|
4787
|
-
highlight: string;
|
|
4788
|
-
};
|
|
4789
|
-
declare const TEXT_MODIFIER_ROLES: {
|
|
4790
|
-
bold: string;
|
|
4791
|
-
italic: string;
|
|
4792
|
-
code: string;
|
|
4793
|
-
blockquote: string;
|
|
4794
|
-
codeBlock: string;
|
|
4795
|
-
};
|
|
4796
|
-
declare const LIST_MODIFIER_TAGS: {
|
|
4797
|
-
bulletList: string;
|
|
4798
|
-
orderedList: string;
|
|
4827
|
+
declare const ZAPIER_SELECTORS: {
|
|
4828
|
+
zapTriggerStep: (zapId: string) => string;
|
|
4829
|
+
zapAccountSubstep: string;
|
|
4830
|
+
zapOpenSubstepContainer: string;
|
|
4831
|
+
modal: string;
|
|
4832
|
+
fmPrettytext: string;
|
|
4833
|
+
spinner: string;
|
|
4834
|
+
skeletonBlock: string;
|
|
4835
|
+
accountsLoader: string;
|
|
4836
|
+
floatingBox: string;
|
|
4837
|
+
connection: string;
|
|
4838
|
+
deleteConnectionModal: string;
|
|
4839
|
+
deleteConnectionDropdownButton: string;
|
|
4840
|
+
usageAmounts: string;
|
|
4841
|
+
universalSidebar: string;
|
|
4842
|
+
sidebarFooter: string;
|
|
4843
|
+
contextualSideBar: string;
|
|
4844
|
+
iconContainer: string;
|
|
4799
4845
|
};
|
|
4800
4846
|
/**
|
|
4801
4847
|
*
|
|
@@ -5272,7 +5318,7 @@ declare const memberUtils: {
|
|
|
5272
5318
|
deactivateMemberViaRequest: ({
|
|
5273
5319
|
email,
|
|
5274
5320
|
neetoPlaywrightUtilities
|
|
5275
|
-
}: DeactiveMemberProps) => Promise<
|
|
5321
|
+
}: DeactiveMemberProps) => Promise<APIResponse | undefined>;
|
|
5276
5322
|
generateRandomTeamMembers: ({
|
|
5277
5323
|
count,
|
|
5278
5324
|
role
|
|
@@ -5296,6 +5342,10 @@ interface ToggleColumnCheckboxAndVerifyVisibilityProps {
|
|
|
5296
5342
|
tableColumns: string[];
|
|
5297
5343
|
shouldBeChecked: boolean;
|
|
5298
5344
|
}
|
|
5345
|
+
interface VerifyTableColumnsExistenceProps {
|
|
5346
|
+
page: Page;
|
|
5347
|
+
columnNames: string[];
|
|
5348
|
+
}
|
|
5299
5349
|
declare const tableUtils: {
|
|
5300
5350
|
/**
|
|
5301
5351
|
*
|
|
@@ -5318,10 +5368,7 @@ declare const tableUtils: {
|
|
|
5318
5368
|
verifyTableColumnsExistence: ({
|
|
5319
5369
|
page,
|
|
5320
5370
|
columnNames
|
|
5321
|
-
}:
|
|
5322
|
-
page: Page;
|
|
5323
|
-
columnNames: string[];
|
|
5324
|
-
}) => Promise<void>;
|
|
5371
|
+
}: VerifyTableColumnsExistenceProps) => Promise<void>;
|
|
5325
5372
|
/**
|
|
5326
5373
|
*
|
|
5327
5374
|
* Used to check if the provided column matches the given visibility option. It takes the following parameters:
|
|
@@ -5669,4 +5716,4 @@ interface Overrides {
|
|
|
5669
5716
|
* @endexample
|
|
5670
5717
|
*/
|
|
5671
5718
|
declare const definePlaywrightConfig: (overrides: Overrides) => _playwright_test.PlaywrightTestConfig<{}, {}>;
|
|
5672
|
-
export { API_ROUTES, BASE_URL, CHANGELOG_WIDGET_SELECTORS, CHAT_WIDGET_SELECTORS, CHAT_WIDGET_TEXTS, COMMON_SELECTORS, CREDENTIALS, CustomCommands, type CustomFixture, DESCRIPTION_EDITOR_TEXTS, EMBED_SELECTORS, EMOJI_LABEL, ENGAGE_TEXTS, ENVIRONMENT, EXPANDED_FONT_SIZE, EditorPage, EmbedBase, FONT_SIZE_SELECTORS, GLOBAL_TRANSLATIONS_PATTERN, GOOGLE_CALENDAR_DATE_FORMAT, GOOGLE_LOGIN_TEXTS, GooglePage, HELP_CENTER_SELECTORS, HelpAndProfilePage, INTEGRATIONS_TEXTS, INTEGRATION_SELECTORS, IS_STAGING_ENV, ImageUploader, IntegrationBase, KEYBOARD_SHORTCUTS_SELECTORS, LIST_MODIFIER_SELECTORS, LIST_MODIFIER_TAGS, LOGIN_SELECTORS, MEMBER_FORM_SELECTORS, MEMBER_SELECTORS, MEMBER_TEXTS, MERGE_TAGS_SELECTORS, MailerUtils, MailosaurUtils, NEETO_AUTH_BASE_URL, NEETO_EDITOR_SELECTORS, NEETO_FILTERS_SELECTORS, NEETO_IMAGE_UPLOADER_SELECTORS, NEETO_ROUTES, NEETO_TEXT_MODIFIER_SELECTORS, OTP_EMAIL_PATTERN, OrganizationPage, PLURAL, PROFILE_SECTION_SELECTORS, PROJECT_TRANSLATIONS_PATH, ROLES_SELECTORS, ROUTES, SELECT_COUNTRY, SIGNUP_SELECTORS, SINGULAR, SLACK_DATA_QA_SELECTORS, SLACK_DEFAULT_CHANNEL, SLACK_SELECTORS, SLACK_WEB_TEXTS, STORAGE_STATE, SidebarSection, SlackPage, TAB_SELECTORS, TAGS_SELECTORS, TEXT_MODIFIER_ROLES, TEXT_MODIFIER_SELECTORS, TEXT_MODIFIER_TAGS, THANK_YOU_SELECTORS, THIRD_PARTY_ROUTES, TOASTR_MESSAGES, TagsPage, TeamMembers, ThankYouPage, USER_AGENTS, WebhooksPage, ZAPIER_LIMIT_EXHAUSTED_MESSAGE, ZAPIER_SELECTORS, ZAPIER_TEST_EMAIL, ZAPIER_WEB_TEXTS, ZapierPage, basicHTMLContent, clearCredentials, commands, cpuThrottlingUsingCDP, currencyUtils, decodeQRCodeFromFile, definePlaywrightConfig, executeWithThrottledResources, extractSubdomainFromError, filterUtils, generateRandomBypassEmail, generateStagingData, getByDataQA, getGlobalUserState, getImagePathAndName, getListCount, headerUtils, hexToRGB, hyphenize, i18nFixture, initializeCredentials, initializeTotp, joinHyphenCase, joinString, login, loginWithoutSSO, memberUtils, networkConditions, networkThrottlingUsingCDP, readFileSyncIfExists, removeCredentialFile, shouldSkipSetupAndTeardown, skipTest, squish, _default as stealthTest, tableUtils, toCamelCase, updateCredentials, writeDataToFile };
|
|
5719
|
+
export { API_ROUTES, BASE_URL, CHANGELOG_WIDGET_SELECTORS, CHAT_WIDGET_SELECTORS, CHAT_WIDGET_TEXTS, COMMON_SELECTORS, CREDENTIALS, CustomCommands, type CustomFixture, DESCRIPTION_EDITOR_TEXTS, EMBED_SELECTORS, EMOJI_LABEL, ENGAGE_TEXTS, ENVIRONMENT, EXPANDED_FONT_SIZE, EditorPage, EmbedBase, FONT_SIZE_SELECTORS, GLOBAL_TRANSLATIONS_PATTERN, GOOGLE_CALENDAR_DATE_FORMAT, GOOGLE_LOGIN_SELECTORS, GOOGLE_LOGIN_TEXTS, GooglePage, HELP_CENTER_SELECTORS, HelpAndProfilePage, INTEGRATIONS_TEXTS, INTEGRATION_SELECTORS, IS_STAGING_ENV, ImageUploader, IntegrationBase, KEYBOARD_SHORTCUTS_SELECTORS, LIST_MODIFIER_SELECTORS, LIST_MODIFIER_TAGS, LOGIN_SELECTORS, MEMBER_FORM_SELECTORS, MEMBER_SELECTORS, MEMBER_TEXTS, MERGE_TAGS_SELECTORS, MailerUtils, MailosaurUtils, NEETO_AUTH_BASE_URL, NEETO_EDITOR_SELECTORS, NEETO_FILTERS_SELECTORS, NEETO_IMAGE_UPLOADER_SELECTORS, NEETO_ROUTES, NEETO_TEXT_MODIFIER_SELECTORS, OTP_EMAIL_PATTERN, OrganizationPage, PLURAL, PROFILE_SECTION_SELECTORS, PROJECT_TRANSLATIONS_PATH, ROLES_SELECTORS, ROUTES, SELECT_COUNTRY, SIGNUP_SELECTORS, SINGULAR, SLACK_DATA_QA_SELECTORS, SLACK_DEFAULT_CHANNEL, SLACK_SELECTORS, SLACK_WEB_TEXTS, STORAGE_STATE, SidebarSection, SlackPage, TAB_SELECTORS, TAGS_SELECTORS, TEXT_MODIFIER_ROLES, TEXT_MODIFIER_SELECTORS, TEXT_MODIFIER_TAGS, THANK_YOU_SELECTORS, THIRD_PARTY_ROUTES, TOASTR_MESSAGES, TagsPage, TeamMembers, ThankYouPage, USER_AGENTS, WEBHOOK_SELECTORS, WebhooksPage, ZAPIER_LIMIT_EXHAUSTED_MESSAGE, ZAPIER_SELECTORS, ZAPIER_TEST_EMAIL, ZAPIER_WEB_TEXTS, ZapierPage, basicHTMLContent, clearCredentials, commands, cpuThrottlingUsingCDP, currencyUtils, decodeQRCodeFromFile, definePlaywrightConfig, executeWithThrottledResources, extractSubdomainFromError, filterUtils, generateRandomBypassEmail, generateStagingData, getByDataQA, getGlobalUserState, getImagePathAndName, getListCount, headerUtils, hexToRGB, hyphenize, i18nFixture, initializeCredentials, initializeTotp, joinHyphenCase, joinString, login, loginWithoutSSO, memberUtils, networkConditions, networkThrottlingUsingCDP, readFileSyncIfExists, removeCredentialFile, shouldSkipSetupAndTeardown, skipTest, squish, _default as stealthTest, tableUtils, toCamelCase, updateCredentials, writeDataToFile };
|