@testspectra/cli 1.0.15 → 1.0.17
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/dist/types/generator.d.ts +2 -1
- package/dist/types/generator.js +108 -27
- package/package.json +1 -1
- package/templates/nx/modules/auth/e2e/.testspectra/types/android.d.ts +3 -0
- package/templates/nx/modules/auth/e2e/.testspectra/types/common.d.ts +3 -0
- package/templates/nx/modules/auth/e2e/.testspectra/types/fixtures.d.ts +1 -0
- package/templates/nx/modules/auth/e2e/.testspectra/types/ios.d.ts +3 -0
- package/templates/nx/modules/auth/e2e/.testspectra/types/mobile.d.ts +3 -0
- package/templates/nx/modules/auth/e2e/.testspectra/types/web.d.ts +3 -0
- package/templates/nx/modules/auth/e2e/package.json +1 -0
- package/templates/nx/modules/auth/e2e/specs/Auth/TC-AUTH-01/web.test.ts +10 -4
- package/templates/nx/modules/auth/e2e/tsconfig.android.tsbuildinfo +1 -1
- package/templates/nx/modules/auth/e2e/tsconfig.ios.tsbuildinfo +1 -1
- package/templates/nx/modules/auth/e2e/tsconfig.web.tsbuildinfo +1 -1
- package/templates/nx/modules/catalog/e2e/.testspectra/types/android.d.ts +3 -0
- package/templates/nx/modules/catalog/e2e/.testspectra/types/common.d.ts +3 -0
- package/templates/nx/modules/catalog/e2e/.testspectra/types/fixtures.d.ts +1 -0
- package/templates/nx/modules/catalog/e2e/.testspectra/types/ios.d.ts +3 -0
- package/templates/nx/modules/catalog/e2e/.testspectra/types/mobile.d.ts +3 -0
- package/templates/nx/modules/catalog/e2e/.testspectra/types/web.d.ts +3 -0
- package/templates/nx/modules/catalog/e2e/tsconfig.android.tsbuildinfo +1 -1
- package/templates/nx/modules/catalog/e2e/tsconfig.ios.tsbuildinfo +1 -1
- package/templates/nx/modules/catalog/e2e/tsconfig.web.tsbuildinfo +1 -1
- package/templates/nx/node_modules/.svelte2tsx-language-server-files/svelte-native-jsx.d.ts +32 -0
- package/templates/nx/node_modules/.svelte2tsx-language-server-files/svelte-shims-v4.d.ts +290 -0
- package/templates/nx/pnpm-workspace.yaml +1 -0
- package/templates/nx/shared/testing/actions/dismissBanner/common.action.ts +6 -0
- package/templates/nx/shared/testing/fixtures/appConfig.json +4 -0
- package/templates/nx/shared/testing/page-objects/NavigationBar/common.ts +13 -0
- package/templates/nx/shared/testing/steps/loginAsAdmin/common.step.ts +3 -0
- package/templates/nx/shared/testing/tsconfig.json +9 -5
- package/templates/nx/shared/testing/tsconfig.tsbuildinfo +1 -1
- package/templates/nx/shared/testing/src/index.ts +0 -5
|
@@ -64,16 +64,19 @@ interface Promise<T> {
|
|
|
64
64
|
declare const LoginPage: typeof import('../../page-objects/LoginPage/mobile.js').default;
|
|
65
65
|
declare const ProductPage: typeof import('../../page-objects/ProductPage/mobile.js').default;
|
|
66
66
|
declare const SettingsPage: typeof import('../../page-objects/SettingsPage/common.js').default;
|
|
67
|
+
declare const NavigationBar: typeof import('../../../../../shared/testing/page-objects/NavigationBar/common.js').default;
|
|
67
68
|
|
|
68
69
|
interface TestSpectraActions extends Omit<typeof import('@testspectra/cli').Spectra, ''> {
|
|
69
70
|
applyDiscount: (typeof import('../../actions/applyDiscount/mobile.action.js') extends { default: infer T } ? T : typeof import('../../actions/applyDiscount/mobile.action.js'));
|
|
70
71
|
verifyOtp: (typeof import('../../actions/verifyOtp/mobile.action.js') extends { default: infer T } ? T : typeof import('../../actions/verifyOtp/mobile.action.js'));
|
|
72
|
+
dismissBanner: (typeof import('../../../../../shared/testing/actions/dismissBanner/common.action.js') extends { default: infer T } ? T : typeof import('../../../../../shared/testing/actions/dismissBanner/common.action.js'));
|
|
71
73
|
}
|
|
72
74
|
declare const Spectra: TestSpectraActions;
|
|
73
75
|
|
|
74
76
|
interface TestSpectraSteps {
|
|
75
77
|
loginUser: (typeof import('../../steps/loginUser/mobile.step.js') extends { default: infer T } ? T : typeof import('../../steps/loginUser/mobile.step.js'));
|
|
76
78
|
searchProduct: (typeof import('../../steps/searchProduct/mobile.step.js') extends { default: infer T } ? T : typeof import('../../steps/searchProduct/mobile.step.js'));
|
|
79
|
+
loginAsAdmin: (typeof import('../../../../../shared/testing/steps/loginAsAdmin/common.step.js') extends { default: infer T } ? T : typeof import('../../../../../shared/testing/steps/loginAsAdmin/common.step.js'));
|
|
77
80
|
}
|
|
78
81
|
declare const Step: TestSpectraSteps;
|
|
79
82
|
|
|
@@ -62,16 +62,19 @@ interface Promise<T> {
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
declare const SettingsPage: typeof import('../../page-objects/SettingsPage/common.js').default;
|
|
65
|
+
declare const NavigationBar: typeof import('../../../../../shared/testing/page-objects/NavigationBar/common.js').default;
|
|
65
66
|
|
|
66
67
|
interface TestSpectraActions extends Omit<typeof import('@testspectra/cli').Spectra, ''> {
|
|
67
68
|
applyDiscount: (...args: any[]) => Promise<any>;
|
|
68
69
|
verifyOtp: (...args: any[]) => Promise<any>;
|
|
70
|
+
dismissBanner: (typeof import('../../../../../shared/testing/actions/dismissBanner/common.action.js') extends { default: infer T } ? T : typeof import('../../../../../shared/testing/actions/dismissBanner/common.action.js'));
|
|
69
71
|
}
|
|
70
72
|
declare const Spectra: TestSpectraActions;
|
|
71
73
|
|
|
72
74
|
interface TestSpectraSteps {
|
|
73
75
|
loginUser: (...args: any[]) => Promise<any>;
|
|
74
76
|
searchProduct: (...args: any[]) => Promise<any>;
|
|
77
|
+
loginAsAdmin: (typeof import('../../../../../shared/testing/steps/loginAsAdmin/common.step.js') extends { default: infer T } ? T : typeof import('../../../../../shared/testing/steps/loginAsAdmin/common.step.js'));
|
|
75
78
|
}
|
|
76
79
|
declare const Step: TestSpectraSteps;
|
|
77
80
|
|
|
@@ -64,16 +64,19 @@ interface Promise<T> {
|
|
|
64
64
|
declare const LoginPage: typeof import('../../page-objects/LoginPage/mobile.js').default;
|
|
65
65
|
declare const ProductPage: typeof import('../../page-objects/ProductPage/mobile.js').default;
|
|
66
66
|
declare const SettingsPage: typeof import('../../page-objects/SettingsPage/common.js').default;
|
|
67
|
+
declare const NavigationBar: typeof import('../../../../../shared/testing/page-objects/NavigationBar/common.js').default;
|
|
67
68
|
|
|
68
69
|
interface TestSpectraActions extends Omit<typeof import('@testspectra/cli').Spectra, ''> {
|
|
69
70
|
applyDiscount: (typeof import('../../actions/applyDiscount/mobile.action.js') extends { default: infer T } ? T : typeof import('../../actions/applyDiscount/mobile.action.js'));
|
|
70
71
|
verifyOtp: (typeof import('../../actions/verifyOtp/mobile.action.js') extends { default: infer T } ? T : typeof import('../../actions/verifyOtp/mobile.action.js'));
|
|
72
|
+
dismissBanner: (typeof import('../../../../../shared/testing/actions/dismissBanner/common.action.js') extends { default: infer T } ? T : typeof import('../../../../../shared/testing/actions/dismissBanner/common.action.js'));
|
|
71
73
|
}
|
|
72
74
|
declare const Spectra: TestSpectraActions;
|
|
73
75
|
|
|
74
76
|
interface TestSpectraSteps {
|
|
75
77
|
loginUser: (typeof import('../../steps/loginUser/mobile.step.js') extends { default: infer T } ? T : typeof import('../../steps/loginUser/mobile.step.js'));
|
|
76
78
|
searchProduct: (typeof import('../../steps/searchProduct/mobile.step.js') extends { default: infer T } ? T : typeof import('../../steps/searchProduct/mobile.step.js'));
|
|
79
|
+
loginAsAdmin: (typeof import('../../../../../shared/testing/steps/loginAsAdmin/common.step.js') extends { default: infer T } ? T : typeof import('../../../../../shared/testing/steps/loginAsAdmin/common.step.js'));
|
|
77
80
|
}
|
|
78
81
|
declare const Step: TestSpectraSteps;
|
|
79
82
|
|
|
@@ -64,16 +64,19 @@ interface Promise<T> {
|
|
|
64
64
|
declare const LoginPage: typeof import('../../page-objects/LoginPage/mobile.js').default;
|
|
65
65
|
declare const ProductPage: typeof import('../../page-objects/ProductPage/mobile.js').default;
|
|
66
66
|
declare const SettingsPage: typeof import('../../page-objects/SettingsPage/common.js').default;
|
|
67
|
+
declare const NavigationBar: typeof import('../../../../../shared/testing/page-objects/NavigationBar/common.js').default;
|
|
67
68
|
|
|
68
69
|
interface TestSpectraActions extends Omit<typeof import('@testspectra/cli').Spectra, ''> {
|
|
69
70
|
applyDiscount: (typeof import('../../actions/applyDiscount/mobile.action.js') extends { default: infer T } ? T : typeof import('../../actions/applyDiscount/mobile.action.js'));
|
|
70
71
|
verifyOtp: (typeof import('../../actions/verifyOtp/mobile.action.js') extends { default: infer T } ? T : typeof import('../../actions/verifyOtp/mobile.action.js'));
|
|
72
|
+
dismissBanner: (typeof import('../../../../../shared/testing/actions/dismissBanner/common.action.js') extends { default: infer T } ? T : typeof import('../../../../../shared/testing/actions/dismissBanner/common.action.js'));
|
|
71
73
|
}
|
|
72
74
|
declare const Spectra: TestSpectraActions;
|
|
73
75
|
|
|
74
76
|
interface TestSpectraSteps {
|
|
75
77
|
loginUser: (typeof import('../../steps/loginUser/mobile.step.js') extends { default: infer T } ? T : typeof import('../../steps/loginUser/mobile.step.js'));
|
|
76
78
|
searchProduct: (typeof import('../../steps/searchProduct/mobile.step.js') extends { default: infer T } ? T : typeof import('../../steps/searchProduct/mobile.step.js'));
|
|
79
|
+
loginAsAdmin: (typeof import('../../../../../shared/testing/steps/loginAsAdmin/common.step.js') extends { default: infer T } ? T : typeof import('../../../../../shared/testing/steps/loginAsAdmin/common.step.js'));
|
|
77
80
|
}
|
|
78
81
|
declare const Step: TestSpectraSteps;
|
|
79
82
|
|
|
@@ -64,16 +64,19 @@ interface Promise<T> {
|
|
|
64
64
|
declare const LoginPage: typeof import('../../page-objects/LoginPage/web.js').default;
|
|
65
65
|
declare const ProductPage: typeof import('../../page-objects/ProductPage/web.js').default;
|
|
66
66
|
declare const SettingsPage: typeof import('../../page-objects/SettingsPage/common.js').default;
|
|
67
|
+
declare const NavigationBar: typeof import('../../../../../shared/testing/page-objects/NavigationBar/common.js').default;
|
|
67
68
|
|
|
68
69
|
interface TestSpectraActions extends Omit<typeof import('@testspectra/cli').Spectra, ''> {
|
|
69
70
|
applyDiscount: (typeof import('../../actions/applyDiscount/web.action.js') extends { default: infer T } ? T : typeof import('../../actions/applyDiscount/web.action.js'));
|
|
70
71
|
verifyOtp: (typeof import('../../actions/verifyOtp/web.action.js') extends { default: infer T } ? T : typeof import('../../actions/verifyOtp/web.action.js'));
|
|
72
|
+
dismissBanner: (typeof import('../../../../../shared/testing/actions/dismissBanner/common.action.js') extends { default: infer T } ? T : typeof import('../../../../../shared/testing/actions/dismissBanner/common.action.js'));
|
|
71
73
|
}
|
|
72
74
|
declare const Spectra: TestSpectraActions;
|
|
73
75
|
|
|
74
76
|
interface TestSpectraSteps {
|
|
75
77
|
loginUser: (typeof import('../../steps/loginUser/web.step.js') extends { default: infer T } ? T : typeof import('../../steps/loginUser/web.step.js'));
|
|
76
78
|
searchProduct: (typeof import('../../steps/searchProduct/web.step.js') extends { default: infer T } ? T : typeof import('../../steps/searchProduct/web.step.js'));
|
|
79
|
+
loginAsAdmin: (typeof import('../../../../../shared/testing/steps/loginAsAdmin/common.step.js') extends { default: infer T } ? T : typeof import('../../../../../shared/testing/steps/loginAsAdmin/common.step.js'));
|
|
77
80
|
}
|
|
78
81
|
declare const Step: TestSpectraSteps;
|
|
79
82
|
|