@clerk/testing 2.0.0-snapshot.v07d9254 → 2.0.0-snapshot.v20251203152900
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/README.md +11 -41
- package/cypress/package.json +5 -0
- package/dist/chunk-JDNEQWYI.mjs +10 -0
- package/dist/chunk-JDNEQWYI.mjs.map +1 -0
- package/dist/chunk-M5YIJ3SE.mjs +2 -0
- package/dist/chunk-M5YIJ3SE.mjs.map +1 -0
- package/dist/chunk-YFUXUEZ5.mjs +2 -0
- package/dist/chunk-YFUXUEZ5.mjs.map +1 -0
- package/dist/cypress/index.js +10 -0
- package/dist/cypress/index.js.map +1 -0
- package/dist/cypress/index.mjs +2 -0
- package/dist/cypress/index.mjs.map +1 -0
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -0
- package/dist/playwright/index.js +10 -0
- package/dist/playwright/index.js.map +1 -0
- package/dist/playwright/index.mjs +2 -0
- package/dist/playwright/index.mjs.map +1 -0
- package/dist/playwright/unstable/index.js +2 -0
- package/dist/playwright/unstable/index.js.map +1 -0
- package/dist/playwright/unstable/index.mjs +2 -0
- package/dist/playwright/unstable/index.mjs.map +1 -0
- package/dist/types/common/constants.d.ts +2 -0
- package/dist/types/common/constants.d.ts.map +1 -0
- package/dist/types/common/errors.d.ts +2 -0
- package/dist/types/common/errors.d.ts.map +1 -0
- package/dist/types/common/helpers-utils.d.ts +3 -0
- package/dist/types/common/helpers-utils.d.ts.map +1 -0
- package/dist/types/common/index.d.ts +6 -0
- package/dist/types/common/index.d.ts.map +1 -0
- package/dist/types/common/setup.d.ts +3 -0
- package/dist/types/common/setup.d.ts.map +1 -0
- package/dist/types/common/types.d.ts +30 -0
- package/dist/types/common/types.d.ts.map +1 -0
- package/dist/types/cypress/custom-commands.d.ts +60 -0
- package/dist/types/cypress/custom-commands.d.ts.map +1 -0
- package/dist/types/cypress/index.d.ts +4 -0
- package/dist/types/cypress/index.d.ts.map +1 -0
- package/dist/types/cypress/setup.d.ts +23 -0
- package/dist/types/cypress/setup.d.ts.map +1 -0
- package/dist/types/cypress/setupClerkTestingToken.d.ts +22 -0
- package/dist/types/cypress/setupClerkTestingToken.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/playwright/helpers.d.ts +101 -0
- package/dist/types/playwright/helpers.d.ts.map +1 -0
- package/dist/types/playwright/index.d.ts +4 -0
- package/dist/types/playwright/index.d.ts.map +1 -0
- package/dist/types/{setup.d.ts → playwright/setup.d.ts} +2 -7
- package/dist/types/playwright/setup.d.ts.map +1 -0
- package/dist/types/playwright/setupClerkTestingToken.d.ts +28 -0
- package/dist/types/playwright/setupClerkTestingToken.d.ts.map +1 -0
- package/dist/types/playwright/unstable/index.d.ts +5 -0
- package/dist/types/playwright/unstable/index.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/apiKeys.d.ts +52 -0
- package/dist/types/playwright/unstable/page-objects/apiKeys.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/app.d.ts +28 -0
- package/dist/types/playwright/unstable/page-objects/app.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/checkout.d.ts +56 -0
- package/dist/types/playwright/unstable/page-objects/checkout.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/clerk.d.ts +12 -0
- package/dist/types/playwright/unstable/page-objects/clerk.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/common.d.ts +29 -0
- package/dist/types/playwright/unstable/page-objects/common.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/expect.d.ts +14 -0
- package/dist/types/playwright/unstable/page-objects/expect.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/impersonation.d.ts +8 -0
- package/dist/types/playwright/unstable/page-objects/impersonation.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/index.d.ts +626 -0
- package/dist/types/playwright/unstable/page-objects/index.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/keylessPopover.d.ts +13 -0
- package/dist/types/playwright/unstable/page-objects/keylessPopover.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/organizationSwitcher.d.ts +43 -0
- package/dist/types/playwright/unstable/page-objects/organizationSwitcher.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/planDetails.d.ts +39 -0
- package/dist/types/playwright/unstable/page-objects/planDetails.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/pricingTable.d.ts +55 -0
- package/dist/types/playwright/unstable/page-objects/pricingTable.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/sessionTask.d.ts +45 -0
- package/dist/types/playwright/unstable/page-objects/sessionTask.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/signIn.d.ts +61 -0
- package/dist/types/playwright/unstable/page-objects/signIn.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/signUp.d.ts +57 -0
- package/dist/types/playwright/unstable/page-objects/signUp.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/subscriptionDetails.d.ts +41 -0
- package/dist/types/playwright/unstable/page-objects/subscriptionDetails.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/testingToken.d.ts +7 -0
- package/dist/types/playwright/unstable/page-objects/testingToken.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/userAvatar.d.ts +11 -0
- package/dist/types/playwright/unstable/page-objects/userAvatar.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/userButton.d.ts +14 -0
- package/dist/types/playwright/unstable/page-objects/userButton.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/userProfile.d.ts +60 -0
- package/dist/types/playwright/unstable/page-objects/userProfile.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/userVerification.d.ts +43 -0
- package/dist/types/playwright/unstable/page-objects/userVerification.d.ts.map +1 -0
- package/dist/types/playwright/unstable/page-objects/waitlist.d.ts +48 -0
- package/dist/types/playwright/unstable/page-objects/waitlist.d.ts.map +1 -0
- package/package.json +52 -23
- package/playwright/package.json +5 -0
- package/dist/esm/index.js +0 -2
- package/dist/esm/index.js.map +0 -1
- package/dist/types/setup.d.ts.map +0 -1
- package/dist/types/setupClerkTestingToken.d.ts +0 -29
- package/dist/types/setupClerkTestingToken.d.ts.map +0 -1
|
@@ -0,0 +1,626 @@
|
|
|
1
|
+
import type { Page } from '@playwright/test';
|
|
2
|
+
export declare const createPageObjects: ({ page, useTestingToken, baseURL, }: {
|
|
3
|
+
page: Page;
|
|
4
|
+
useTestingToken?: boolean;
|
|
5
|
+
baseURL?: string;
|
|
6
|
+
}) => {
|
|
7
|
+
page: Page & {
|
|
8
|
+
goToAppHome: () => Promise<void>;
|
|
9
|
+
goToRelative: (path: string, opts?: {
|
|
10
|
+
waitUntil?: any;
|
|
11
|
+
searchParams?: URLSearchParams;
|
|
12
|
+
timeout?: number;
|
|
13
|
+
}) => Promise<import("@playwright/test").Response | null>;
|
|
14
|
+
waitForClerkJsLoaded: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
15
|
+
signOut: () => Promise<import("@playwright/test").JSHandle<void>>;
|
|
16
|
+
waitForClerkComponentMounted: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
17
|
+
waitForAppUrl: (relativePath: string) => Promise<void>;
|
|
18
|
+
cookies: () => Promise<Map<string, import("@playwright/test").Cookie> & {
|
|
19
|
+
raw: () => import("@playwright/test").Cookie[];
|
|
20
|
+
}>;
|
|
21
|
+
};
|
|
22
|
+
clerk: {
|
|
23
|
+
toBeLoaded: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
24
|
+
getClientSideActor: () => Promise<import("@clerk/shared/types").ActClaim | null | undefined>;
|
|
25
|
+
toBeLoading: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
26
|
+
toBeReady: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
27
|
+
toBeDegraded: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
28
|
+
getClientSideUser: () => Promise<import("@clerk/shared/types").UserResource | null | undefined>;
|
|
29
|
+
};
|
|
30
|
+
checkout: {
|
|
31
|
+
waitForMounted: (selector?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
32
|
+
closeDrawer: () => Promise<void>;
|
|
33
|
+
fillTestCard: () => Promise<void>;
|
|
34
|
+
fillCard: (card: {
|
|
35
|
+
number: string;
|
|
36
|
+
expiration: string;
|
|
37
|
+
cvc: string;
|
|
38
|
+
country: string;
|
|
39
|
+
zip: string;
|
|
40
|
+
}) => Promise<void>;
|
|
41
|
+
waitForStripeElements: ({ state }?: {
|
|
42
|
+
state?: "visible" | "hidden";
|
|
43
|
+
}) => Promise<void>;
|
|
44
|
+
clickPayOrSubscribe: () => Promise<void>;
|
|
45
|
+
waitForSubscribeButton: () => Promise<void>;
|
|
46
|
+
confirmAndContinue: () => Promise<void>;
|
|
47
|
+
clickAddPaymentMethod: () => Promise<void>;
|
|
48
|
+
clickPaymentMethods: () => Promise<void>;
|
|
49
|
+
root: import("@playwright/test").Locator;
|
|
50
|
+
continue: () => Promise<void>;
|
|
51
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
52
|
+
setPassword: (val: string) => Promise<void>;
|
|
53
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
54
|
+
enterOtpCode: (code: string, opts?: {
|
|
55
|
+
name?: string;
|
|
56
|
+
awaitRequests?: boolean;
|
|
57
|
+
awaitPrepare?: boolean;
|
|
58
|
+
awaitAttempt?: boolean;
|
|
59
|
+
}) => Promise<void>;
|
|
60
|
+
enterTestOtpCode: (opts?: {
|
|
61
|
+
name?: string;
|
|
62
|
+
awaitRequests?: boolean;
|
|
63
|
+
awaitPrepare?: boolean;
|
|
64
|
+
awaitAttempt?: boolean;
|
|
65
|
+
}) => Promise<void>;
|
|
66
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
67
|
+
name?: string;
|
|
68
|
+
awaitRequests?: boolean;
|
|
69
|
+
awaitPrepare?: boolean;
|
|
70
|
+
awaitAttempt?: boolean;
|
|
71
|
+
}, "name">) => Promise<void>;
|
|
72
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
73
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
74
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
75
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
76
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
77
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
78
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
79
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
80
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
81
|
+
};
|
|
82
|
+
expect: {
|
|
83
|
+
toBeHandshake: (res: import("@playwright/test").Response) => Promise<void>;
|
|
84
|
+
toBeSignedOut: (args?: {
|
|
85
|
+
timeOut: number;
|
|
86
|
+
}) => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
87
|
+
toBeSignedIn: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
88
|
+
toBeSignedInAsActor: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
89
|
+
toHaveResolvedTask: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
90
|
+
};
|
|
91
|
+
impersonation: {
|
|
92
|
+
waitForMounted: (selector?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
93
|
+
getSignOutLink: () => import("@playwright/test").Locator;
|
|
94
|
+
};
|
|
95
|
+
keylessPopover: {
|
|
96
|
+
waitForMounted: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
97
|
+
waitForUnmounted: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
98
|
+
isExpanded: () => Promise<boolean>;
|
|
99
|
+
toggle: () => Promise<void>;
|
|
100
|
+
promptsToClaim: () => import("@playwright/test").Locator;
|
|
101
|
+
promptToUseClaimedKeys: () => import("@playwright/test").Locator;
|
|
102
|
+
promptToDismiss: () => import("@playwright/test").Locator;
|
|
103
|
+
};
|
|
104
|
+
organizationSwitcher: {
|
|
105
|
+
goTo: (relativePath?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
106
|
+
waitForMounted: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
107
|
+
expectNoOrganizationSelected: () => Promise<void>;
|
|
108
|
+
expectPersonalAccount: () => Promise<void>;
|
|
109
|
+
toggleTrigger: () => Promise<void>;
|
|
110
|
+
waitForAnOrganizationToSelected: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
111
|
+
continue: () => Promise<void>;
|
|
112
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
113
|
+
setPassword: (val: string) => Promise<void>;
|
|
114
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
115
|
+
enterOtpCode: (code: string, opts?: {
|
|
116
|
+
name?: string;
|
|
117
|
+
awaitRequests?: boolean;
|
|
118
|
+
awaitPrepare?: boolean;
|
|
119
|
+
awaitAttempt?: boolean;
|
|
120
|
+
}) => Promise<void>;
|
|
121
|
+
enterTestOtpCode: (opts?: {
|
|
122
|
+
name?: string;
|
|
123
|
+
awaitRequests?: boolean;
|
|
124
|
+
awaitPrepare?: boolean;
|
|
125
|
+
awaitAttempt?: boolean;
|
|
126
|
+
}) => Promise<void>;
|
|
127
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
128
|
+
name?: string;
|
|
129
|
+
awaitRequests?: boolean;
|
|
130
|
+
awaitPrepare?: boolean;
|
|
131
|
+
awaitAttempt?: boolean;
|
|
132
|
+
}, "name">) => Promise<void>;
|
|
133
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
134
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
135
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
136
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
137
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
138
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
139
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
140
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
141
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
142
|
+
};
|
|
143
|
+
pricingTable: {
|
|
144
|
+
waitForMounted: (selector?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
145
|
+
clickResubscribe: () => Promise<void>;
|
|
146
|
+
waitToBeActive: ({ planSlug }: {
|
|
147
|
+
planSlug: string;
|
|
148
|
+
}) => Promise<void>;
|
|
149
|
+
waitToBeFreeTrial: ({ planSlug }: {
|
|
150
|
+
planSlug: string;
|
|
151
|
+
}) => Promise<void>;
|
|
152
|
+
getPlanCardCTA: ({ planSlug }: {
|
|
153
|
+
planSlug: string;
|
|
154
|
+
}) => import("@playwright/test").Locator;
|
|
155
|
+
startCheckout: ({ planSlug, shouldSwitch, period, }: {
|
|
156
|
+
planSlug: string;
|
|
157
|
+
shouldSwitch?: boolean;
|
|
158
|
+
period?: "monthly" | "annually";
|
|
159
|
+
}) => Promise<void>;
|
|
160
|
+
continue: () => Promise<void>;
|
|
161
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
162
|
+
setPassword: (val: string) => Promise<void>;
|
|
163
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
164
|
+
enterOtpCode: (code: string, opts?: {
|
|
165
|
+
name?: string;
|
|
166
|
+
awaitRequests?: boolean;
|
|
167
|
+
awaitPrepare?: boolean;
|
|
168
|
+
awaitAttempt?: boolean;
|
|
169
|
+
}) => Promise<void>;
|
|
170
|
+
enterTestOtpCode: (opts?: {
|
|
171
|
+
name?: string;
|
|
172
|
+
awaitRequests?: boolean;
|
|
173
|
+
awaitPrepare?: boolean;
|
|
174
|
+
awaitAttempt?: boolean;
|
|
175
|
+
}) => Promise<void>;
|
|
176
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
177
|
+
name?: string;
|
|
178
|
+
awaitRequests?: boolean;
|
|
179
|
+
awaitPrepare?: boolean;
|
|
180
|
+
awaitAttempt?: boolean;
|
|
181
|
+
}, "name">) => Promise<void>;
|
|
182
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
183
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
184
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
185
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
186
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
187
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
188
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
189
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
190
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
191
|
+
};
|
|
192
|
+
sessionTask: {
|
|
193
|
+
resolveForceOrganizationSelectionTask: (fakeOrganization: {
|
|
194
|
+
name: string;
|
|
195
|
+
slug?: string;
|
|
196
|
+
}) => Promise<void>;
|
|
197
|
+
resolveResetPasswordTask: ({ newPassword, confirmPassword, }: {
|
|
198
|
+
newPassword: string;
|
|
199
|
+
confirmPassword: string;
|
|
200
|
+
}) => Promise<void>;
|
|
201
|
+
continue: () => Promise<void>;
|
|
202
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
203
|
+
setPassword: (val: string) => Promise<void>;
|
|
204
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
205
|
+
enterOtpCode: (code: string, opts?: {
|
|
206
|
+
name?: string;
|
|
207
|
+
awaitRequests?: boolean;
|
|
208
|
+
awaitPrepare?: boolean;
|
|
209
|
+
awaitAttempt?: boolean;
|
|
210
|
+
}) => Promise<void>;
|
|
211
|
+
enterTestOtpCode: (opts?: {
|
|
212
|
+
name?: string;
|
|
213
|
+
awaitRequests?: boolean;
|
|
214
|
+
awaitPrepare?: boolean;
|
|
215
|
+
awaitAttempt?: boolean;
|
|
216
|
+
}) => Promise<void>;
|
|
217
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
218
|
+
name?: string;
|
|
219
|
+
awaitRequests?: boolean;
|
|
220
|
+
awaitPrepare?: boolean;
|
|
221
|
+
awaitAttempt?: boolean;
|
|
222
|
+
}, "name">) => Promise<void>;
|
|
223
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
224
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
225
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
226
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
227
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
228
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
229
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
230
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
231
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
232
|
+
};
|
|
233
|
+
signIn: {
|
|
234
|
+
goTo: (opts?: {
|
|
235
|
+
searchParams?: URLSearchParams;
|
|
236
|
+
headlessSelector?: string;
|
|
237
|
+
timeout?: number;
|
|
238
|
+
}) => Promise<import("@playwright/test").Response | null>;
|
|
239
|
+
waitForMounted: (selector?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
240
|
+
waitForModal: (state?: "open" | "closed") => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
241
|
+
setIdentifier: (val: string) => Promise<void>;
|
|
242
|
+
setInstantPassword: (val: string) => Promise<void>;
|
|
243
|
+
usePhoneNumberIdentifier: () => import("@playwright/test").Locator;
|
|
244
|
+
useEmailIdentifier: () => import("@playwright/test").Locator;
|
|
245
|
+
useUsernameIdentifier: () => import("@playwright/test").Locator;
|
|
246
|
+
getForgotPassword: () => import("@playwright/test").Locator;
|
|
247
|
+
getGoToSignUp: () => import("@playwright/test").Locator;
|
|
248
|
+
getResetPassword: () => import("@playwright/test").Locator;
|
|
249
|
+
getUseAnotherMethodLink: () => import("@playwright/test").Locator;
|
|
250
|
+
getAltMethodsEmailCodeButton: () => import("@playwright/test").Locator;
|
|
251
|
+
getAltMethodsEmailLinkButton: () => import("@playwright/test").Locator;
|
|
252
|
+
signInWithOauth: (provider: string) => import("@playwright/test").Locator;
|
|
253
|
+
signInWithEmailAndInstantPassword: ({ email, password, waitForSession, }: {
|
|
254
|
+
email: string;
|
|
255
|
+
password: string;
|
|
256
|
+
waitForSession?: boolean;
|
|
257
|
+
}) => Promise<void>;
|
|
258
|
+
continue: () => Promise<void>;
|
|
259
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
260
|
+
setPassword: (val: string) => Promise<void>;
|
|
261
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
262
|
+
enterOtpCode: (code: string, opts?: {
|
|
263
|
+
name?: string;
|
|
264
|
+
awaitRequests?: boolean;
|
|
265
|
+
awaitPrepare?: boolean;
|
|
266
|
+
awaitAttempt?: boolean;
|
|
267
|
+
}) => Promise<void>;
|
|
268
|
+
enterTestOtpCode: (opts?: {
|
|
269
|
+
name?: string;
|
|
270
|
+
awaitRequests?: boolean;
|
|
271
|
+
awaitPrepare?: boolean;
|
|
272
|
+
awaitAttempt?: boolean;
|
|
273
|
+
}) => Promise<void>;
|
|
274
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
275
|
+
name?: string;
|
|
276
|
+
awaitRequests?: boolean;
|
|
277
|
+
awaitPrepare?: boolean;
|
|
278
|
+
awaitAttempt?: boolean;
|
|
279
|
+
}, "name">) => Promise<void>;
|
|
280
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
281
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
282
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
283
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
284
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
285
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
286
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
287
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
288
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
289
|
+
};
|
|
290
|
+
signUp: {
|
|
291
|
+
goTo: (opts?: {
|
|
292
|
+
searchParams?: URLSearchParams;
|
|
293
|
+
headlessSelector?: string;
|
|
294
|
+
}) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
295
|
+
waitForMounted: (selector?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
296
|
+
waitForModal: (state?: "open" | "closed") => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
297
|
+
signUpWithOauth: (provider: string) => import("@playwright/test").Locator;
|
|
298
|
+
signUp: (opts: {
|
|
299
|
+
email?: string;
|
|
300
|
+
password?: string;
|
|
301
|
+
firstName?: string;
|
|
302
|
+
lastName?: string;
|
|
303
|
+
username?: string;
|
|
304
|
+
phoneNumber?: string;
|
|
305
|
+
legalAccepted?: boolean;
|
|
306
|
+
}) => Promise<void>;
|
|
307
|
+
signUpWithEmailAndPassword: (opts: Pick<{
|
|
308
|
+
email?: string;
|
|
309
|
+
password?: string;
|
|
310
|
+
firstName?: string;
|
|
311
|
+
lastName?: string;
|
|
312
|
+
username?: string;
|
|
313
|
+
phoneNumber?: string;
|
|
314
|
+
legalAccepted?: boolean;
|
|
315
|
+
}, "email" | "password">) => Promise<void>;
|
|
316
|
+
waitForEmailVerificationScreen: () => Promise<void>;
|
|
317
|
+
continue: () => Promise<void>;
|
|
318
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
319
|
+
setPassword: (val: string) => Promise<void>;
|
|
320
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
321
|
+
enterOtpCode: (code: string, opts?: {
|
|
322
|
+
name?: string;
|
|
323
|
+
awaitRequests?: boolean;
|
|
324
|
+
awaitPrepare?: boolean;
|
|
325
|
+
awaitAttempt?: boolean;
|
|
326
|
+
}) => Promise<void>;
|
|
327
|
+
enterTestOtpCode: (opts?: {
|
|
328
|
+
name?: string;
|
|
329
|
+
awaitRequests?: boolean;
|
|
330
|
+
awaitPrepare?: boolean;
|
|
331
|
+
awaitAttempt?: boolean;
|
|
332
|
+
}) => Promise<void>;
|
|
333
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
334
|
+
name?: string;
|
|
335
|
+
awaitRequests?: boolean;
|
|
336
|
+
awaitPrepare?: boolean;
|
|
337
|
+
awaitAttempt?: boolean;
|
|
338
|
+
}, "name">) => Promise<void>;
|
|
339
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
340
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
341
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
342
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
343
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
344
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
345
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
346
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
347
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
348
|
+
};
|
|
349
|
+
testingToken: {
|
|
350
|
+
setup: () => Promise<void>;
|
|
351
|
+
};
|
|
352
|
+
userAvatar: {
|
|
353
|
+
goTo: (opts?: {
|
|
354
|
+
searchParams: URLSearchParams;
|
|
355
|
+
}) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
356
|
+
waitForMounted: (selector?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
357
|
+
toBeVisible: (selector?: string) => Promise<void>;
|
|
358
|
+
};
|
|
359
|
+
userButton: {
|
|
360
|
+
waitForMounted: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
361
|
+
toggleTrigger: () => Promise<void>;
|
|
362
|
+
waitForPopover: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
363
|
+
waitForPopoverClosed: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
364
|
+
toHaveVisibleMenuItems: (menuItems: string | RegExp | Array<string | RegExp>) => Promise<void>;
|
|
365
|
+
triggerSignOut: () => Promise<void>;
|
|
366
|
+
triggerManageAccount: () => Promise<void>;
|
|
367
|
+
switchAccount: (emailAddress: string) => Promise<void>;
|
|
368
|
+
};
|
|
369
|
+
userProfile: {
|
|
370
|
+
goTo: (opts?: {
|
|
371
|
+
searchParams: URLSearchParams;
|
|
372
|
+
}) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
373
|
+
switchToSecurityTab: () => Promise<void>;
|
|
374
|
+
switchToBillingTab: () => Promise<void>;
|
|
375
|
+
switchToAPIKeysTab: () => Promise<void>;
|
|
376
|
+
waitForMounted: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
377
|
+
clickSetUsername: () => Promise<void>;
|
|
378
|
+
clickToUpdateProfile: () => Promise<void>;
|
|
379
|
+
clickUpdateUsername: () => Promise<void>;
|
|
380
|
+
clickSetPassword: () => Promise<void>;
|
|
381
|
+
waitForSectionCard: (section: import("./userProfile").Sections, opened: boolean) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
382
|
+
waitForSectionCardOpened: (section: import("./userProfile").Sections) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
383
|
+
waitForSectionCardClosed: (section: import("./userProfile").Sections) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
384
|
+
typeUsername: (value: string) => Promise<void>;
|
|
385
|
+
typeFirstName: (value: string) => Promise<void>;
|
|
386
|
+
typeLastName: (value: string) => Promise<void>;
|
|
387
|
+
typePhoneNumber: (value: string) => Promise<void>;
|
|
388
|
+
clickAddEmailAddress: () => Promise<void>;
|
|
389
|
+
clickAddPhoneNumber: () => Promise<void>;
|
|
390
|
+
typeEmailAddress: (value: string) => Promise<void>;
|
|
391
|
+
waitForUserProfileModal: (state?: "open" | "closed") => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
392
|
+
continue: () => Promise<void>;
|
|
393
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
394
|
+
setPassword: (val: string) => Promise<void>;
|
|
395
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
396
|
+
enterOtpCode: (code: string, opts?: {
|
|
397
|
+
name?: string;
|
|
398
|
+
awaitRequests?: boolean;
|
|
399
|
+
awaitPrepare?: boolean;
|
|
400
|
+
awaitAttempt?: boolean;
|
|
401
|
+
}) => Promise<void>;
|
|
402
|
+
enterTestOtpCode: (opts?: {
|
|
403
|
+
name?: string;
|
|
404
|
+
awaitRequests?: boolean;
|
|
405
|
+
awaitPrepare?: boolean;
|
|
406
|
+
awaitAttempt?: boolean;
|
|
407
|
+
}) => Promise<void>;
|
|
408
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
409
|
+
name?: string;
|
|
410
|
+
awaitRequests?: boolean;
|
|
411
|
+
awaitPrepare?: boolean;
|
|
412
|
+
awaitAttempt?: boolean;
|
|
413
|
+
}, "name">) => Promise<void>;
|
|
414
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
415
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
416
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
417
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
418
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
419
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
420
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
421
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
422
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
423
|
+
};
|
|
424
|
+
userVerification: {
|
|
425
|
+
waitForMounted: (selector?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
426
|
+
waitForClosed: (selector?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
427
|
+
closeReverificationModal: () => Promise<void>;
|
|
428
|
+
getUseAnotherMethodLink: () => import("@playwright/test").Locator;
|
|
429
|
+
getAltMethodsEmailCodeButton: () => import("@playwright/test").Locator;
|
|
430
|
+
getAltMethodsEmailLinkButton: () => import("@playwright/test").Locator;
|
|
431
|
+
continue: () => Promise<void>;
|
|
432
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
433
|
+
setPassword: (val: string) => Promise<void>;
|
|
434
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
435
|
+
enterOtpCode: (code: string, opts?: {
|
|
436
|
+
name?: string;
|
|
437
|
+
awaitRequests?: boolean;
|
|
438
|
+
awaitPrepare?: boolean;
|
|
439
|
+
awaitAttempt?: boolean;
|
|
440
|
+
}) => Promise<void>;
|
|
441
|
+
enterTestOtpCode: (opts?: {
|
|
442
|
+
name?: string;
|
|
443
|
+
awaitRequests?: boolean;
|
|
444
|
+
awaitPrepare?: boolean;
|
|
445
|
+
awaitAttempt?: boolean;
|
|
446
|
+
}) => Promise<void>;
|
|
447
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
448
|
+
name?: string;
|
|
449
|
+
awaitRequests?: boolean;
|
|
450
|
+
awaitPrepare?: boolean;
|
|
451
|
+
awaitAttempt?: boolean;
|
|
452
|
+
}, "name">) => Promise<void>;
|
|
453
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
454
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
455
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
456
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
457
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
458
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
459
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
460
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
461
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
462
|
+
};
|
|
463
|
+
waitlist: {
|
|
464
|
+
goTo: (opts?: {
|
|
465
|
+
searchParams?: URLSearchParams;
|
|
466
|
+
headlessSelector?: string;
|
|
467
|
+
}) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
468
|
+
waitForMounted: (selector?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
469
|
+
joinWaitlist: (opts: {
|
|
470
|
+
email: string;
|
|
471
|
+
}) => Promise<void>;
|
|
472
|
+
joinWaitlistContinue: () => Promise<void>;
|
|
473
|
+
continue: () => Promise<void>;
|
|
474
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
475
|
+
setPassword: (val: string) => Promise<void>;
|
|
476
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
477
|
+
enterOtpCode: (code: string, opts?: {
|
|
478
|
+
name?: string;
|
|
479
|
+
awaitRequests?: boolean;
|
|
480
|
+
awaitPrepare?: boolean;
|
|
481
|
+
awaitAttempt?: boolean;
|
|
482
|
+
}) => Promise<void>;
|
|
483
|
+
enterTestOtpCode: (opts?: {
|
|
484
|
+
name?: string;
|
|
485
|
+
awaitRequests?: boolean;
|
|
486
|
+
awaitPrepare?: boolean;
|
|
487
|
+
awaitAttempt?: boolean;
|
|
488
|
+
}) => Promise<void>;
|
|
489
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
490
|
+
name?: string;
|
|
491
|
+
awaitRequests?: boolean;
|
|
492
|
+
awaitPrepare?: boolean;
|
|
493
|
+
awaitAttempt?: boolean;
|
|
494
|
+
}, "name">) => Promise<void>;
|
|
495
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
496
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
497
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
498
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
499
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
500
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
501
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
502
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
503
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
504
|
+
};
|
|
505
|
+
apiKeys: {
|
|
506
|
+
waitForMounted: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
507
|
+
clickAddButton: () => Promise<void>;
|
|
508
|
+
waitForFormOpened: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
509
|
+
waitForFormClosed: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
510
|
+
waitForRevokeModalOpened: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
511
|
+
waitForRevokeModalClosed: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
512
|
+
waitForCopyModalOpened: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
513
|
+
waitForCopyModalClosed: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
514
|
+
clickCopyAndCloseButton: () => Promise<void>;
|
|
515
|
+
typeName: (value: string) => Promise<void>;
|
|
516
|
+
typeDescription: (value: string) => Promise<void>;
|
|
517
|
+
selectExpiration: (value?: "never" | "1d" | "7d" | "30d" | "60d" | "90d" | "180d" | "1y") => Promise<void>;
|
|
518
|
+
clickSaveButton: () => Promise<void>;
|
|
519
|
+
typeRevokeConfirmation: (value: string) => Promise<void>;
|
|
520
|
+
clickConfirmRevokeButton: () => Promise<void>;
|
|
521
|
+
continue: () => Promise<void>;
|
|
522
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
523
|
+
setPassword: (val: string) => Promise<void>;
|
|
524
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
525
|
+
enterOtpCode: (code: string, opts?: {
|
|
526
|
+
name?: string;
|
|
527
|
+
awaitRequests?: boolean;
|
|
528
|
+
awaitPrepare?: boolean;
|
|
529
|
+
awaitAttempt?: boolean;
|
|
530
|
+
}) => Promise<void>;
|
|
531
|
+
enterTestOtpCode: (opts?: {
|
|
532
|
+
name?: string;
|
|
533
|
+
awaitRequests?: boolean;
|
|
534
|
+
awaitPrepare?: boolean;
|
|
535
|
+
awaitAttempt?: boolean;
|
|
536
|
+
}) => Promise<void>;
|
|
537
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
538
|
+
name?: string;
|
|
539
|
+
awaitRequests?: boolean;
|
|
540
|
+
awaitPrepare?: boolean;
|
|
541
|
+
awaitAttempt?: boolean;
|
|
542
|
+
}, "name">) => Promise<void>;
|
|
543
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
544
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
545
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
546
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
547
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
548
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
549
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
550
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
551
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
552
|
+
};
|
|
553
|
+
subscriptionDetails: {
|
|
554
|
+
waitForMounted: (selector?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
555
|
+
waitForUnmounted: () => Promise<void>;
|
|
556
|
+
closeDrawer: () => Promise<void>;
|
|
557
|
+
root: import("@playwright/test").Locator;
|
|
558
|
+
continue: () => Promise<void>;
|
|
559
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
560
|
+
setPassword: (val: string) => Promise<void>;
|
|
561
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
562
|
+
enterOtpCode: (code: string, opts?: {
|
|
563
|
+
name?: string;
|
|
564
|
+
awaitRequests?: boolean;
|
|
565
|
+
awaitPrepare?: boolean;
|
|
566
|
+
awaitAttempt?: boolean;
|
|
567
|
+
}) => Promise<void>;
|
|
568
|
+
enterTestOtpCode: (opts?: {
|
|
569
|
+
name?: string;
|
|
570
|
+
awaitRequests?: boolean;
|
|
571
|
+
awaitPrepare?: boolean;
|
|
572
|
+
awaitAttempt?: boolean;
|
|
573
|
+
}) => Promise<void>;
|
|
574
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
575
|
+
name?: string;
|
|
576
|
+
awaitRequests?: boolean;
|
|
577
|
+
awaitPrepare?: boolean;
|
|
578
|
+
awaitAttempt?: boolean;
|
|
579
|
+
}, "name">) => Promise<void>;
|
|
580
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
581
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
582
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
583
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
584
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
585
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
586
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
587
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
588
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
589
|
+
};
|
|
590
|
+
planDetails: {
|
|
591
|
+
waitForMounted: (selector?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
592
|
+
root: import("@playwright/test").Locator;
|
|
593
|
+
continue: () => Promise<void>;
|
|
594
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
595
|
+
setPassword: (val: string) => Promise<void>;
|
|
596
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
597
|
+
enterOtpCode: (code: string, opts?: {
|
|
598
|
+
name?: string;
|
|
599
|
+
awaitRequests?: boolean;
|
|
600
|
+
awaitPrepare?: boolean;
|
|
601
|
+
awaitAttempt?: boolean;
|
|
602
|
+
}) => Promise<void>;
|
|
603
|
+
enterTestOtpCode: (opts?: {
|
|
604
|
+
name?: string;
|
|
605
|
+
awaitRequests?: boolean;
|
|
606
|
+
awaitPrepare?: boolean;
|
|
607
|
+
awaitAttempt?: boolean;
|
|
608
|
+
}) => Promise<void>;
|
|
609
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
610
|
+
name?: string;
|
|
611
|
+
awaitRequests?: boolean;
|
|
612
|
+
awaitPrepare?: boolean;
|
|
613
|
+
awaitAttempt?: boolean;
|
|
614
|
+
}, "name">) => Promise<void>;
|
|
615
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
616
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
617
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
618
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
619
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
620
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
621
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
622
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
623
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/playwright/unstable/page-objects/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAuB7C,eAAO,MAAM,iBAAiB,GAAI,qCAI/B;IACD,IAAI,EAAE,IAAI,CAAC;IACX,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;;;;qBAfwB,CAAC;wBAAmB,CAAC;mBACrC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA+BZ,CAAF;kBAAuB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA9CzB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBADQ,CAAC;4BAAmC,CAAC;mBAC/C,CAAA;;;;;;;;;;;;;;;;;;;0BA6CoD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA5ClC,CAAC;4BAAmC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAFtC,CAAC;4BAAmC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDtD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { EnhancedPage } from './app';
|
|
2
|
+
export declare const createKeylessPopoverPageObject: (testArgs: {
|
|
3
|
+
page: EnhancedPage;
|
|
4
|
+
}) => {
|
|
5
|
+
waitForMounted: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
6
|
+
waitForUnmounted: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
7
|
+
isExpanded: () => Promise<boolean>;
|
|
8
|
+
toggle: () => Promise<void>;
|
|
9
|
+
promptsToClaim: () => import("@playwright/test").Locator;
|
|
10
|
+
promptToUseClaimedKeys: () => import("@playwright/test").Locator;
|
|
11
|
+
promptToDismiss: () => import("@playwright/test").Locator;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=keylessPopover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keylessPopover.d.ts","sourceRoot":"","sources":["../../../../../src/playwright/unstable/page-objects/keylessPopover.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,eAAO,MAAM,8BAA8B,GAAI,UAAU;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE;;;;;;;;CAyB9E,CAAC"}
|