@testspectra/cli 1.0.16 → 1.0.18
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/commands/init.js +273 -58
- package/dist/commands/run.js +11 -1
- package/dist/config/loader.js +11 -4
- 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/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/modules/catalog/e2e/spectra.config.ts +0 -61
- package/templates/nx/shared/testing/src/index.ts +0 -5
- /package/templates/nx/{modules/auth/e2e/spectra.config.ts → spectra.config.ts} +0 -0
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from "@testspectra/cli";
|
|
2
|
-
|
|
3
|
-
export default defineConfig({
|
|
4
|
-
webConfig: {
|
|
5
|
-
baseUrl: "https://the-internet.herokuapp.com",
|
|
6
|
-
maxConcurrentSessions: "1",
|
|
7
|
-
headlessMode: true,
|
|
8
|
-
implicitWait: "5000",
|
|
9
|
-
pageLoadTimeout: "30000",
|
|
10
|
-
scriptTimeout: "30000",
|
|
11
|
-
parallelizationMode: "testcase",
|
|
12
|
-
},
|
|
13
|
-
browsers: [
|
|
14
|
-
{
|
|
15
|
-
id: "chrome-desktop",
|
|
16
|
-
type: "chrome",
|
|
17
|
-
mobileEmulation: false,
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
androidConfig: {
|
|
21
|
-
appiumServer: "http://127.0.0.1:4723",
|
|
22
|
-
platformName: "Android",
|
|
23
|
-
platformVersion: "13",
|
|
24
|
-
deviceName: "emulator-5554",
|
|
25
|
-
automationName: "UiAutomator2",
|
|
26
|
-
appPackage: "",
|
|
27
|
-
appActivity: "",
|
|
28
|
-
autoGrantPermissions: true,
|
|
29
|
-
noReset: false,
|
|
30
|
-
implicitWait: "10000",
|
|
31
|
-
parallelizationMode: "suite",
|
|
32
|
-
},
|
|
33
|
-
iosConfig: {
|
|
34
|
-
appiumServer: "http://127.0.0.1:4723",
|
|
35
|
-
platformName: "iOS",
|
|
36
|
-
platformVersion: "16.0",
|
|
37
|
-
deviceName: "iPhone 14",
|
|
38
|
-
automationName: "XCUITest",
|
|
39
|
-
bundleId: "",
|
|
40
|
-
udid: "auto",
|
|
41
|
-
xcodeOrgId: "",
|
|
42
|
-
xcodeSigningId: "iPhone Developer",
|
|
43
|
-
autoAcceptAlerts: true,
|
|
44
|
-
noReset: false,
|
|
45
|
-
implicitWait: "10000",
|
|
46
|
-
parallelizationMode: "suite",
|
|
47
|
-
},
|
|
48
|
-
loadConfig: {
|
|
49
|
-
virtualUsers: "10",
|
|
50
|
-
duration: "1m",
|
|
51
|
-
},
|
|
52
|
-
loadStages: [],
|
|
53
|
-
thresholds: [],
|
|
54
|
-
executionConfig: {
|
|
55
|
-
networkMonitoringEnabled: true,
|
|
56
|
-
fastResponseTime: "200",
|
|
57
|
-
normalResponseTime: "1000",
|
|
58
|
-
monitoredDomains: [],
|
|
59
|
-
environmentVariables: [],
|
|
60
|
-
},
|
|
61
|
-
});
|
|
File without changes
|