@bigbinary/neeto-playwright-commons 1.13.0 → 1.13.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/index.cjs.js +546 -455
- package/index.cjs.js.map +1 -1
- package/index.d.ts +841 -645
- package/index.js +545 -457
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { I18nPlaywrightFixture } from 'playwright-i18next-fixture';
|
|
|
7
7
|
import { TFunction } from 'i18next';
|
|
8
8
|
import { TOTP, Secret } from 'otpauth';
|
|
9
9
|
import * as playwright_core from 'playwright-core';
|
|
10
|
+
import { MemberApis } from 'apis/members';
|
|
10
11
|
import { TagsApi } from 'apis/tags';
|
|
11
12
|
import { Protocol } from 'playwright-core/types/protocol';
|
|
12
13
|
import * as ts_toolbelt_out_Function_Curry from 'ts-toolbelt/out/Function/Curry';
|
|
@@ -1356,6 +1357,10 @@ type SlackPageParams = {
|
|
|
1356
1357
|
neetoPlaywrightUtilities: CustomCommands;
|
|
1357
1358
|
integrationRouteIndex?: string;
|
|
1358
1359
|
};
|
|
1360
|
+
interface CreateNewSlackChannelParams {
|
|
1361
|
+
channelName: string;
|
|
1362
|
+
kind?: "public" | "private";
|
|
1363
|
+
}
|
|
1359
1364
|
declare class SlackPage extends IntegrationBase {
|
|
1360
1365
|
slackWebappPage: Page;
|
|
1361
1366
|
slackWebappPageDataQa: (dataQa: string | [string, string]) => Locator;
|
|
@@ -1536,10 +1541,7 @@ declare class SlackPage extends IntegrationBase {
|
|
|
1536
1541
|
createNewSlackChannel: ({
|
|
1537
1542
|
channelName,
|
|
1538
1543
|
kind
|
|
1539
|
-
}:
|
|
1540
|
-
channelName: string;
|
|
1541
|
-
kind?: "public" | "private";
|
|
1542
|
-
}) => Promise<void>;
|
|
1544
|
+
}: CreateNewSlackChannelParams) => Promise<void>;
|
|
1543
1545
|
/**
|
|
1544
1546
|
*
|
|
1545
1547
|
* Deletes a slack channel. It takes the following parameters:
|
|
@@ -1815,6 +1817,157 @@ declare class ZapierPage extends IntegrationBase {
|
|
|
1815
1817
|
*/
|
|
1816
1818
|
disconnectAndVerify: () => Promise<void>;
|
|
1817
1819
|
}
|
|
1820
|
+
interface AddMemberProps$1 {
|
|
1821
|
+
email: string;
|
|
1822
|
+
role?: string;
|
|
1823
|
+
appName: string;
|
|
1824
|
+
requestCount?: number;
|
|
1825
|
+
neetoPlaywrightUtilities: CustomCommands;
|
|
1826
|
+
}
|
|
1827
|
+
interface EditMemberProps$2 {
|
|
1828
|
+
email: string;
|
|
1829
|
+
firstName?: string;
|
|
1830
|
+
lastName?: string;
|
|
1831
|
+
newRole?: string;
|
|
1832
|
+
requestCount?: number;
|
|
1833
|
+
neetoPlaywrightUtilities: CustomCommands;
|
|
1834
|
+
}
|
|
1835
|
+
interface DeactiveMemberProps$1 {
|
|
1836
|
+
email: string;
|
|
1837
|
+
neetoPlaywrightUtilities: CustomCommands;
|
|
1838
|
+
requestCount?: number;
|
|
1839
|
+
}
|
|
1840
|
+
declare class Member {
|
|
1841
|
+
private neetoPlaywrightUtilities;
|
|
1842
|
+
memberApis: MemberApis;
|
|
1843
|
+
constructor(neetoPlaywrightUtilities: CustomCommands);
|
|
1844
|
+
/**
|
|
1845
|
+
*
|
|
1846
|
+
* Adds a member to the team via API request. It takes the following parameters:
|
|
1847
|
+
*
|
|
1848
|
+
* email: Email of the member to be added.
|
|
1849
|
+
*
|
|
1850
|
+
* role: Role of the member (default: "Agent").
|
|
1851
|
+
*
|
|
1852
|
+
* appName: Name of the application.
|
|
1853
|
+
*
|
|
1854
|
+
* neetoPlaywrightUtilities: Custom utility functions for API requests.
|
|
1855
|
+
*
|
|
1856
|
+
* requestCount (optional): Specify the number of requests.
|
|
1857
|
+
*
|
|
1858
|
+
* @example
|
|
1859
|
+
*
|
|
1860
|
+
* import { memberUtils } from "@bigbinary/neeto-playwright-commons";
|
|
1861
|
+
*
|
|
1862
|
+
* await memberUtils.addMemberViaRequest({
|
|
1863
|
+
* email: "example@example.com",
|
|
1864
|
+
* appName: "MyApp",
|
|
1865
|
+
* neetoPlaywrightUtilities: myCustomPlaywrightUtilities,
|
|
1866
|
+
* });
|
|
1867
|
+
*
|
|
1868
|
+
* // OR
|
|
1869
|
+
*
|
|
1870
|
+
* await memberUtils.addMemberViaRequest({
|
|
1871
|
+
* email: "example@example.com",
|
|
1872
|
+
* appName: "MyApp",
|
|
1873
|
+
* neetoPlaywrightUtilities: myCustomPlaywrightUtilities,
|
|
1874
|
+
* requestCount:10
|
|
1875
|
+
* });
|
|
1876
|
+
* @endexample
|
|
1877
|
+
*/
|
|
1878
|
+
addMemberViaRequest: ({
|
|
1879
|
+
email,
|
|
1880
|
+
role,
|
|
1881
|
+
appName
|
|
1882
|
+
}: AddMemberProps$1) => Promise<void>;
|
|
1883
|
+
/**
|
|
1884
|
+
*
|
|
1885
|
+
* Edits a member's details via API request. It takes the following parameters:
|
|
1886
|
+
*
|
|
1887
|
+
* email: Email of the member to be edited.
|
|
1888
|
+
*
|
|
1889
|
+
* firstName (optional): New first name of the member.
|
|
1890
|
+
*
|
|
1891
|
+
* lastName (optional): New last name of the member.
|
|
1892
|
+
*
|
|
1893
|
+
* newRole (optional): New role of the member.
|
|
1894
|
+
*
|
|
1895
|
+
* neetoPlaywrightUtilities: Custom utility functions for API requests.
|
|
1896
|
+
*
|
|
1897
|
+
* requestCount (optional): Specify the number of requests.
|
|
1898
|
+
*
|
|
1899
|
+
* @example
|
|
1900
|
+
*
|
|
1901
|
+
* import { memberUtils } from "@bigbinary/neeto-playwright-commons";
|
|
1902
|
+
*
|
|
1903
|
+
* await memberUtils.editMemberViaRequest({
|
|
1904
|
+
* email: "example@example.com",
|
|
1905
|
+
* firstName: "John",
|
|
1906
|
+
* lastName: "Doe",
|
|
1907
|
+
* newRole: "Admin",
|
|
1908
|
+
* neetoPlaywrightUtilities: myCustomPlaywrightUtilities,
|
|
1909
|
+
* });
|
|
1910
|
+
*
|
|
1911
|
+
* await memberUtils.editMemberViaRequest({
|
|
1912
|
+
* email: "example@example.com",
|
|
1913
|
+
* firstName: "John",
|
|
1914
|
+
* lastName: "Doe",
|
|
1915
|
+
* newRole: "Admin",
|
|
1916
|
+
* neetoPlaywrightUtilities: myCustomPlaywrightUtilities,
|
|
1917
|
+
* requestCount:10
|
|
1918
|
+
* })
|
|
1919
|
+
* @endexample
|
|
1920
|
+
*/
|
|
1921
|
+
editMemberViaRequest: ({
|
|
1922
|
+
email,
|
|
1923
|
+
firstName,
|
|
1924
|
+
lastName,
|
|
1925
|
+
newRole
|
|
1926
|
+
}: EditMemberProps$2) => Promise<void>;
|
|
1927
|
+
/**
|
|
1928
|
+
*
|
|
1929
|
+
* Deactivates a member via API request. It takes the following parameters:
|
|
1930
|
+
*
|
|
1931
|
+
* email: Email of the member to be deactivated.
|
|
1932
|
+
*
|
|
1933
|
+
* neetoPlaywrightUtilities: Custom utility functions for API requests.
|
|
1934
|
+
*
|
|
1935
|
+
* requestCount (optional): Specify the number of requests.
|
|
1936
|
+
*
|
|
1937
|
+
* @example
|
|
1938
|
+
*
|
|
1939
|
+
* import { memberUtils } from "@bigbinary/neeto-playwright-commons";
|
|
1940
|
+
*
|
|
1941
|
+
* await memberUtils.deactivateMemberViaRequest({
|
|
1942
|
+
* email: "example@example.com",
|
|
1943
|
+
* neetoPlaywrightUtilities: myCustomPlaywrightUtilities,
|
|
1944
|
+
* });
|
|
1945
|
+
*
|
|
1946
|
+
* // OR
|
|
1947
|
+
*
|
|
1948
|
+
* await memberUtils.deactivateMemberViaRequest({
|
|
1949
|
+
* email: "example@example.com",
|
|
1950
|
+
* neetoPlaywrightUtilities: myCustomPlaywrightUtilities,
|
|
1951
|
+
* requestCount:2
|
|
1952
|
+
* });
|
|
1953
|
+
* @endexample
|
|
1954
|
+
*/
|
|
1955
|
+
deactivateMemberViaRequest: ({
|
|
1956
|
+
email
|
|
1957
|
+
}: DeactiveMemberProps$1) => Promise<playwright_core.APIResponse | undefined>;
|
|
1958
|
+
generateRandomTeamMembers: ({
|
|
1959
|
+
count,
|
|
1960
|
+
role
|
|
1961
|
+
}: {
|
|
1962
|
+
count?: number | undefined;
|
|
1963
|
+
role?: string | undefined;
|
|
1964
|
+
}) => {
|
|
1965
|
+
firstName: string;
|
|
1966
|
+
lastName: string;
|
|
1967
|
+
email: string;
|
|
1968
|
+
role: string;
|
|
1969
|
+
}[];
|
|
1970
|
+
}
|
|
1818
1971
|
interface KeyValuePair {
|
|
1819
1972
|
key: string;
|
|
1820
1973
|
value: string;
|
|
@@ -1926,13 +2079,7 @@ interface SelectImage extends CropImageProps {
|
|
|
1926
2079
|
declare class ImageUploader {
|
|
1927
2080
|
page: Page;
|
|
1928
2081
|
neetoPlaywrightUtilities: CustomCommands;
|
|
1929
|
-
constructor(
|
|
1930
|
-
page,
|
|
1931
|
-
neetoPlaywrightUtilities
|
|
1932
|
-
}: {
|
|
1933
|
-
page: Page;
|
|
1934
|
-
neetoPlaywrightUtilities: CustomCommands;
|
|
1935
|
-
});
|
|
2082
|
+
constructor(page: Page, neetoPlaywrightUtilities: CustomCommands);
|
|
1936
2083
|
private submitCroppedImage;
|
|
1937
2084
|
/**
|
|
1938
2085
|
*
|
|
@@ -3128,6 +3275,7 @@ declare const API_ROUTES: {
|
|
|
3128
3275
|
bulkUpdate: string;
|
|
3129
3276
|
index: string;
|
|
3130
3277
|
show: (id: string) => string;
|
|
3278
|
+
creationStatus: (id: string) => string;
|
|
3131
3279
|
};
|
|
3132
3280
|
integrations: {
|
|
3133
3281
|
zapier: {
|
|
@@ -3199,79 +3347,350 @@ declare const NEETO_ROUTES: {
|
|
|
3199
3347
|
declare const networkConditions: Record<"Slow 3G" | "Fast 3G" | "No Throttling", Protocol.Network.emulateNetworkConditionsParameters>;
|
|
3200
3348
|
/**
|
|
3201
3349
|
*
|
|
3202
|
-
*
|
|
3350
|
+
* newConversation: Text for initiating a new conversation.
|
|
3203
3351
|
*
|
|
3204
|
-
*
|
|
3352
|
+
* welcomeChatBubble: Text for the welcome message displayed in the chat bubble.
|
|
3205
3353
|
*
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3354
|
+
*/
|
|
3355
|
+
declare const CHAT_WIDGET_TEXTS: {
|
|
3356
|
+
newConversation: string;
|
|
3357
|
+
welcomeChatBubble: string;
|
|
3358
|
+
preChatQuestions: string;
|
|
3359
|
+
};
|
|
3360
|
+
/**
|
|
3209
3361
|
*
|
|
3210
|
-
*
|
|
3362
|
+
* agent: Text representing an agent.
|
|
3211
3363
|
*
|
|
3212
|
-
|
|
3364
|
+
*/
|
|
3365
|
+
declare const MEMBER_TEXTS: {
|
|
3366
|
+
agent: string;
|
|
3367
|
+
admin: string;
|
|
3368
|
+
selectAll: string;
|
|
3369
|
+
hide: string;
|
|
3370
|
+
show: string;
|
|
3371
|
+
};
|
|
3372
|
+
/**
|
|
3213
3373
|
*
|
|
3214
|
-
*
|
|
3374
|
+
* connectHeader(integration): Method to generate text for connecting an integration account.
|
|
3215
3375
|
*
|
|
3216
|
-
*
|
|
3376
|
+
* connectedHeader(integration): Method to generate text indicating a successful connection to an integration.
|
|
3217
3377
|
*
|
|
3218
|
-
|
|
3378
|
+
*/
|
|
3379
|
+
declare const INTEGRATIONS_TEXTS: {
|
|
3380
|
+
connectHeader: (integration: string) => string;
|
|
3381
|
+
connectedHeader: (integration: string) => string;
|
|
3382
|
+
};
|
|
3383
|
+
/**
|
|
3219
3384
|
*
|
|
3220
|
-
*
|
|
3385
|
+
* signOut: Text for signing out.
|
|
3221
3386
|
*
|
|
3222
|
-
*
|
|
3387
|
+
* allow: Text for allowing.
|
|
3223
3388
|
*
|
|
3224
|
-
*
|
|
3389
|
+
* loadingThread: Text indicating thread loading.
|
|
3225
3390
|
*
|
|
3226
|
-
*
|
|
3391
|
+
* name: Text for name.
|
|
3227
3392
|
*
|
|
3228
|
-
*
|
|
3393
|
+
* deleteThisChannel: Text for deleting a channel.
|
|
3229
3394
|
*
|
|
3230
|
-
*
|
|
3395
|
+
* permanentlyDeleteTheChannel: Text for confirming permanent deletion of a channel.
|
|
3231
3396
|
*
|
|
3232
|
-
*
|
|
3397
|
+
* deleteChannel: Text for deleting a channel.
|
|
3233
3398
|
*
|
|
3234
|
-
|
|
3399
|
+
*/
|
|
3400
|
+
declare const SLACK_WEB_TEXTS: {
|
|
3401
|
+
signOut: string;
|
|
3402
|
+
allow: string;
|
|
3403
|
+
loadingThread: string;
|
|
3404
|
+
name: string;
|
|
3405
|
+
deleteThisChannel: string;
|
|
3406
|
+
permanentlyDeleteTheChannel: string;
|
|
3407
|
+
deleteChannel: string;
|
|
3408
|
+
};
|
|
3409
|
+
/**
|
|
3235
3410
|
*
|
|
3236
|
-
*
|
|
3411
|
+
* account: Text for account.
|
|
3237
3412
|
*
|
|
3238
|
-
*
|
|
3413
|
+
* email: Text for email.
|
|
3239
3414
|
*
|
|
3240
|
-
*
|
|
3415
|
+
* continue: Text for continue.
|
|
3241
3416
|
*
|
|
3242
|
-
*
|
|
3417
|
+
* statusLabel: Text for status label.
|
|
3243
3418
|
*
|
|
3244
|
-
*
|
|
3419
|
+
* editExistingDraft: Text for editing an existing draft.
|
|
3245
3420
|
*
|
|
3246
|
-
*
|
|
3421
|
+
* signInTo: Text for signing into Zapier.
|
|
3247
3422
|
*
|
|
3248
|
-
*
|
|
3423
|
+
* yesContinueTo: Text for confirming continuation to a specific destination.
|
|
3249
3424
|
*
|
|
3250
|
-
*
|
|
3425
|
+
* testTrigger: Text for testing a trigger.
|
|
3251
3426
|
*
|
|
3252
|
-
*
|
|
3427
|
+
* editStep: Text for editing a step.
|
|
3253
3428
|
*
|
|
3254
|
-
*
|
|
3429
|
+
* continueWithSelectedRecord: Text for continuing with a selected record.
|
|
3255
3430
|
*
|
|
3256
|
-
*
|
|
3431
|
+
* publish: Text for publishing.
|
|
3257
3432
|
*
|
|
3258
|
-
*
|
|
3433
|
+
* delete: Text for deleting.
|
|
3259
3434
|
*
|
|
3260
|
-
*
|
|
3435
|
+
* loading: Text indicating loading.
|
|
3261
3436
|
*
|
|
3262
|
-
*
|
|
3437
|
+
* subdomain: Text for subdomain.
|
|
3263
3438
|
*
|
|
3264
|
-
*
|
|
3439
|
+
* apiKey: Text for API key.
|
|
3265
3440
|
*
|
|
3266
|
-
*
|
|
3441
|
+
* publishingZapHeading: Text heading for preparing Zap to go live.
|
|
3267
3442
|
*
|
|
3268
|
-
*
|
|
3443
|
+
* connectionListMenu: Text for connection list item menu.
|
|
3269
3444
|
*
|
|
3270
|
-
*
|
|
3445
|
+
* usageRegExp: Text for usage reset information.
|
|
3271
3446
|
*
|
|
3272
|
-
*
|
|
3447
|
+
* trialEndsRegExp: Text for trial end date.
|
|
3273
3448
|
*
|
|
3274
|
-
*
|
|
3449
|
+
* testCurrentlyInQueue: Text indicating test currently in queue.
|
|
3450
|
+
*
|
|
3451
|
+
* welcomeText(zapierLoginEmail): Method to generate welcome text for Zapier login.
|
|
3452
|
+
*
|
|
3453
|
+
* connectStagingApp: Text for connecting to Staging application.
|
|
3454
|
+
*
|
|
3455
|
+
* zapierWorkflowTriggered: Text subject for the Outbound email.
|
|
3456
|
+
*
|
|
3457
|
+
* confirmPublishing: Text to confirm the publishing of the updated Zap.
|
|
3458
|
+
*
|
|
3459
|
+
*/
|
|
3460
|
+
declare const ZAPIER_WEB_TEXTS: {
|
|
3461
|
+
account: string;
|
|
3462
|
+
email: string;
|
|
3463
|
+
continue: string;
|
|
3464
|
+
statusLabel: string;
|
|
3465
|
+
password: string;
|
|
3466
|
+
editExistingDraft: string;
|
|
3467
|
+
signInTo: string;
|
|
3468
|
+
yesContinueTo: string;
|
|
3469
|
+
testTrigger: string;
|
|
3470
|
+
editStep: string;
|
|
3471
|
+
continueWithSelectedRecord: string;
|
|
3472
|
+
publish: string;
|
|
3473
|
+
delete: string;
|
|
3474
|
+
loading: string;
|
|
3475
|
+
subdomain: string;
|
|
3476
|
+
apiKey: string;
|
|
3477
|
+
publishingZapHeading: string;
|
|
3478
|
+
connectionListMenu: string;
|
|
3479
|
+
usageRegExp: string;
|
|
3480
|
+
trialEndsRegExp: string;
|
|
3481
|
+
testCurrentlyInQueue: string;
|
|
3482
|
+
welcomeText: (zapierLoginEmail: string) => string;
|
|
3483
|
+
connectStagingApp: (appName: string) => string;
|
|
3484
|
+
zapierWorkflowTriggered: string;
|
|
3485
|
+
confirmPublishing: string;
|
|
3486
|
+
};
|
|
3487
|
+
/**
|
|
3488
|
+
*
|
|
3489
|
+
* zapierApiKeyGenerated: Message indicating successful generation of Zapier API key.
|
|
3490
|
+
*
|
|
3491
|
+
*/
|
|
3492
|
+
declare const TOASTR_MESSAGES: {
|
|
3493
|
+
zapierApiKeyGenerated: string;
|
|
3494
|
+
};
|
|
3495
|
+
/**
|
|
3496
|
+
*
|
|
3497
|
+
* Text indicating that Zapier's free task limit is exhausted and the test will be aborted.
|
|
3498
|
+
*
|
|
3499
|
+
*/
|
|
3500
|
+
declare const ZAPIER_LIMIT_EXHAUSTED_MESSAGE = "Zapier free task limit is exhausted. Test will be aborted";
|
|
3501
|
+
declare const EMOJI_LABEL = "thumbs up";
|
|
3502
|
+
declare const SELECT_COUNTRY = "Select country";
|
|
3503
|
+
declare const GOOGLE_CALENDAR_DATE_FORMAT = "YYYY/M/D";
|
|
3504
|
+
/**
|
|
3505
|
+
*
|
|
3506
|
+
* googleAccount: Text for google account.
|
|
3507
|
+
*
|
|
3508
|
+
* connectYourGoogleAccount: Text for connecting to your google account.
|
|
3509
|
+
*
|
|
3510
|
+
* signInWithGoogle: Text for signing in with google.
|
|
3511
|
+
*
|
|
3512
|
+
* signInHeading: Text heading for signing in.
|
|
3513
|
+
*
|
|
3514
|
+
* continue: Text for continue.
|
|
3515
|
+
*
|
|
3516
|
+
* selectAll: Text for selecting all permissions.
|
|
3517
|
+
*
|
|
3518
|
+
* appNotVerified: Text indicating app not verified.
|
|
3519
|
+
*
|
|
3520
|
+
* next: Text for next.
|
|
3521
|
+
*
|
|
3522
|
+
* showPassword: Text for showing password.
|
|
3523
|
+
*
|
|
3524
|
+
* emailOrPhone: Text indicating email or phone.
|
|
3525
|
+
*
|
|
3526
|
+
* enterYourPassword: Text for entering your password.
|
|
3527
|
+
*
|
|
3528
|
+
* twoStepVerification: Text for two-step verification.
|
|
3529
|
+
*
|
|
3530
|
+
* enterCode: "Text for entering code.
|
|
3531
|
+
*
|
|
3532
|
+
* allow: Text for allow.
|
|
3533
|
+
*
|
|
3534
|
+
* signOut: Text for signing out.
|
|
3535
|
+
*
|
|
3536
|
+
* wrongCode: "Text for wrong code.
|
|
3537
|
+
*
|
|
3538
|
+
* verificationCode: Text for verification code.
|
|
3539
|
+
*
|
|
3540
|
+
* confirm: Text for confirm.
|
|
3541
|
+
*
|
|
3542
|
+
* cancel: Text for cancel.
|
|
3543
|
+
*
|
|
3544
|
+
* deleteConnections: Text for deleting connections.
|
|
3545
|
+
*
|
|
3546
|
+
* noLongerConnected: Text indicating no longer connected.
|
|
3547
|
+
*
|
|
3548
|
+
* backToSafety: Text label for back to safety button.
|
|
3549
|
+
*
|
|
3550
|
+
* neetoAutomation: Text indicating neeto automation mail id.
|
|
3551
|
+
*
|
|
3552
|
+
*/
|
|
3553
|
+
declare const GOOGLE_LOGIN_TEXTS: {
|
|
3554
|
+
googleAccount: string;
|
|
3555
|
+
connectYourGoogleAccount: string;
|
|
3556
|
+
signInWithGoogle: string;
|
|
3557
|
+
signInHeading: (appName: string) => string;
|
|
3558
|
+
continue: string;
|
|
3559
|
+
selectAll: string;
|
|
3560
|
+
appNotVerified: string;
|
|
3561
|
+
next: string;
|
|
3562
|
+
showPassword: string;
|
|
3563
|
+
emailOrPhone: string;
|
|
3564
|
+
enterYourPassword: string;
|
|
3565
|
+
twoStepVerification: string;
|
|
3566
|
+
enterCode: string;
|
|
3567
|
+
allow: string;
|
|
3568
|
+
signOut: string;
|
|
3569
|
+
wrongCode: string;
|
|
3570
|
+
verificationCode: string;
|
|
3571
|
+
confirm: string;
|
|
3572
|
+
cancel: string;
|
|
3573
|
+
deleteConnections: string;
|
|
3574
|
+
noLongerConnected: string;
|
|
3575
|
+
backToSafety: string;
|
|
3576
|
+
neetoAutomation: string;
|
|
3577
|
+
};
|
|
3578
|
+
declare const ENGAGE_TEXTS: {
|
|
3579
|
+
subscribe: string;
|
|
3580
|
+
};
|
|
3581
|
+
declare const DESCRIPTION_EDITOR_TEXTS: {
|
|
3582
|
+
fontSize: string;
|
|
3583
|
+
paragraph: string;
|
|
3584
|
+
normalText: string;
|
|
3585
|
+
pasteLink: string;
|
|
3586
|
+
invalidURLError: string;
|
|
3587
|
+
pasteURL: string;
|
|
3588
|
+
delete: string;
|
|
3589
|
+
linkTag: string;
|
|
3590
|
+
link: string;
|
|
3591
|
+
cannedResponseHeader: string;
|
|
3592
|
+
paragraphOption: string;
|
|
3593
|
+
search: string;
|
|
3594
|
+
emoji: string;
|
|
3595
|
+
};
|
|
3596
|
+
declare const EXPANDED_FONT_SIZE: {
|
|
3597
|
+
h1: string;
|
|
3598
|
+
h2: string;
|
|
3599
|
+
h3: string;
|
|
3600
|
+
h4: string;
|
|
3601
|
+
h5: string;
|
|
3602
|
+
};
|
|
3603
|
+
declare const TEXT_MODIFIER_TAGS: {
|
|
3604
|
+
underline: string;
|
|
3605
|
+
strike: string;
|
|
3606
|
+
highlight: string;
|
|
3607
|
+
};
|
|
3608
|
+
declare const TEXT_MODIFIER_ROLES: {
|
|
3609
|
+
bold: string;
|
|
3610
|
+
italic: string;
|
|
3611
|
+
code: string;
|
|
3612
|
+
blockquote: string;
|
|
3613
|
+
codeBlock: string;
|
|
3614
|
+
};
|
|
3615
|
+
declare const LIST_MODIFIER_TAGS: {
|
|
3616
|
+
bulletList: string;
|
|
3617
|
+
orderedList: string;
|
|
3618
|
+
};
|
|
3619
|
+
/**
|
|
3620
|
+
*
|
|
3621
|
+
* Common selectors for UI elements.
|
|
3622
|
+
*
|
|
3623
|
+
* @example
|
|
3624
|
+
*
|
|
3625
|
+
* import { COMMON_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
3626
|
+
* @endexample
|
|
3627
|
+
* emailInputError: Selector for email input error.
|
|
3628
|
+
*
|
|
3629
|
+
* pane: Selector for pane wrapper.
|
|
3630
|
+
*
|
|
3631
|
+
* sideBar: Selector for side bar.
|
|
3632
|
+
*
|
|
3633
|
+
* copyButton: Selector for the copy button.
|
|
3634
|
+
*
|
|
3635
|
+
* resetButton: Selector for the reset button.
|
|
3636
|
+
*
|
|
3637
|
+
* spinner: Selector for spinners.
|
|
3638
|
+
*
|
|
3639
|
+
* uiSpinner: Selector for spinners.
|
|
3640
|
+
*
|
|
3641
|
+
* subheaderText: Selector to get the subheader text.
|
|
3642
|
+
*
|
|
3643
|
+
* alertTitle: Selector for alert titles.
|
|
3644
|
+
*
|
|
3645
|
+
* alertModalMessage: Selector for alert modal messages.
|
|
3646
|
+
*
|
|
3647
|
+
* alertModalSubmitButton: to get the submit button of the NeetoUI Alert component.
|
|
3648
|
+
*
|
|
3649
|
+
* checkbox: Selector for checkboxes.
|
|
3650
|
+
*
|
|
3651
|
+
* checkboxLabel: Selector for checkbox labels.
|
|
3652
|
+
*
|
|
3653
|
+
* dropdownContainer: Selector for dropdown containers.
|
|
3654
|
+
*
|
|
3655
|
+
* dropdownIcon: Selector for dropdown icons.
|
|
3656
|
+
*
|
|
3657
|
+
* heading: Selector for headings.
|
|
3658
|
+
*
|
|
3659
|
+
* paneBody: Selector for pane bodies.
|
|
3660
|
+
*
|
|
3661
|
+
* paneHeader: Selector for pane headers.
|
|
3662
|
+
*
|
|
3663
|
+
* profileSidebar: Selector for profile sidebars.
|
|
3664
|
+
*
|
|
3665
|
+
* selectOption(label: string): Method that generates a selector for select options based on the label.
|
|
3666
|
+
*
|
|
3667
|
+
* radioLabel(embedLabel: string): Method that generates a selector for radio labels based on the embedded label.
|
|
3668
|
+
*
|
|
3669
|
+
* toastMessage: To get the NeetoUI Toastr message.
|
|
3670
|
+
*
|
|
3671
|
+
* toastCloseButton: To get the NeetoUI Toastr close icon.
|
|
3672
|
+
*
|
|
3673
|
+
* windowAlert: Selector for window alerts.
|
|
3674
|
+
*
|
|
3675
|
+
* body: Selector for the body.
|
|
3676
|
+
*
|
|
3677
|
+
* toastIcon: To get the NeetoUI Toastr icon.
|
|
3678
|
+
*
|
|
3679
|
+
* toastContainer: To get the NeetoUI Toastr container.
|
|
3680
|
+
*
|
|
3681
|
+
* paneModalCrossIcon: Selector for pane modal cross icons.
|
|
3682
|
+
*
|
|
3683
|
+
* inputField: Selector to get NeetoUI input field.
|
|
3684
|
+
*
|
|
3685
|
+
* alertBox: Selector for alert box.
|
|
3686
|
+
*
|
|
3687
|
+
* tableContainer: Selector for table container.
|
|
3688
|
+
*
|
|
3689
|
+
* alertConfirmationText: Selector for alert confirmation text.
|
|
3690
|
+
*
|
|
3691
|
+
* alertCancelButton: Selector for alert cancel buttons.
|
|
3692
|
+
*
|
|
3693
|
+
* alertModalCrossIcon: Selector for alert modal cross icons.
|
|
3275
3694
|
*
|
|
3276
3695
|
* saveChangesButton: Selector for save changes buttons.
|
|
3277
3696
|
*
|
|
@@ -3475,19 +3894,69 @@ declare const COMMON_SELECTORS: {
|
|
|
3475
3894
|
};
|
|
3476
3895
|
/**
|
|
3477
3896
|
*
|
|
3478
|
-
* Selectors for
|
|
3897
|
+
* Selectors for thank you page components.
|
|
3479
3898
|
*
|
|
3480
3899
|
* @example
|
|
3481
3900
|
*
|
|
3482
|
-
* import {
|
|
3901
|
+
* import { THANK_YOU_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
3483
3902
|
* @endexample
|
|
3484
|
-
*
|
|
3903
|
+
* settingsLink: Selector for the settings link.
|
|
3485
3904
|
*
|
|
3486
|
-
*
|
|
3905
|
+
* showSocialShareIconsSwitch: Selector for the show social share icon switch.
|
|
3487
3906
|
*
|
|
3488
|
-
*
|
|
3907
|
+
* showLinkToSubmitAnotherResponseSwitch: Selector for the show link to submit another response switch.
|
|
3489
3908
|
*
|
|
3490
|
-
*
|
|
3909
|
+
* submitAnotherResponseLinkTextInputField: Selector for the submit another response link text input field.
|
|
3910
|
+
*
|
|
3911
|
+
* previewEditorContent: Selector for the preview editor content.
|
|
3912
|
+
*
|
|
3913
|
+
* redirectToExternalLinkRadioLabel: Selector for the redirect to external link radio label.
|
|
3914
|
+
*
|
|
3915
|
+
* saveChangesButton: Selector for the save changes button.
|
|
3916
|
+
*
|
|
3917
|
+
* cancelButton: Selector for the cancel button.
|
|
3918
|
+
*
|
|
3919
|
+
* thankYouPageImage: Selector for the thank you page image.
|
|
3920
|
+
*
|
|
3921
|
+
* thankYouPageContent: Selector for the thank you page content.
|
|
3922
|
+
*
|
|
3923
|
+
* thankYouPageResubmitLink: Selector for the thank you page resubmit link.
|
|
3924
|
+
*
|
|
3925
|
+
* linkInputField: Selector for the link input field.
|
|
3926
|
+
*
|
|
3927
|
+
*/
|
|
3928
|
+
declare const THANK_YOU_SELECTORS: {
|
|
3929
|
+
settingsLink: string;
|
|
3930
|
+
showSocialShareIconsSwitch: string;
|
|
3931
|
+
showLinkToSubmitAnotherResponseSwitch: string;
|
|
3932
|
+
submitAnotherResponseLinkTextInputField: string;
|
|
3933
|
+
previewEditorContent: string;
|
|
3934
|
+
redirectToExternalLinkRadioLabel: () => string;
|
|
3935
|
+
thankYouConfigurationLabel: (label?: string) => string;
|
|
3936
|
+
saveChangesButton: string;
|
|
3937
|
+
cancelButton: string;
|
|
3938
|
+
thankYouPageImage: string;
|
|
3939
|
+
thankYouPageMessage: string;
|
|
3940
|
+
thankYouPageContent: string;
|
|
3941
|
+
thankYouPageResubmitLink: string;
|
|
3942
|
+
linkInputField: string;
|
|
3943
|
+
previewImage: string;
|
|
3944
|
+
};
|
|
3945
|
+
/**
|
|
3946
|
+
*
|
|
3947
|
+
* Selectors for Neeto editor components.
|
|
3948
|
+
*
|
|
3949
|
+
* @example
|
|
3950
|
+
*
|
|
3951
|
+
* import { NEETO_EDITOR_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
3952
|
+
* @endexample
|
|
3953
|
+
* boldOption: Selector for the bold option.
|
|
3954
|
+
*
|
|
3955
|
+
* italicOption: Selector for the italic option.
|
|
3956
|
+
*
|
|
3957
|
+
* underlineOption: Selector for the underline option.
|
|
3958
|
+
*
|
|
3959
|
+
* strikeOption: Selector for the strike option.
|
|
3491
3960
|
*
|
|
3492
3961
|
* codeBlockOption: Selector for the code block option.
|
|
3493
3962
|
*
|
|
@@ -3605,6 +4074,77 @@ declare const FONT_SIZE_SELECTORS: {
|
|
|
3605
4074
|
h4: string;
|
|
3606
4075
|
h5: string;
|
|
3607
4076
|
};
|
|
4077
|
+
/**
|
|
4078
|
+
*
|
|
4079
|
+
* Selectors for embed components.
|
|
4080
|
+
*
|
|
4081
|
+
* @example
|
|
4082
|
+
*
|
|
4083
|
+
* import { EMBED_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4084
|
+
* @endexample
|
|
4085
|
+
* iframe(appName: string): Method that generates a selector for the iframe based on the app name.
|
|
4086
|
+
*
|
|
4087
|
+
* modal(appName: string): Method that generates a selector for the modal based on the app name.
|
|
4088
|
+
*
|
|
4089
|
+
* close(appName: string): Method that generates a selector for the close button based on the app name.
|
|
4090
|
+
*
|
|
4091
|
+
* loader(appName: string): Method that generates a selector for the loader based on the app name.
|
|
4092
|
+
*
|
|
4093
|
+
* inlineHeightInput: Selector for the inline height input field.
|
|
4094
|
+
*
|
|
4095
|
+
* inlineWidthInput: Selector for the inline width input field.
|
|
4096
|
+
*
|
|
4097
|
+
* inlineElementIdInput: Selector for the inline element ID input field.
|
|
4098
|
+
*
|
|
4099
|
+
* codeBlock: Selector for the code block.
|
|
4100
|
+
*
|
|
4101
|
+
* previewTab: Selector for the preview tab.
|
|
4102
|
+
*
|
|
4103
|
+
* htmlTab: Selector for the HTML tab.
|
|
4104
|
+
*
|
|
4105
|
+
* buttonTextInput: Selector for the button text input field.
|
|
4106
|
+
*
|
|
4107
|
+
* buttonPositionSelectContainer: Selector for the button position select container.
|
|
4108
|
+
*
|
|
4109
|
+
* buttonPositionSelectMenu: Selector for the button position select menu.
|
|
4110
|
+
*
|
|
4111
|
+
* buttonColorLabel: Selector for the button color label.
|
|
4112
|
+
*
|
|
4113
|
+
* buttonTextColorLabel: Selector for the button text color label.
|
|
4114
|
+
*
|
|
4115
|
+
* colorPickerTarget: Selector for the color picker target.
|
|
4116
|
+
*
|
|
4117
|
+
* colorpickerEditableInput: Selector for the color picker editable input.
|
|
4118
|
+
*
|
|
4119
|
+
* showIconCheckbox: Selector for the show icon checkbox.
|
|
4120
|
+
*
|
|
4121
|
+
* elementIdInput: Selector for the element ID input field.
|
|
4122
|
+
*
|
|
4123
|
+
* previewElementPopupButton: Selector for the preview element popup button.
|
|
4124
|
+
*
|
|
4125
|
+
*/
|
|
4126
|
+
declare const EMBED_SELECTORS: {
|
|
4127
|
+
iframe: (appName: string) => string;
|
|
4128
|
+
modal: (appName: string) => string;
|
|
4129
|
+
close: (appName: string) => string;
|
|
4130
|
+
loader: (appName: string) => string;
|
|
4131
|
+
inlineHeightInput: string;
|
|
4132
|
+
inlineWidthInput: string;
|
|
4133
|
+
inlineElementIdInput: string;
|
|
4134
|
+
codeBlock: string;
|
|
4135
|
+
previewTab: string;
|
|
4136
|
+
htmlTab: string;
|
|
4137
|
+
buttonTextInput: string;
|
|
4138
|
+
buttonPositionSelectContainer: string;
|
|
4139
|
+
buttonPositionSelectMenu: string;
|
|
4140
|
+
buttonColorLabel: string;
|
|
4141
|
+
buttonTextColorLabel: string;
|
|
4142
|
+
colorPickerTarget: string;
|
|
4143
|
+
colorpickerEditableInput: string;
|
|
4144
|
+
showIconCheckbox: string;
|
|
4145
|
+
elementIdInput: string;
|
|
4146
|
+
previewElementPopupButton: string;
|
|
4147
|
+
};
|
|
3608
4148
|
/**
|
|
3609
4149
|
*
|
|
3610
4150
|
* Selectors for Neeto filters components.
|
|
@@ -3703,6 +4243,33 @@ declare const HELP_CENTER_SELECTORS: {
|
|
|
3703
4243
|
keyboardShortcutPaneHeading: string;
|
|
3704
4244
|
keyboardShortcutPaneCrossIcon: string;
|
|
3705
4245
|
};
|
|
4246
|
+
declare const NEETO_IMAGE_UPLOADER_SELECTORS: {
|
|
4247
|
+
imageUploaderWrapper: string;
|
|
4248
|
+
browseText: string;
|
|
4249
|
+
fileInput: string;
|
|
4250
|
+
uploadedImage: string;
|
|
4251
|
+
uploadNewAsset: string;
|
|
4252
|
+
basicImageUploaderRemoveButton: string;
|
|
4253
|
+
removeButton: string;
|
|
4254
|
+
openImageLibraryButton: string;
|
|
4255
|
+
openAssetLibraryButton: string;
|
|
4256
|
+
imageEditorBackButton: string;
|
|
4257
|
+
aspectRatioWidthInput: string;
|
|
4258
|
+
aspectRatioHeightInput: string;
|
|
4259
|
+
cropSubmitButton: string;
|
|
4260
|
+
restrictionMessage: string;
|
|
4261
|
+
progressBar: string;
|
|
4262
|
+
myImagesTab: string;
|
|
4263
|
+
unsplashTab: string;
|
|
4264
|
+
nthLibraryImage: (index: number) => string;
|
|
4265
|
+
nthUnsplashImage: (index: number) => string;
|
|
4266
|
+
unsplashSearchInput: string;
|
|
4267
|
+
imageEditorUploadedImage: string;
|
|
4268
|
+
selectOriginalImageSwitch: string;
|
|
4269
|
+
lockAspectRatioSwitch: string;
|
|
4270
|
+
widthInputField: string;
|
|
4271
|
+
heightInputField: string;
|
|
4272
|
+
};
|
|
3706
4273
|
/**
|
|
3707
4274
|
*
|
|
3708
4275
|
* Selectors for login components.
|
|
@@ -3854,6 +4421,44 @@ declare const MEMBER_FORM_SELECTORS: {
|
|
|
3854
4421
|
emailErrorField: string;
|
|
3855
4422
|
cancelButton: string;
|
|
3856
4423
|
};
|
|
4424
|
+
/**
|
|
4425
|
+
*
|
|
4426
|
+
* Selectors for profile section components.
|
|
4427
|
+
*
|
|
4428
|
+
* @example
|
|
4429
|
+
*
|
|
4430
|
+
* import { PROFILE_SECTION_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4431
|
+
* @endexample
|
|
4432
|
+
* profileSectionButton: Selector for the profile section button.
|
|
4433
|
+
*
|
|
4434
|
+
* profilePopup: Selector for the profile popup.
|
|
4435
|
+
*
|
|
4436
|
+
* myProfileButton: Selector for the "My Profile" button.
|
|
4437
|
+
*
|
|
4438
|
+
* profileOrganizationSettingsButton: Selector for the profile organization settings button.
|
|
4439
|
+
*
|
|
4440
|
+
* logoutButton: Selector for the logout button.
|
|
4441
|
+
*
|
|
4442
|
+
* neetoAuthLink: Selector for the Neeto authentication link button.
|
|
4443
|
+
*
|
|
4444
|
+
* profileSidebarCancelButton: Selector for the profile sidebar cancel button.
|
|
4445
|
+
*
|
|
4446
|
+
* profileAvatar: Selector for the profile avatar.
|
|
4447
|
+
*
|
|
4448
|
+
* actionHeaderUserEmail: Selector for the user email.
|
|
4449
|
+
*
|
|
4450
|
+
*/
|
|
4451
|
+
declare const PROFILE_SECTION_SELECTORS: {
|
|
4452
|
+
profileSectionButton: string;
|
|
4453
|
+
profilePopup: string;
|
|
4454
|
+
myProfileButton: string;
|
|
4455
|
+
profileOrganizationSettingsButton: string;
|
|
4456
|
+
logoutButton: string;
|
|
4457
|
+
neetoAuthLink: string;
|
|
4458
|
+
profileSidebarCancelButton: string;
|
|
4459
|
+
profileAvatar: string;
|
|
4460
|
+
actionHeaderUserEmail: string;
|
|
4461
|
+
};
|
|
3857
4462
|
/**
|
|
3858
4463
|
*
|
|
3859
4464
|
* Selectors for roles components.
|
|
@@ -3969,6 +4574,35 @@ declare const SIGNUP_SELECTORS: {
|
|
|
3969
4574
|
tryFreeButton: string;
|
|
3970
4575
|
unregisterdEmailError: string;
|
|
3971
4576
|
};
|
|
4577
|
+
/**
|
|
4578
|
+
*
|
|
4579
|
+
* Selectors for tab components.
|
|
4580
|
+
*
|
|
4581
|
+
* @example
|
|
4582
|
+
*
|
|
4583
|
+
* import { TAB_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4584
|
+
* @endexample
|
|
4585
|
+
* configureTab: Selector for the configure tab.
|
|
4586
|
+
*
|
|
4587
|
+
* buildTab: Selector for the build tab.
|
|
4588
|
+
*
|
|
4589
|
+
* themeTab: Selector for the theme tab.
|
|
4590
|
+
*
|
|
4591
|
+
* shareTab: Selector for the share tab.
|
|
4592
|
+
*
|
|
4593
|
+
* submissionsTab: Selector for the submissions tab.
|
|
4594
|
+
*
|
|
4595
|
+
* paymentsTab: Selector for the payments tab.
|
|
4596
|
+
*
|
|
4597
|
+
*/
|
|
4598
|
+
declare const TAB_SELECTORS: {
|
|
4599
|
+
configureTab: string;
|
|
4600
|
+
buildTab: string;
|
|
4601
|
+
themeTab: string;
|
|
4602
|
+
shareTab: string;
|
|
4603
|
+
submissionsTab: string;
|
|
4604
|
+
paymentsTab: string;
|
|
4605
|
+
};
|
|
3972
4606
|
/**
|
|
3973
4607
|
*
|
|
3974
4608
|
* Selectors for tags components.
|
|
@@ -4127,41 +4761,35 @@ declare const KEYBOARD_SHORTCUTS_SELECTORS: {
|
|
|
4127
4761
|
};
|
|
4128
4762
|
/**
|
|
4129
4763
|
*
|
|
4130
|
-
* Selectors for
|
|
4764
|
+
* Selectors for integration components.
|
|
4131
4765
|
*
|
|
4132
4766
|
* @example
|
|
4133
4767
|
*
|
|
4134
|
-
* import {
|
|
4768
|
+
* import { INTEGRATION_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4135
4769
|
* @endexample
|
|
4136
|
-
*
|
|
4137
|
-
*
|
|
4138
|
-
* profilePopup: Selector for the profile popup.
|
|
4139
|
-
*
|
|
4140
|
-
* myProfileButton: Selector for the "My Profile" button.
|
|
4141
|
-
*
|
|
4142
|
-
* profileOrganizationSettingsButton: Selector for the profile organization settings button.
|
|
4143
|
-
*
|
|
4144
|
-
* logoutButton: Selector for the logout button.
|
|
4770
|
+
* 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.
|
|
4145
4771
|
*
|
|
4146
|
-
*
|
|
4772
|
+
* connectButton: Selector for the connect button.
|
|
4147
4773
|
*
|
|
4148
|
-
*
|
|
4774
|
+
* integrationStatusTag: Selector for the integration status tag.
|
|
4149
4775
|
*
|
|
4150
|
-
*
|
|
4776
|
+
* disconnectButton: Selector for the disconnect button.
|
|
4151
4777
|
*
|
|
4152
|
-
*
|
|
4778
|
+
* manageButton: Selector for the manage button.
|
|
4153
4779
|
*
|
|
4154
4780
|
*/
|
|
4155
|
-
declare const
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4781
|
+
declare const INTEGRATION_SELECTORS: {
|
|
4782
|
+
integrationCard: (integration: string) => string;
|
|
4783
|
+
connectButton: string;
|
|
4784
|
+
integrationStatusTag: string;
|
|
4785
|
+
disconnectButton: string;
|
|
4786
|
+
manageButton: string;
|
|
4787
|
+
};
|
|
4788
|
+
declare const GOOGLE_LOGIN_SELECTORS: {
|
|
4789
|
+
totpNext: string;
|
|
4790
|
+
form: string;
|
|
4791
|
+
totpChallengeSelector: string;
|
|
4792
|
+
signOutFrameLocator: string;
|
|
4165
4793
|
};
|
|
4166
4794
|
/**
|
|
4167
4795
|
*
|
|
@@ -4187,618 +4815,185 @@ declare const PROFILE_SECTION_SELECTORS: {
|
|
|
4187
4815
|
*
|
|
4188
4816
|
* teamMenuTrigger: Selector for the team menu trigger.
|
|
4189
4817
|
*
|
|
4190
|
-
* menuItemButton: Selector for the menu item button.
|
|
4191
|
-
*
|
|
4192
|
-
* threadsFlexpane: Selector for the threads flexpane.
|
|
4193
|
-
*
|
|
4194
|
-
* replyBar: Selector for the reply bar.
|
|
4195
|
-
*
|
|
4196
|
-
* markdownElement: Selector for the markdown element.
|
|
4197
|
-
*
|
|
4198
|
-
* virtualListItem: Selector for the virtual list item.
|
|
4199
|
-
*
|
|
4200
|
-
* channelItems: Selector for channel items.
|
|
4201
|
-
*
|
|
4202
|
-
*/
|
|
4203
|
-
declare const SLACK_SELECTORS: {
|
|
4204
|
-
messageContainer: string;
|
|
4205
|
-
loginEmail: string;
|
|
4206
|
-
loginPassword: string;
|
|
4207
|
-
signInButton: string;
|
|
4208
|
-
teamPicketButtonContent: string;
|
|
4209
|
-
redirectOpenInBrowser: string;
|
|
4210
|
-
workspaceActionsButton: string;
|
|
4211
|
-
teamMenuTrigger: string;
|
|
4212
|
-
menuItemButton: string;
|
|
4213
|
-
threadsFlexpane: string;
|
|
4214
|
-
replyBar: string;
|
|
4215
|
-
markdownElement: string;
|
|
4216
|
-
virtualListItem: string;
|
|
4217
|
-
channelItems: string;
|
|
4218
|
-
};
|
|
4219
|
-
/**
|
|
4220
|
-
*
|
|
4221
|
-
* Selectors for Slack components using 'data-qa' attributes.
|
|
4222
|
-
*
|
|
4223
|
-
* @example
|
|
4224
|
-
*
|
|
4225
|
-
* import { SLACK_DATA_QA_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4226
|
-
* @endexample
|
|
4227
|
-
* sectionHeadingButton: Selector for the section heading button.
|
|
4228
|
-
*
|
|
4229
|
-
* channelSectionSubmenuCreate: Selector for the channel section submenu create button.
|
|
4230
|
-
*
|
|
4231
|
-
* channelSectionMenuCreateChannel: Selector for the channel section menu create channel button.
|
|
4232
|
-
*
|
|
4233
|
-
* skModalContent: Selector for the modal content.
|
|
4234
|
-
*
|
|
4235
|
-
* infiniteSpinner: Selector for the infinite spinner.
|
|
4236
|
-
*
|
|
4237
|
-
* channelNameOptionsList: Selector for the channel name options list.
|
|
4238
|
-
*
|
|
4239
|
-
* channelNameInput: Selector for the channel name input.
|
|
4240
|
-
*
|
|
4241
|
-
* createChannelNextButton: Selector for the create channel next button.
|
|
4242
|
-
*
|
|
4243
|
-
* inviteToWorkspaceSkipButton: Selector for the invite to workspace skip button.
|
|
4244
|
-
*
|
|
4245
|
-
* menuItems: Selector for the menu items.
|
|
4246
|
-
*
|
|
4247
|
-
* channelDetailsModal: Selector for the channel details modal.
|
|
4248
|
-
*
|
|
4249
|
-
* channelDetailsSettingsTab: Selector for the channel details settings tab.
|
|
4250
|
-
*
|
|
4251
|
-
*/
|
|
4252
|
-
declare const SLACK_DATA_QA_SELECTORS: {
|
|
4253
|
-
sectionHeadingButton: string;
|
|
4254
|
-
coachMarkCloseButton: string;
|
|
4255
|
-
messagePaneBannerCloseIcon: string;
|
|
4256
|
-
permissionBannerCloseIcon: string;
|
|
4257
|
-
channelSectionSubmenuCreate: string;
|
|
4258
|
-
channelSectionMenuCreateChannel: string;
|
|
4259
|
-
skModalContent: string;
|
|
4260
|
-
infiniteSpinner: string;
|
|
4261
|
-
channelNameOptionsList: string;
|
|
4262
|
-
channelNameInput: string;
|
|
4263
|
-
createChannelNextButton: string;
|
|
4264
|
-
inviteToWorkspaceSkipButton: string;
|
|
4265
|
-
menuItems: string;
|
|
4266
|
-
channelDetailsModal: string;
|
|
4267
|
-
channelDetailsSettingsTab: string;
|
|
4268
|
-
};
|
|
4269
|
-
/**
|
|
4270
|
-
*
|
|
4271
|
-
* Selectors for integration components.
|
|
4272
|
-
*
|
|
4273
|
-
* @example
|
|
4274
|
-
*
|
|
4275
|
-
* import { INTEGRATION_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4276
|
-
* @endexample
|
|
4277
|
-
* 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.
|
|
4278
|
-
*
|
|
4279
|
-
* connectButton: Selector for the connect button.
|
|
4280
|
-
*
|
|
4281
|
-
* integrationStatusTag: Selector for the integration status tag.
|
|
4282
|
-
*
|
|
4283
|
-
* disconnectButton: Selector for the disconnect button.
|
|
4284
|
-
*
|
|
4285
|
-
* manageButton: Selector for the manage button.
|
|
4286
|
-
*
|
|
4287
|
-
*/
|
|
4288
|
-
declare const INTEGRATION_SELECTORS: {
|
|
4289
|
-
integrationCard: (integration: string) => string;
|
|
4290
|
-
connectButton: string;
|
|
4291
|
-
integrationStatusTag: string;
|
|
4292
|
-
disconnectButton: string;
|
|
4293
|
-
manageButton: string;
|
|
4294
|
-
};
|
|
4295
|
-
/**
|
|
4296
|
-
*
|
|
4297
|
-
* Selectors for Zapier components.
|
|
4298
|
-
*
|
|
4299
|
-
* @example
|
|
4300
|
-
*
|
|
4301
|
-
* import { ZAPIER_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4302
|
-
* @endexample
|
|
4303
|
-
* 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.
|
|
4304
|
-
*
|
|
4305
|
-
* zapAccountSubstep: Selector for the Zap account substep.
|
|
4306
|
-
*
|
|
4307
|
-
* zapOpenSubstepContainer: Selector for the container to open substeps.
|
|
4308
|
-
*
|
|
4309
|
-
* modal: Selector for modals.
|
|
4310
|
-
*
|
|
4311
|
-
* fmPrettytext: Selector for pretty text.
|
|
4312
|
-
*
|
|
4313
|
-
* spinner: Selector for spinners.
|
|
4314
|
-
*
|
|
4315
|
-
* skeletonBlock: Selector for skeleton blocks.
|
|
4316
|
-
*
|
|
4317
|
-
* accountsLoader: Selector for accounts loader.
|
|
4318
|
-
*
|
|
4319
|
-
* floatingBox: Selector for floating boxes.
|
|
4320
|
-
*
|
|
4321
|
-
* connection: Selector for connections.
|
|
4322
|
-
*
|
|
4323
|
-
* deleteConnectionModal: Selector for the delete connection modal.
|
|
4324
|
-
*
|
|
4325
|
-
* deleteConnectionDropdownButton: Selector for the dropdown button to delete a connection.
|
|
4326
|
-
*
|
|
4327
|
-
* usageAmounts: Selector for usage amounts.
|
|
4328
|
-
*
|
|
4329
|
-
* universalSidebar: Selector for the universal sidebar.
|
|
4330
|
-
*
|
|
4331
|
-
* sidebarFooter: Selector for the sidebar footer.
|
|
4332
|
-
*
|
|
4333
|
-
* contextualSideBar: Selector for the contextual sidebar.
|
|
4334
|
-
*
|
|
4335
|
-
*/
|
|
4336
|
-
declare const ZAPIER_SELECTORS: {
|
|
4337
|
-
zapTriggerStep: (zapId: string) => string;
|
|
4338
|
-
zapAccountSubstep: string;
|
|
4339
|
-
zapOpenSubstepContainer: string;
|
|
4340
|
-
modal: string;
|
|
4341
|
-
fmPrettytext: string;
|
|
4342
|
-
spinner: string;
|
|
4343
|
-
skeletonBlock: string;
|
|
4344
|
-
accountsLoader: string;
|
|
4345
|
-
floatingBox: string;
|
|
4346
|
-
connection: string;
|
|
4347
|
-
deleteConnectionModal: string;
|
|
4348
|
-
deleteConnectionDropdownButton: string;
|
|
4349
|
-
usageAmounts: string;
|
|
4350
|
-
universalSidebar: string;
|
|
4351
|
-
sidebarFooter: string;
|
|
4352
|
-
contextualSideBar: string;
|
|
4353
|
-
iconContainer: string;
|
|
4354
|
-
};
|
|
4355
|
-
/**
|
|
4356
|
-
*
|
|
4357
|
-
* Selectors for embed components.
|
|
4358
|
-
*
|
|
4359
|
-
* @example
|
|
4360
|
-
*
|
|
4361
|
-
* import { EMBED_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4362
|
-
* @endexample
|
|
4363
|
-
* iframe(appName: string): Method that generates a selector for the iframe based on the app name.
|
|
4364
|
-
*
|
|
4365
|
-
* modal(appName: string): Method that generates a selector for the modal based on the app name.
|
|
4366
|
-
*
|
|
4367
|
-
* close(appName: string): Method that generates a selector for the close button based on the app name.
|
|
4368
|
-
*
|
|
4369
|
-
* loader(appName: string): Method that generates a selector for the loader based on the app name.
|
|
4370
|
-
*
|
|
4371
|
-
* inlineHeightInput: Selector for the inline height input field.
|
|
4372
|
-
*
|
|
4373
|
-
* inlineWidthInput: Selector for the inline width input field.
|
|
4374
|
-
*
|
|
4375
|
-
* inlineElementIdInput: Selector for the inline element ID input field.
|
|
4376
|
-
*
|
|
4377
|
-
* codeBlock: Selector for the code block.
|
|
4378
|
-
*
|
|
4379
|
-
* previewTab: Selector for the preview tab.
|
|
4380
|
-
*
|
|
4381
|
-
* htmlTab: Selector for the HTML tab.
|
|
4382
|
-
*
|
|
4383
|
-
* buttonTextInput: Selector for the button text input field.
|
|
4384
|
-
*
|
|
4385
|
-
* buttonPositionSelectContainer: Selector for the button position select container.
|
|
4386
|
-
*
|
|
4387
|
-
* buttonPositionSelectMenu: Selector for the button position select menu.
|
|
4388
|
-
*
|
|
4389
|
-
* buttonColorLabel: Selector for the button color label.
|
|
4390
|
-
*
|
|
4391
|
-
* buttonTextColorLabel: Selector for the button text color label.
|
|
4392
|
-
*
|
|
4393
|
-
* colorPickerTarget: Selector for the color picker target.
|
|
4394
|
-
*
|
|
4395
|
-
* colorpickerEditableInput: Selector for the color picker editable input.
|
|
4396
|
-
*
|
|
4397
|
-
* showIconCheckbox: Selector for the show icon checkbox.
|
|
4398
|
-
*
|
|
4399
|
-
* elementIdInput: Selector for the element ID input field.
|
|
4400
|
-
*
|
|
4401
|
-
* previewElementPopupButton: Selector for the preview element popup button.
|
|
4402
|
-
*
|
|
4403
|
-
*/
|
|
4404
|
-
declare const EMBED_SELECTORS: {
|
|
4405
|
-
iframe: (appName: string) => string;
|
|
4406
|
-
modal: (appName: string) => string;
|
|
4407
|
-
close: (appName: string) => string;
|
|
4408
|
-
loader: (appName: string) => string;
|
|
4409
|
-
inlineHeightInput: string;
|
|
4410
|
-
inlineWidthInput: string;
|
|
4411
|
-
inlineElementIdInput: string;
|
|
4412
|
-
codeBlock: string;
|
|
4413
|
-
previewTab: string;
|
|
4414
|
-
htmlTab: string;
|
|
4415
|
-
buttonTextInput: string;
|
|
4416
|
-
buttonPositionSelectContainer: string;
|
|
4417
|
-
buttonPositionSelectMenu: string;
|
|
4418
|
-
buttonColorLabel: string;
|
|
4419
|
-
buttonTextColorLabel: string;
|
|
4420
|
-
colorPickerTarget: string;
|
|
4421
|
-
colorpickerEditableInput: string;
|
|
4422
|
-
showIconCheckbox: string;
|
|
4423
|
-
elementIdInput: string;
|
|
4424
|
-
previewElementPopupButton: string;
|
|
4425
|
-
};
|
|
4426
|
-
declare const NEETO_IMAGE_UPLOADER_SELECTORS: {
|
|
4427
|
-
imageUploaderWrapper: string;
|
|
4428
|
-
browseText: string;
|
|
4429
|
-
fileInput: string;
|
|
4430
|
-
uploadedImage: string;
|
|
4431
|
-
uploadNewAsset: string;
|
|
4432
|
-
basicImageUploaderRemoveButton: string;
|
|
4433
|
-
removeButton: string;
|
|
4434
|
-
openImageLibraryButton: string;
|
|
4435
|
-
openAssetLibraryButton: string;
|
|
4436
|
-
imageEditorBackButton: string;
|
|
4437
|
-
aspectRatioWidthInput: string;
|
|
4438
|
-
aspectRatioHeightInput: string;
|
|
4439
|
-
cropSubmitButton: string;
|
|
4440
|
-
restrictionMessage: string;
|
|
4441
|
-
progressBar: string;
|
|
4442
|
-
myImagesTab: string;
|
|
4443
|
-
unsplashTab: string;
|
|
4444
|
-
nthLibraryImage: (index: number) => string;
|
|
4445
|
-
nthUnsplashImage: (index: number) => string;
|
|
4446
|
-
unsplashSearchInput: string;
|
|
4447
|
-
imageEditorUploadedImage: string;
|
|
4448
|
-
selectOriginalImageSwitch: string;
|
|
4449
|
-
lockAspectRatioSwitch: string;
|
|
4450
|
-
widthInputField: string;
|
|
4451
|
-
heightInputField: string;
|
|
4452
|
-
};
|
|
4453
|
-
/**
|
|
4454
|
-
*
|
|
4455
|
-
* Selectors for thank you page components.
|
|
4456
|
-
*
|
|
4457
|
-
* @example
|
|
4458
|
-
*
|
|
4459
|
-
* import { THANK_YOU_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4460
|
-
* @endexample
|
|
4461
|
-
* settingsLink: Selector for the settings link.
|
|
4462
|
-
*
|
|
4463
|
-
* showSocialShareIconsSwitch: Selector for the show social share icon switch.
|
|
4464
|
-
*
|
|
4465
|
-
* showLinkToSubmitAnotherResponseSwitch: Selector for the show link to submit another response switch.
|
|
4466
|
-
*
|
|
4467
|
-
* submitAnotherResponseLinkTextInputField: Selector for the submit another response link text input field.
|
|
4468
|
-
*
|
|
4469
|
-
* previewEditorContent: Selector for the preview editor content.
|
|
4470
|
-
*
|
|
4471
|
-
* redirectToExternalLinkRadioLabel: Selector for the redirect to external link radio label.
|
|
4472
|
-
*
|
|
4473
|
-
* saveChangesButton: Selector for the save changes button.
|
|
4474
|
-
*
|
|
4475
|
-
* cancelButton: Selector for the cancel button.
|
|
4476
|
-
*
|
|
4477
|
-
* thankYouPageImage: Selector for the thank you page image.
|
|
4478
|
-
*
|
|
4479
|
-
* thankYouPageContent: Selector for the thank you page content.
|
|
4480
|
-
*
|
|
4481
|
-
* thankYouPageResubmitLink: Selector for the thank you page resubmit link.
|
|
4482
|
-
*
|
|
4483
|
-
* linkInputField: Selector for the link input field.
|
|
4484
|
-
*
|
|
4485
|
-
*/
|
|
4486
|
-
declare const THANK_YOU_SELECTORS: {
|
|
4487
|
-
settingsLink: string;
|
|
4488
|
-
showSocialShareIconsSwitch: string;
|
|
4489
|
-
showLinkToSubmitAnotherResponseSwitch: string;
|
|
4490
|
-
submitAnotherResponseLinkTextInputField: string;
|
|
4491
|
-
previewEditorContent: string;
|
|
4492
|
-
redirectToExternalLinkRadioLabel: () => string;
|
|
4493
|
-
thankYouConfigurationLabel: (label?: string) => string;
|
|
4494
|
-
saveChangesButton: string;
|
|
4495
|
-
cancelButton: string;
|
|
4496
|
-
thankYouPageImage: string;
|
|
4497
|
-
thankYouPageMessage: string;
|
|
4498
|
-
thankYouPageContent: string;
|
|
4499
|
-
thankYouPageResubmitLink: string;
|
|
4500
|
-
linkInputField: string;
|
|
4501
|
-
previewImage: string;
|
|
4502
|
-
};
|
|
4503
|
-
/**
|
|
4504
|
-
*
|
|
4505
|
-
* Selectors for tab components.
|
|
4506
|
-
*
|
|
4507
|
-
* @example
|
|
4508
|
-
*
|
|
4509
|
-
* import { TAB_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4510
|
-
* @endexample
|
|
4511
|
-
* configureTab: Selector for the configure tab.
|
|
4512
|
-
*
|
|
4513
|
-
* buildTab: Selector for the build tab.
|
|
4514
|
-
*
|
|
4515
|
-
* themeTab: Selector for the theme tab.
|
|
4516
|
-
*
|
|
4517
|
-
* shareTab: Selector for the share tab.
|
|
4518
|
-
*
|
|
4519
|
-
* submissionsTab: Selector for the submissions tab.
|
|
4520
|
-
*
|
|
4521
|
-
* paymentsTab: Selector for the payments tab.
|
|
4522
|
-
*
|
|
4523
|
-
*/
|
|
4524
|
-
declare const TAB_SELECTORS: {
|
|
4525
|
-
configureTab: string;
|
|
4526
|
-
buildTab: string;
|
|
4527
|
-
themeTab: string;
|
|
4528
|
-
shareTab: string;
|
|
4529
|
-
submissionsTab: string;
|
|
4530
|
-
paymentsTab: string;
|
|
4531
|
-
};
|
|
4532
|
-
/**
|
|
4533
|
-
*
|
|
4534
|
-
* newConversation: Text for initiating a new conversation.
|
|
4535
|
-
*
|
|
4536
|
-
* welcomeChatBubble: Text for the welcome message displayed in the chat bubble.
|
|
4537
|
-
*
|
|
4538
|
-
*/
|
|
4539
|
-
declare const CHAT_WIDGET_TEXTS: {
|
|
4540
|
-
newConversation: string;
|
|
4541
|
-
welcomeChatBubble: string;
|
|
4542
|
-
preChatQuestions: string;
|
|
4543
|
-
};
|
|
4544
|
-
/**
|
|
4545
|
-
*
|
|
4546
|
-
* agent: Text representing an agent.
|
|
4547
|
-
*
|
|
4548
|
-
*/
|
|
4549
|
-
declare const MEMBER_TEXTS: {
|
|
4550
|
-
agent: string;
|
|
4551
|
-
admin: string;
|
|
4552
|
-
selectAll: string;
|
|
4553
|
-
hide: string;
|
|
4554
|
-
show: string;
|
|
4555
|
-
};
|
|
4556
|
-
/**
|
|
4557
|
-
*
|
|
4558
|
-
* connectHeader(integration): Method to generate text for connecting an integration account.
|
|
4559
|
-
*
|
|
4560
|
-
* connectedHeader(integration): Method to generate text indicating a successful connection to an integration.
|
|
4561
|
-
*
|
|
4562
|
-
*/
|
|
4563
|
-
declare const INTEGRATIONS_TEXTS: {
|
|
4564
|
-
connectHeader: (integration: string) => string;
|
|
4565
|
-
connectedHeader: (integration: string) => string;
|
|
4566
|
-
};
|
|
4567
|
-
/**
|
|
4568
|
-
*
|
|
4569
|
-
* signOut: Text for signing out.
|
|
4570
|
-
*
|
|
4571
|
-
* allow: Text for allowing.
|
|
4572
|
-
*
|
|
4573
|
-
* loadingThread: Text indicating thread loading.
|
|
4574
|
-
*
|
|
4575
|
-
* name: Text for name.
|
|
4576
|
-
*
|
|
4577
|
-
* deleteThisChannel: Text for deleting a channel.
|
|
4578
|
-
*
|
|
4579
|
-
* permanentlyDeleteTheChannel: Text for confirming permanent deletion of a channel.
|
|
4580
|
-
*
|
|
4581
|
-
* deleteChannel: Text for deleting a channel.
|
|
4582
|
-
*
|
|
4583
|
-
*/
|
|
4584
|
-
declare const SLACK_WEB_TEXTS: {
|
|
4585
|
-
signOut: string;
|
|
4586
|
-
allow: string;
|
|
4587
|
-
loadingThread: string;
|
|
4588
|
-
name: string;
|
|
4589
|
-
deleteThisChannel: string;
|
|
4590
|
-
permanentlyDeleteTheChannel: string;
|
|
4591
|
-
deleteChannel: string;
|
|
4592
|
-
};
|
|
4593
|
-
/**
|
|
4594
|
-
*
|
|
4595
|
-
* account: Text for account.
|
|
4596
|
-
*
|
|
4597
|
-
* email: Text for email.
|
|
4598
|
-
*
|
|
4599
|
-
* continue: Text for continue.
|
|
4600
|
-
*
|
|
4601
|
-
* statusLabel: Text for status label.
|
|
4818
|
+
* menuItemButton: Selector for the menu item button.
|
|
4602
4819
|
*
|
|
4603
|
-
*
|
|
4820
|
+
* threadsFlexpane: Selector for the threads flexpane.
|
|
4604
4821
|
*
|
|
4605
|
-
*
|
|
4822
|
+
* replyBar: Selector for the reply bar.
|
|
4606
4823
|
*
|
|
4607
|
-
*
|
|
4824
|
+
* markdownElement: Selector for the markdown element.
|
|
4608
4825
|
*
|
|
4609
|
-
*
|
|
4826
|
+
* virtualListItem: Selector for the virtual list item.
|
|
4610
4827
|
*
|
|
4611
|
-
*
|
|
4828
|
+
* channelItems: Selector for channel items.
|
|
4612
4829
|
*
|
|
4613
|
-
|
|
4830
|
+
*/
|
|
4831
|
+
declare const SLACK_SELECTORS: {
|
|
4832
|
+
messageContainer: string;
|
|
4833
|
+
loginEmail: string;
|
|
4834
|
+
loginPassword: string;
|
|
4835
|
+
signInButton: string;
|
|
4836
|
+
teamPicketButtonContent: string;
|
|
4837
|
+
redirectOpenInBrowser: string;
|
|
4838
|
+
workspaceActionsButton: string;
|
|
4839
|
+
teamMenuTrigger: string;
|
|
4840
|
+
menuItemButton: string;
|
|
4841
|
+
threadsFlexpane: string;
|
|
4842
|
+
replyBar: string;
|
|
4843
|
+
markdownElement: string;
|
|
4844
|
+
virtualListItem: string;
|
|
4845
|
+
channelItems: string;
|
|
4846
|
+
};
|
|
4847
|
+
/**
|
|
4614
4848
|
*
|
|
4615
|
-
*
|
|
4849
|
+
* Selectors for Slack components using 'data-qa' attributes.
|
|
4616
4850
|
*
|
|
4617
|
-
*
|
|
4851
|
+
* @example
|
|
4618
4852
|
*
|
|
4619
|
-
*
|
|
4853
|
+
* import { SLACK_DATA_QA_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4854
|
+
* @endexample
|
|
4855
|
+
* sectionHeadingButton: Selector for the section heading button.
|
|
4620
4856
|
*
|
|
4621
|
-
*
|
|
4857
|
+
* channelSectionSubmenuCreate: Selector for the channel section submenu create button.
|
|
4622
4858
|
*
|
|
4623
|
-
*
|
|
4859
|
+
* channelSectionMenuCreateChannel: Selector for the channel section menu create channel button.
|
|
4624
4860
|
*
|
|
4625
|
-
*
|
|
4861
|
+
* skModalContent: Selector for the modal content.
|
|
4626
4862
|
*
|
|
4627
|
-
*
|
|
4863
|
+
* infiniteSpinner: Selector for the infinite spinner.
|
|
4628
4864
|
*
|
|
4629
|
-
*
|
|
4865
|
+
* channelNameOptionsList: Selector for the channel name options list.
|
|
4630
4866
|
*
|
|
4631
|
-
*
|
|
4867
|
+
* channelNameInput: Selector for the channel name input.
|
|
4632
4868
|
*
|
|
4633
|
-
*
|
|
4869
|
+
* createChannelNextButton: Selector for the create channel next button.
|
|
4634
4870
|
*
|
|
4635
|
-
*
|
|
4871
|
+
* inviteToWorkspaceSkipButton: Selector for the invite to workspace skip button.
|
|
4636
4872
|
*
|
|
4637
|
-
*
|
|
4873
|
+
* menuItems: Selector for the menu items.
|
|
4638
4874
|
*
|
|
4639
|
-
*
|
|
4875
|
+
* channelDetailsModal: Selector for the channel details modal.
|
|
4640
4876
|
*
|
|
4641
|
-
*
|
|
4877
|
+
* channelDetailsSettingsTab: Selector for the channel details settings tab.
|
|
4642
4878
|
*
|
|
4643
4879
|
*/
|
|
4644
|
-
declare const
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
apiKey: string;
|
|
4661
|
-
publishingZapHeading: string;
|
|
4662
|
-
connectionListMenu: string;
|
|
4663
|
-
usageRegExp: string;
|
|
4664
|
-
trialEndsRegExp: string;
|
|
4665
|
-
testCurrentlyInQueue: string;
|
|
4666
|
-
welcomeText: (zapierLoginEmail: string) => string;
|
|
4667
|
-
connectStagingApp: (appName: string) => string;
|
|
4668
|
-
zapierWorkflowTriggered: string;
|
|
4669
|
-
confirmPublishing: string;
|
|
4880
|
+
declare const SLACK_DATA_QA_SELECTORS: {
|
|
4881
|
+
sectionHeadingButton: string;
|
|
4882
|
+
coachMarkCloseButton: string;
|
|
4883
|
+
messagePaneBannerCloseIcon: string;
|
|
4884
|
+
permissionBannerCloseIcon: string;
|
|
4885
|
+
channelSectionSubmenuCreate: string;
|
|
4886
|
+
channelSectionMenuCreateChannel: string;
|
|
4887
|
+
skModalContent: string;
|
|
4888
|
+
infiniteSpinner: string;
|
|
4889
|
+
channelNameOptionsList: string;
|
|
4890
|
+
channelNameInput: string;
|
|
4891
|
+
createChannelNextButton: string;
|
|
4892
|
+
inviteToWorkspaceSkipButton: string;
|
|
4893
|
+
menuItems: string;
|
|
4894
|
+
channelDetailsModal: string;
|
|
4895
|
+
channelDetailsSettingsTab: string;
|
|
4670
4896
|
};
|
|
4671
4897
|
/**
|
|
4672
4898
|
*
|
|
4673
|
-
*
|
|
4899
|
+
* Selectors for webhook components.
|
|
4674
4900
|
*
|
|
4675
|
-
|
|
4676
|
-
declare const TOASTR_MESSAGES: {
|
|
4677
|
-
zapierApiKeyGenerated: string;
|
|
4678
|
-
};
|
|
4679
|
-
/**
|
|
4901
|
+
* @example
|
|
4680
4902
|
*
|
|
4681
|
-
*
|
|
4903
|
+
* import { WEBHOOK_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4904
|
+
* @endexample
|
|
4905
|
+
* addNewWebhook: Selector for the "Add New Webhook" button.
|
|
4682
4906
|
*
|
|
4683
|
-
|
|
4684
|
-
declare const ZAPIER_LIMIT_EXHAUSTED_MESSAGE = "Zapier free task limit is exhausted. Test will be aborted";
|
|
4685
|
-
declare const EMOJI_LABEL = "thumbs up";
|
|
4686
|
-
declare const SELECT_COUNTRY = "Select country";
|
|
4687
|
-
declare const GOOGLE_CALENDAR_DATE_FORMAT = "YYYY/M/D";
|
|
4688
|
-
/**
|
|
4907
|
+
* endpointInputField: Selector for the endpoint input field.
|
|
4689
4908
|
*
|
|
4690
|
-
*
|
|
4909
|
+
* deliveryResponseCode: Selector for the delivery response code.
|
|
4691
4910
|
*
|
|
4692
|
-
*
|
|
4911
|
+
* deliveryRequestPayload: Selector for the delivery request payload.
|
|
4693
4912
|
*
|
|
4694
|
-
*
|
|
4913
|
+
* addSecretKey: Selector for add secret key button.
|
|
4695
4914
|
*
|
|
4696
|
-
*
|
|
4915
|
+
* newWebhookHeader: Selector for new webhook pane header.
|
|
4697
4916
|
*
|
|
4698
|
-
*
|
|
4917
|
+
* endpointInputError: Selector for endpoint input error.
|
|
4699
4918
|
*
|
|
4700
|
-
*
|
|
4919
|
+
* eventsSelectError: Selector for event select error.
|
|
4701
4920
|
*
|
|
4702
|
-
*
|
|
4921
|
+
* regenerateSecret: Selector for regenerate secret key button.
|
|
4703
4922
|
*
|
|
4704
|
-
*
|
|
4923
|
+
* deleteSecret: Selector for delete secret key button.
|
|
4705
4924
|
*
|
|
4706
|
-
|
|
4925
|
+
*/
|
|
4926
|
+
declare const WEBHOOK_SELECTORS: {
|
|
4927
|
+
addNewWebhook: string;
|
|
4928
|
+
endpointInputField: string;
|
|
4929
|
+
deliveryResponseCode: string;
|
|
4930
|
+
deliveryRequestPayload: string;
|
|
4931
|
+
addSecretKey: string;
|
|
4932
|
+
newWebhookHeader: string;
|
|
4933
|
+
endpointInputError: string;
|
|
4934
|
+
eventsSelectError: string;
|
|
4935
|
+
regenerateSecret: string;
|
|
4936
|
+
deleteSecret: string;
|
|
4937
|
+
};
|
|
4938
|
+
/**
|
|
4707
4939
|
*
|
|
4708
|
-
*
|
|
4940
|
+
* Selectors for Zapier components.
|
|
4709
4941
|
*
|
|
4710
|
-
*
|
|
4942
|
+
* @example
|
|
4711
4943
|
*
|
|
4712
|
-
*
|
|
4944
|
+
* import { ZAPIER_SELECTORS } from "@bigbinary/neeto-playwright-commons";
|
|
4945
|
+
* @endexample
|
|
4946
|
+
* 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.
|
|
4713
4947
|
*
|
|
4714
|
-
*
|
|
4948
|
+
* zapAccountSubstep: Selector for the Zap account substep.
|
|
4715
4949
|
*
|
|
4716
|
-
*
|
|
4950
|
+
* zapOpenSubstepContainer: Selector for the container to open substeps.
|
|
4717
4951
|
*
|
|
4718
|
-
*
|
|
4952
|
+
* modal: Selector for modals.
|
|
4719
4953
|
*
|
|
4720
|
-
*
|
|
4954
|
+
* fmPrettytext: Selector for pretty text.
|
|
4721
4955
|
*
|
|
4722
|
-
*
|
|
4956
|
+
* spinner: Selector for spinners.
|
|
4723
4957
|
*
|
|
4724
|
-
*
|
|
4958
|
+
* skeletonBlock: Selector for skeleton blocks.
|
|
4725
4959
|
*
|
|
4726
|
-
*
|
|
4960
|
+
* accountsLoader: Selector for accounts loader.
|
|
4727
4961
|
*
|
|
4728
|
-
*
|
|
4962
|
+
* floatingBox: Selector for floating boxes.
|
|
4729
4963
|
*
|
|
4730
|
-
*
|
|
4964
|
+
* connection: Selector for connections.
|
|
4731
4965
|
*
|
|
4732
|
-
*
|
|
4966
|
+
* deleteConnectionModal: Selector for the delete connection modal.
|
|
4733
4967
|
*
|
|
4734
|
-
*
|
|
4968
|
+
* deleteConnectionDropdownButton: Selector for the dropdown button to delete a connection.
|
|
4969
|
+
*
|
|
4970
|
+
* usageAmounts: Selector for usage amounts.
|
|
4971
|
+
*
|
|
4972
|
+
* universalSidebar: Selector for the universal sidebar.
|
|
4973
|
+
*
|
|
4974
|
+
* sidebarFooter: Selector for the sidebar footer.
|
|
4975
|
+
*
|
|
4976
|
+
* contextualSideBar: Selector for the contextual sidebar.
|
|
4735
4977
|
*
|
|
4736
4978
|
*/
|
|
4737
|
-
declare const
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
confirm: string;
|
|
4756
|
-
cancel: string;
|
|
4757
|
-
deleteConnections: string;
|
|
4758
|
-
noLongerConnected: string;
|
|
4759
|
-
backToSafety: string;
|
|
4760
|
-
neetoAutomation: string;
|
|
4761
|
-
};
|
|
4762
|
-
declare const ENGAGE_TEXTS: {
|
|
4763
|
-
subscribe: string;
|
|
4764
|
-
};
|
|
4765
|
-
declare const DESCRIPTION_EDITOR_TEXTS: {
|
|
4766
|
-
fontSize: string;
|
|
4767
|
-
paragraph: string;
|
|
4768
|
-
normalText: string;
|
|
4769
|
-
pasteLink: string;
|
|
4770
|
-
invalidURLError: string;
|
|
4771
|
-
pasteURL: string;
|
|
4772
|
-
delete: string;
|
|
4773
|
-
linkTag: string;
|
|
4774
|
-
link: string;
|
|
4775
|
-
cannedResponseHeader: string;
|
|
4776
|
-
paragraphOption: string;
|
|
4777
|
-
search: string;
|
|
4778
|
-
emoji: string;
|
|
4779
|
-
};
|
|
4780
|
-
declare const EXPANDED_FONT_SIZE: {
|
|
4781
|
-
h1: string;
|
|
4782
|
-
h2: string;
|
|
4783
|
-
h3: string;
|
|
4784
|
-
h4: string;
|
|
4785
|
-
h5: string;
|
|
4786
|
-
};
|
|
4787
|
-
declare const TEXT_MODIFIER_TAGS: {
|
|
4788
|
-
underline: string;
|
|
4789
|
-
strike: string;
|
|
4790
|
-
highlight: string;
|
|
4791
|
-
};
|
|
4792
|
-
declare const TEXT_MODIFIER_ROLES: {
|
|
4793
|
-
bold: string;
|
|
4794
|
-
italic: string;
|
|
4795
|
-
code: string;
|
|
4796
|
-
blockquote: string;
|
|
4797
|
-
codeBlock: string;
|
|
4798
|
-
};
|
|
4799
|
-
declare const LIST_MODIFIER_TAGS: {
|
|
4800
|
-
bulletList: string;
|
|
4801
|
-
orderedList: string;
|
|
4979
|
+
declare const ZAPIER_SELECTORS: {
|
|
4980
|
+
zapTriggerStep: (zapId: string) => string;
|
|
4981
|
+
zapAccountSubstep: string;
|
|
4982
|
+
zapOpenSubstepContainer: string;
|
|
4983
|
+
modal: string;
|
|
4984
|
+
fmPrettytext: string;
|
|
4985
|
+
spinner: string;
|
|
4986
|
+
skeletonBlock: string;
|
|
4987
|
+
accountsLoader: string;
|
|
4988
|
+
floatingBox: string;
|
|
4989
|
+
connection: string;
|
|
4990
|
+
deleteConnectionModal: string;
|
|
4991
|
+
deleteConnectionDropdownButton: string;
|
|
4992
|
+
usageAmounts: string;
|
|
4993
|
+
universalSidebar: string;
|
|
4994
|
+
sidebarFooter: string;
|
|
4995
|
+
contextualSideBar: string;
|
|
4996
|
+
iconContainer: string;
|
|
4802
4997
|
};
|
|
4803
4998
|
/**
|
|
4804
4999
|
*
|
|
@@ -5275,7 +5470,7 @@ declare const memberUtils: {
|
|
|
5275
5470
|
deactivateMemberViaRequest: ({
|
|
5276
5471
|
email,
|
|
5277
5472
|
neetoPlaywrightUtilities
|
|
5278
|
-
}: DeactiveMemberProps) => Promise<
|
|
5473
|
+
}: DeactiveMemberProps) => Promise<APIResponse | undefined>;
|
|
5279
5474
|
generateRandomTeamMembers: ({
|
|
5280
5475
|
count,
|
|
5281
5476
|
role
|
|
@@ -5299,6 +5494,10 @@ interface ToggleColumnCheckboxAndVerifyVisibilityProps {
|
|
|
5299
5494
|
tableColumns: string[];
|
|
5300
5495
|
shouldBeChecked: boolean;
|
|
5301
5496
|
}
|
|
5497
|
+
interface VerifyTableColumnsExistenceProps {
|
|
5498
|
+
page: Page;
|
|
5499
|
+
columnNames: string[];
|
|
5500
|
+
}
|
|
5302
5501
|
declare const tableUtils: {
|
|
5303
5502
|
/**
|
|
5304
5503
|
*
|
|
@@ -5321,10 +5520,7 @@ declare const tableUtils: {
|
|
|
5321
5520
|
verifyTableColumnsExistence: ({
|
|
5322
5521
|
page,
|
|
5323
5522
|
columnNames
|
|
5324
|
-
}:
|
|
5325
|
-
page: Page;
|
|
5326
|
-
columnNames: string[];
|
|
5327
|
-
}) => Promise<void>;
|
|
5523
|
+
}: VerifyTableColumnsExistenceProps) => Promise<void>;
|
|
5328
5524
|
/**
|
|
5329
5525
|
*
|
|
5330
5526
|
* Used to check if the provided column matches the given visibility option. It takes the following parameters:
|
|
@@ -5672,4 +5868,4 @@ interface Overrides {
|
|
|
5672
5868
|
* @endexample
|
|
5673
5869
|
*/
|
|
5674
5870
|
declare const definePlaywrightConfig: (overrides: Overrides) => _playwright_test.PlaywrightTestConfig<{}, {}>;
|
|
5675
|
-
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 };
|
|
5871
|
+
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, Member, 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 };
|