@clerk/testing 2.0.0-snapshot.v07d9254 → 2.0.0-snapshot.v20251203203405
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,43 @@
|
|
|
1
|
+
import type { EnhancedPage } from './app';
|
|
2
|
+
export declare const createOrganizationSwitcherComponentPageObject: (testArgs: {
|
|
3
|
+
page: EnhancedPage;
|
|
4
|
+
}) => {
|
|
5
|
+
goTo: (relativePath?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
6
|
+
waitForMounted: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
7
|
+
expectNoOrganizationSelected: () => Promise<void>;
|
|
8
|
+
expectPersonalAccount: () => Promise<void>;
|
|
9
|
+
toggleTrigger: () => Promise<void>;
|
|
10
|
+
waitForAnOrganizationToSelected: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
11
|
+
continue: () => Promise<void>;
|
|
12
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
13
|
+
setPassword: (val: string) => Promise<void>;
|
|
14
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
15
|
+
enterOtpCode: (code: string, opts?: {
|
|
16
|
+
name?: string;
|
|
17
|
+
awaitRequests?: boolean;
|
|
18
|
+
awaitPrepare?: boolean;
|
|
19
|
+
awaitAttempt?: boolean;
|
|
20
|
+
}) => Promise<void>;
|
|
21
|
+
enterTestOtpCode: (opts?: {
|
|
22
|
+
name?: string;
|
|
23
|
+
awaitRequests?: boolean;
|
|
24
|
+
awaitPrepare?: boolean;
|
|
25
|
+
awaitAttempt?: boolean;
|
|
26
|
+
}) => Promise<void>;
|
|
27
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
28
|
+
name?: string;
|
|
29
|
+
awaitRequests?: boolean;
|
|
30
|
+
awaitPrepare?: boolean;
|
|
31
|
+
awaitAttempt?: boolean;
|
|
32
|
+
}, "name">) => Promise<void>;
|
|
33
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
34
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
35
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
36
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
37
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
38
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
39
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
40
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
41
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=organizationSwitcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationSwitcher.d.ts","sourceRoot":"","sources":["../../../../../src/playwright/unstable/page-objects/organizationSwitcher.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,eAAO,MAAM,6CAA6C,GAAI,UAAU;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2B7F,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { EnhancedPage } from './app';
|
|
2
|
+
export declare const createPlanDetailsPageObject: (testArgs: {
|
|
3
|
+
page: EnhancedPage;
|
|
4
|
+
}) => {
|
|
5
|
+
waitForMounted: (selector?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
6
|
+
root: import("@playwright/test").Locator;
|
|
7
|
+
continue: () => Promise<void>;
|
|
8
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
9
|
+
setPassword: (val: string) => Promise<void>;
|
|
10
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
11
|
+
enterOtpCode: (code: string, opts?: {
|
|
12
|
+
name?: string;
|
|
13
|
+
awaitRequests?: boolean;
|
|
14
|
+
awaitPrepare?: boolean;
|
|
15
|
+
awaitAttempt?: boolean;
|
|
16
|
+
}) => Promise<void>;
|
|
17
|
+
enterTestOtpCode: (opts?: {
|
|
18
|
+
name?: string;
|
|
19
|
+
awaitRequests?: boolean;
|
|
20
|
+
awaitPrepare?: boolean;
|
|
21
|
+
awaitAttempt?: boolean;
|
|
22
|
+
}) => Promise<void>;
|
|
23
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
24
|
+
name?: string;
|
|
25
|
+
awaitRequests?: boolean;
|
|
26
|
+
awaitPrepare?: boolean;
|
|
27
|
+
awaitAttempt?: boolean;
|
|
28
|
+
}, "name">) => Promise<void>;
|
|
29
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
30
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
31
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
32
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
33
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
34
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
35
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
36
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
37
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=planDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"planDetails.d.ts","sourceRoot":"","sources":["../../../../../src/playwright/unstable/page-objects/planDetails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,eAAO,MAAM,2BAA2B,GAAI,UAAU;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAU3E,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { EnhancedPage } from './app';
|
|
2
|
+
type BillingPeriod = 'monthly' | 'annually';
|
|
3
|
+
export declare const createPricingTablePageObject: (testArgs: {
|
|
4
|
+
page: EnhancedPage;
|
|
5
|
+
}) => {
|
|
6
|
+
waitForMounted: (selector?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
7
|
+
clickResubscribe: () => Promise<void>;
|
|
8
|
+
waitToBeActive: ({ planSlug }: {
|
|
9
|
+
planSlug: string;
|
|
10
|
+
}) => Promise<void>;
|
|
11
|
+
waitToBeFreeTrial: ({ planSlug }: {
|
|
12
|
+
planSlug: string;
|
|
13
|
+
}) => Promise<void>;
|
|
14
|
+
getPlanCardCTA: ({ planSlug }: {
|
|
15
|
+
planSlug: string;
|
|
16
|
+
}) => import("@playwright/test").Locator;
|
|
17
|
+
startCheckout: ({ planSlug, shouldSwitch, period, }: {
|
|
18
|
+
planSlug: string;
|
|
19
|
+
shouldSwitch?: boolean;
|
|
20
|
+
period?: BillingPeriod;
|
|
21
|
+
}) => Promise<void>;
|
|
22
|
+
continue: () => Promise<void>;
|
|
23
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
24
|
+
setPassword: (val: string) => Promise<void>;
|
|
25
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
26
|
+
enterOtpCode: (code: string, opts?: {
|
|
27
|
+
name?: string;
|
|
28
|
+
awaitRequests?: boolean;
|
|
29
|
+
awaitPrepare?: boolean;
|
|
30
|
+
awaitAttempt?: boolean;
|
|
31
|
+
}) => Promise<void>;
|
|
32
|
+
enterTestOtpCode: (opts?: {
|
|
33
|
+
name?: string;
|
|
34
|
+
awaitRequests?: boolean;
|
|
35
|
+
awaitPrepare?: boolean;
|
|
36
|
+
awaitAttempt?: boolean;
|
|
37
|
+
}) => Promise<void>;
|
|
38
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
39
|
+
name?: string;
|
|
40
|
+
awaitRequests?: boolean;
|
|
41
|
+
awaitPrepare?: boolean;
|
|
42
|
+
awaitAttempt?: boolean;
|
|
43
|
+
}, "name">) => Promise<void>;
|
|
44
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
45
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
46
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
47
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
48
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
49
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
50
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
51
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
52
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
53
|
+
};
|
|
54
|
+
export {};
|
|
55
|
+
//# sourceMappingURL=pricingTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pricingTable.d.ts","sourceRoot":"","sources":["../../../../../src/playwright/unstable/page-objects/pricingTable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,KAAK,aAAa,GAAG,SAAS,GAAG,UAAU,CAAC;AAE5C,eAAO,MAAM,4BAA4B,GAAI,UAAU;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE;;;mCAqDpC;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE;sCAGjB;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE;mCAG7B;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE;yDAShD;QACD,QAAQ,EAAE,MAAM,CAAC;QACjB,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,MAAM,CAAC,EAAE,aAAa,CAAC;KACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBJ,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { EnhancedPage } from './app';
|
|
2
|
+
export declare const createSessionTaskComponentPageObject: (testArgs: {
|
|
3
|
+
page: EnhancedPage;
|
|
4
|
+
}) => {
|
|
5
|
+
resolveForceOrganizationSelectionTask: (fakeOrganization: {
|
|
6
|
+
name: string;
|
|
7
|
+
slug?: string;
|
|
8
|
+
}) => Promise<void>;
|
|
9
|
+
resolveResetPasswordTask: ({ newPassword, confirmPassword, }: {
|
|
10
|
+
newPassword: string;
|
|
11
|
+
confirmPassword: string;
|
|
12
|
+
}) => Promise<void>;
|
|
13
|
+
continue: () => Promise<void>;
|
|
14
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
15
|
+
setPassword: (val: string) => Promise<void>;
|
|
16
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
17
|
+
enterOtpCode: (code: string, opts?: {
|
|
18
|
+
name?: string;
|
|
19
|
+
awaitRequests?: boolean;
|
|
20
|
+
awaitPrepare?: boolean;
|
|
21
|
+
awaitAttempt?: boolean;
|
|
22
|
+
}) => Promise<void>;
|
|
23
|
+
enterTestOtpCode: (opts?: {
|
|
24
|
+
name?: string;
|
|
25
|
+
awaitRequests?: boolean;
|
|
26
|
+
awaitPrepare?: boolean;
|
|
27
|
+
awaitAttempt?: boolean;
|
|
28
|
+
}) => Promise<void>;
|
|
29
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
30
|
+
name?: string;
|
|
31
|
+
awaitRequests?: boolean;
|
|
32
|
+
awaitPrepare?: boolean;
|
|
33
|
+
awaitAttempt?: boolean;
|
|
34
|
+
}, "name">) => Promise<void>;
|
|
35
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
36
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
37
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
38
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
39
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
40
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
41
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
42
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
43
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=sessionTask.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sessionTask.d.ts","sourceRoot":"","sources":["../../../../../src/playwright/unstable/page-objects/sessionTask.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,eAAO,MAAM,oCAAoC,GAAI,UAAU;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE;8DAKjB;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;kEAe5F;QACD,WAAW,EAAE,MAAM,CAAC;QACpB,eAAe,EAAE,MAAM,CAAC;KACzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWJ,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { EnhancedPage } from './app';
|
|
2
|
+
export declare const createSignInComponentPageObject: (testArgs: {
|
|
3
|
+
page: EnhancedPage;
|
|
4
|
+
}) => {
|
|
5
|
+
goTo: (opts?: {
|
|
6
|
+
searchParams?: URLSearchParams;
|
|
7
|
+
headlessSelector?: string;
|
|
8
|
+
timeout?: number;
|
|
9
|
+
}) => Promise<import("@playwright/test").Response | null>;
|
|
10
|
+
waitForMounted: (selector?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
11
|
+
waitForModal: (state?: "open" | "closed") => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
12
|
+
setIdentifier: (val: string) => Promise<void>;
|
|
13
|
+
setInstantPassword: (val: string) => Promise<void>;
|
|
14
|
+
usePhoneNumberIdentifier: () => import("@playwright/test").Locator;
|
|
15
|
+
useEmailIdentifier: () => import("@playwright/test").Locator;
|
|
16
|
+
useUsernameIdentifier: () => import("@playwright/test").Locator;
|
|
17
|
+
getForgotPassword: () => import("@playwright/test").Locator;
|
|
18
|
+
getGoToSignUp: () => import("@playwright/test").Locator;
|
|
19
|
+
getResetPassword: () => import("@playwright/test").Locator;
|
|
20
|
+
getUseAnotherMethodLink: () => import("@playwright/test").Locator;
|
|
21
|
+
getAltMethodsEmailCodeButton: () => import("@playwright/test").Locator;
|
|
22
|
+
getAltMethodsEmailLinkButton: () => import("@playwright/test").Locator;
|
|
23
|
+
signInWithOauth: (provider: string) => import("@playwright/test").Locator;
|
|
24
|
+
signInWithEmailAndInstantPassword: ({ email, password, waitForSession, }: {
|
|
25
|
+
email: string;
|
|
26
|
+
password: string;
|
|
27
|
+
waitForSession?: boolean;
|
|
28
|
+
}) => Promise<void>;
|
|
29
|
+
continue: () => Promise<void>;
|
|
30
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
31
|
+
setPassword: (val: string) => Promise<void>;
|
|
32
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
33
|
+
enterOtpCode: (code: string, opts?: {
|
|
34
|
+
name?: string;
|
|
35
|
+
awaitRequests?: boolean;
|
|
36
|
+
awaitPrepare?: boolean;
|
|
37
|
+
awaitAttempt?: boolean;
|
|
38
|
+
}) => Promise<void>;
|
|
39
|
+
enterTestOtpCode: (opts?: {
|
|
40
|
+
name?: string;
|
|
41
|
+
awaitRequests?: boolean;
|
|
42
|
+
awaitPrepare?: boolean;
|
|
43
|
+
awaitAttempt?: boolean;
|
|
44
|
+
}) => Promise<void>;
|
|
45
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
46
|
+
name?: string;
|
|
47
|
+
awaitRequests?: boolean;
|
|
48
|
+
awaitPrepare?: boolean;
|
|
49
|
+
awaitAttempt?: boolean;
|
|
50
|
+
}, "name">) => Promise<void>;
|
|
51
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
52
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
53
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
54
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
55
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
56
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
57
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
58
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
59
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
60
|
+
};
|
|
61
|
+
//# sourceMappingURL=signIn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signIn.d.ts","sourceRoot":"","sources":["../../../../../src/playwright/unstable/page-objects/signIn.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,eAAO,MAAM,+BAA+B,GAAI,UAAU;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE;kBAIxD;QAAE,YAAY,CAAC,EAAE,eAAe,CAAC;QAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE;;2BAa5E,MAAM,GAAG,QAAQ;yBAKnB,MAAM;8BAGK,MAAM;;;;;;;;;;gCAgCV,MAAM;8EAO/B;QACD,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,cAAc,CAAC,EAAE,OAAO,CAAC;KAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcJ,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { EnhancedPage } from './app';
|
|
2
|
+
type SignUpFormInputs = {
|
|
3
|
+
email?: string;
|
|
4
|
+
password?: string;
|
|
5
|
+
firstName?: string;
|
|
6
|
+
lastName?: string;
|
|
7
|
+
username?: string;
|
|
8
|
+
phoneNumber?: string;
|
|
9
|
+
legalAccepted?: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare const createSignUpComponentPageObject: (testArgs: {
|
|
12
|
+
page: EnhancedPage;
|
|
13
|
+
}) => {
|
|
14
|
+
goTo: (opts?: {
|
|
15
|
+
searchParams?: URLSearchParams;
|
|
16
|
+
headlessSelector?: string;
|
|
17
|
+
}) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
18
|
+
waitForMounted: (selector?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
19
|
+
waitForModal: (state?: "open" | "closed") => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
20
|
+
signUpWithOauth: (provider: string) => import("@playwright/test").Locator;
|
|
21
|
+
signUp: (opts: SignUpFormInputs) => Promise<void>;
|
|
22
|
+
signUpWithEmailAndPassword: (opts: Pick<SignUpFormInputs, "email" | "password">) => Promise<void>;
|
|
23
|
+
waitForEmailVerificationScreen: () => Promise<void>;
|
|
24
|
+
continue: () => Promise<void>;
|
|
25
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
26
|
+
setPassword: (val: string) => Promise<void>;
|
|
27
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
28
|
+
enterOtpCode: (code: string, opts?: {
|
|
29
|
+
name?: string;
|
|
30
|
+
awaitRequests?: boolean;
|
|
31
|
+
awaitPrepare?: boolean;
|
|
32
|
+
awaitAttempt?: boolean;
|
|
33
|
+
}) => Promise<void>;
|
|
34
|
+
enterTestOtpCode: (opts?: {
|
|
35
|
+
name?: string;
|
|
36
|
+
awaitRequests?: boolean;
|
|
37
|
+
awaitPrepare?: boolean;
|
|
38
|
+
awaitAttempt?: boolean;
|
|
39
|
+
}) => Promise<void>;
|
|
40
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
41
|
+
name?: string;
|
|
42
|
+
awaitRequests?: boolean;
|
|
43
|
+
awaitPrepare?: boolean;
|
|
44
|
+
awaitAttempt?: boolean;
|
|
45
|
+
}, "name">) => Promise<void>;
|
|
46
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
47
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
48
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
49
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
50
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
51
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
52
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
53
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
54
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
55
|
+
};
|
|
56
|
+
export {};
|
|
57
|
+
//# sourceMappingURL=signUp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signUp.d.ts","sourceRoot":"","sources":["../../../../../src/playwright/unstable/page-objects/signUp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,KAAK,gBAAgB,GAAG;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAAI,UAAU;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE;kBAKxD;QAAE,YAAY,CAAC,EAAE,eAAe,CAAC;QAAC,gBAAgB,CAAC,EAAE,MAAM,CAAA;KAAE;;2BAW1D,MAAM,GAAG,QAAQ;gCAKZ,MAAM;mBAGb,gBAAgB;uCA+BI,IAAI,CAAC,gBAAgB,EAAE,OAAO,GAAG,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUxF,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { EnhancedPage } from './app';
|
|
2
|
+
export declare const createSubscriptionDetailsPageObject: (testArgs: {
|
|
3
|
+
page: EnhancedPage;
|
|
4
|
+
}) => {
|
|
5
|
+
waitForMounted: (selector?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
6
|
+
waitForUnmounted: () => Promise<void>;
|
|
7
|
+
closeDrawer: () => Promise<void>;
|
|
8
|
+
root: import("@playwright/test").Locator;
|
|
9
|
+
continue: () => Promise<void>;
|
|
10
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
11
|
+
setPassword: (val: string) => Promise<void>;
|
|
12
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
13
|
+
enterOtpCode: (code: string, opts?: {
|
|
14
|
+
name?: string;
|
|
15
|
+
awaitRequests?: boolean;
|
|
16
|
+
awaitPrepare?: boolean;
|
|
17
|
+
awaitAttempt?: boolean;
|
|
18
|
+
}) => Promise<void>;
|
|
19
|
+
enterTestOtpCode: (opts?: {
|
|
20
|
+
name?: string;
|
|
21
|
+
awaitRequests?: boolean;
|
|
22
|
+
awaitPrepare?: boolean;
|
|
23
|
+
awaitAttempt?: boolean;
|
|
24
|
+
}) => Promise<void>;
|
|
25
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
26
|
+
name?: string;
|
|
27
|
+
awaitRequests?: boolean;
|
|
28
|
+
awaitPrepare?: boolean;
|
|
29
|
+
awaitAttempt?: boolean;
|
|
30
|
+
}, "name">) => Promise<void>;
|
|
31
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
32
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
33
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
34
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
35
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
36
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
37
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
38
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
39
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=subscriptionDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriptionDetails.d.ts","sourceRoot":"","sources":["../../../../../src/playwright/unstable/page-objects/subscriptionDetails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,eAAO,MAAM,mCAAmC,GAAI,UAAU;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBnF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testingToken.d.ts","sourceRoot":"","sources":["../../../../../src/playwright/unstable/page-objects/testingToken.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,eAAO,MAAM,4BAA4B,GAAI,UAAU;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE;;CAI5E,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { EnhancedPage } from './app';
|
|
2
|
+
export declare const createUserAvatarPageObject: (testArgs: {
|
|
3
|
+
page: EnhancedPage;
|
|
4
|
+
}) => {
|
|
5
|
+
goTo: (opts?: {
|
|
6
|
+
searchParams: URLSearchParams;
|
|
7
|
+
}) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
8
|
+
waitForMounted: (selector?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
9
|
+
toBeVisible: (selector?: string) => Promise<void>;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=userAvatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userAvatar.d.ts","sourceRoot":"","sources":["../../../../../src/playwright/unstable/page-objects/userAvatar.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,eAAO,MAAM,0BAA0B,GAAI,UAAU;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE;kBAInD;QAAE,YAAY,EAAE,eAAe,CAAA;KAAE;;;CAaxD,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { EnhancedPage } from './app';
|
|
2
|
+
export declare const createUserButtonPageObject: (testArgs: {
|
|
3
|
+
page: EnhancedPage;
|
|
4
|
+
}) => {
|
|
5
|
+
waitForMounted: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
6
|
+
toggleTrigger: () => Promise<void>;
|
|
7
|
+
waitForPopover: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
8
|
+
waitForPopoverClosed: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
9
|
+
toHaveVisibleMenuItems: (menuItems: string | RegExp | Array<string | RegExp>) => Promise<void>;
|
|
10
|
+
triggerSignOut: () => Promise<void>;
|
|
11
|
+
triggerManageAccount: () => Promise<void>;
|
|
12
|
+
switchAccount: (emailAddress: string) => Promise<void>;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=userButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userButton.d.ts","sourceRoot":"","sources":["../../../../../src/playwright/unstable/page-objects/userButton.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,eAAO,MAAM,0BAA0B,GAAI,UAAU;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE;;;;;wCAgB7B,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;;;kCAcpD,MAAM;CAMvC,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { EnhancedPage } from './app';
|
|
2
|
+
export type Sections = 'profile' | 'emailAddresses' | 'username' | 'phoneNumbers' | 'danger';
|
|
3
|
+
export declare const createUserProfileComponentPageObject: (testArgs: {
|
|
4
|
+
page: EnhancedPage;
|
|
5
|
+
}) => {
|
|
6
|
+
goTo: (opts?: {
|
|
7
|
+
searchParams: URLSearchParams;
|
|
8
|
+
}) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
9
|
+
switchToSecurityTab: () => Promise<void>;
|
|
10
|
+
switchToBillingTab: () => Promise<void>;
|
|
11
|
+
switchToAPIKeysTab: () => Promise<void>;
|
|
12
|
+
waitForMounted: () => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
13
|
+
clickSetUsername: () => Promise<void>;
|
|
14
|
+
clickToUpdateProfile: () => Promise<void>;
|
|
15
|
+
clickUpdateUsername: () => Promise<void>;
|
|
16
|
+
clickSetPassword: () => Promise<void>;
|
|
17
|
+
waitForSectionCard: (section: Sections, opened: boolean) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
18
|
+
waitForSectionCardOpened: (section: Sections) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
19
|
+
waitForSectionCardClosed: (section: Sections) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
20
|
+
typeUsername: (value: string) => Promise<void>;
|
|
21
|
+
typeFirstName: (value: string) => Promise<void>;
|
|
22
|
+
typeLastName: (value: string) => Promise<void>;
|
|
23
|
+
typePhoneNumber: (value: string) => Promise<void>;
|
|
24
|
+
clickAddEmailAddress: () => Promise<void>;
|
|
25
|
+
clickAddPhoneNumber: () => Promise<void>;
|
|
26
|
+
typeEmailAddress: (value: string) => Promise<void>;
|
|
27
|
+
waitForUserProfileModal: (state?: "open" | "closed") => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
28
|
+
continue: () => Promise<void>;
|
|
29
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
30
|
+
setPassword: (val: string) => Promise<void>;
|
|
31
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
32
|
+
enterOtpCode: (code: string, opts?: {
|
|
33
|
+
name?: string;
|
|
34
|
+
awaitRequests?: boolean;
|
|
35
|
+
awaitPrepare?: boolean;
|
|
36
|
+
awaitAttempt?: boolean;
|
|
37
|
+
}) => Promise<void>;
|
|
38
|
+
enterTestOtpCode: (opts?: {
|
|
39
|
+
name?: string;
|
|
40
|
+
awaitRequests?: boolean;
|
|
41
|
+
awaitPrepare?: boolean;
|
|
42
|
+
awaitAttempt?: boolean;
|
|
43
|
+
}) => Promise<void>;
|
|
44
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
45
|
+
name?: string;
|
|
46
|
+
awaitRequests?: boolean;
|
|
47
|
+
awaitPrepare?: boolean;
|
|
48
|
+
awaitAttempt?: boolean;
|
|
49
|
+
}, "name">) => Promise<void>;
|
|
50
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
51
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
52
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
53
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
54
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
55
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
56
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
57
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
58
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=userProfile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userProfile.d.ts","sourceRoot":"","sources":["../../../../../src/playwright/unstable/page-objects/userProfile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,gBAAgB,GAAG,UAAU,GAAG,cAAc,GAAG,QAAQ,CAAC;AAE7F,eAAO,MAAM,oCAAoC,GAAI,UAAU;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE;kBAI7D;QAAE,YAAY,EAAE,eAAe,CAAA;KAAE;;;;;;;;;kCA4BvB,QAAQ,UAAU,OAAO;wCAKnB,QAAQ;wCAGR,QAAQ;0BAGtB,MAAM;2BAGL,MAAM;0BAGP,MAAM;6BAGH,MAAM;;;8BASL,MAAM;sCAGE,MAAM,GAAG,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOtD,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { EnhancedPage } from './app';
|
|
2
|
+
export declare const createUserVerificationComponentPageObject: (testArgs: {
|
|
3
|
+
page: EnhancedPage;
|
|
4
|
+
}) => {
|
|
5
|
+
waitForMounted: (selector?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
6
|
+
waitForClosed: (selector?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement> | null>;
|
|
7
|
+
closeReverificationModal: () => Promise<void>;
|
|
8
|
+
getUseAnotherMethodLink: () => import("@playwright/test").Locator;
|
|
9
|
+
getAltMethodsEmailCodeButton: () => import("@playwright/test").Locator;
|
|
10
|
+
getAltMethodsEmailLinkButton: () => import("@playwright/test").Locator;
|
|
11
|
+
continue: () => Promise<void>;
|
|
12
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
13
|
+
setPassword: (val: string) => Promise<void>;
|
|
14
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
15
|
+
enterOtpCode: (code: string, opts?: {
|
|
16
|
+
name?: string;
|
|
17
|
+
awaitRequests?: boolean;
|
|
18
|
+
awaitPrepare?: boolean;
|
|
19
|
+
awaitAttempt?: boolean;
|
|
20
|
+
}) => Promise<void>;
|
|
21
|
+
enterTestOtpCode: (opts?: {
|
|
22
|
+
name?: string;
|
|
23
|
+
awaitRequests?: boolean;
|
|
24
|
+
awaitPrepare?: boolean;
|
|
25
|
+
awaitAttempt?: boolean;
|
|
26
|
+
}) => Promise<void>;
|
|
27
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
28
|
+
name?: string;
|
|
29
|
+
awaitRequests?: boolean;
|
|
30
|
+
awaitPrepare?: boolean;
|
|
31
|
+
awaitAttempt?: boolean;
|
|
32
|
+
}, "name">) => Promise<void>;
|
|
33
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
34
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
35
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
36
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
37
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
38
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
39
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
40
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
41
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=userVerification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userVerification.d.ts","sourceRoot":"","sources":["../../../../../src/playwright/unstable/page-objects/userVerification.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,eAAO,MAAM,yCAAyC,GAAI,UAAU;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBzF,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { EnhancedPage } from './app';
|
|
2
|
+
type WaitlistFormInputs = {
|
|
3
|
+
email: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const createWaitlistComponentPageObject: (testArgs: {
|
|
6
|
+
page: EnhancedPage;
|
|
7
|
+
}) => {
|
|
8
|
+
goTo: (opts?: {
|
|
9
|
+
searchParams?: URLSearchParams;
|
|
10
|
+
headlessSelector?: string;
|
|
11
|
+
}) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
12
|
+
waitForMounted: (selector?: string) => Promise<import("@playwright/test").ElementHandle<SVGElement | HTMLElement>>;
|
|
13
|
+
joinWaitlist: (opts: WaitlistFormInputs) => Promise<void>;
|
|
14
|
+
joinWaitlistContinue: () => Promise<void>;
|
|
15
|
+
continue: () => Promise<void>;
|
|
16
|
+
setEmailAddress: (val: string) => Promise<void>;
|
|
17
|
+
setPassword: (val: string) => Promise<void>;
|
|
18
|
+
setPasswordConfirmation: (val: string) => Promise<void>;
|
|
19
|
+
enterOtpCode: (code: string, opts?: {
|
|
20
|
+
name?: string;
|
|
21
|
+
awaitRequests?: boolean;
|
|
22
|
+
awaitPrepare?: boolean;
|
|
23
|
+
awaitAttempt?: boolean;
|
|
24
|
+
}) => Promise<void>;
|
|
25
|
+
enterTestOtpCode: (opts?: {
|
|
26
|
+
name?: string;
|
|
27
|
+
awaitRequests?: boolean;
|
|
28
|
+
awaitPrepare?: boolean;
|
|
29
|
+
awaitAttempt?: boolean;
|
|
30
|
+
}) => Promise<void>;
|
|
31
|
+
fillTestOtpCode: (name: string, opts?: Omit<{
|
|
32
|
+
name?: string;
|
|
33
|
+
awaitRequests?: boolean;
|
|
34
|
+
awaitPrepare?: boolean;
|
|
35
|
+
awaitAttempt?: boolean;
|
|
36
|
+
}, "name">) => Promise<void>;
|
|
37
|
+
getIdentifierInput: () => import("@playwright/test").Locator;
|
|
38
|
+
getEmailAddressInput: () => import("@playwright/test").Locator;
|
|
39
|
+
getPhoneNumberInput: () => import("@playwright/test").Locator;
|
|
40
|
+
getUsernameInput: () => import("@playwright/test").Locator;
|
|
41
|
+
getPasswordInput: () => import("@playwright/test").Locator;
|
|
42
|
+
getLegalAccepted: () => import("@playwright/test").Locator;
|
|
43
|
+
getFirstNameInput: () => import("@playwright/test").Locator;
|
|
44
|
+
getLastNameInput: () => import("@playwright/test").Locator;
|
|
45
|
+
waitForSession: () => Promise<import("@playwright/test").JSHandle<boolean>>;
|
|
46
|
+
};
|
|
47
|
+
export {};
|
|
48
|
+
//# sourceMappingURL=waitlist.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"waitlist.d.ts","sourceRoot":"","sources":["../../../../../src/playwright/unstable/page-objects/waitlist.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,iCAAiC,GAAI,UAAU;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE;kBAK1D;QAAE,YAAY,CAAC,EAAE,eAAe,CAAC;QAAC,gBAAgB,CAAC,EAAE,MAAM,CAAA;KAAE;;yBAWtD,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWhD,CAAC"}
|