Slide 27
Slide 27 text
ୈ 2 ষ Appium ʹΑΔϞόΠϧΞϓϦಈ࡞ݕূͷࣗಈԽೖ2.2 Android ΞϓϦͷͨΊͷڥߏங
v Do you want WebdriverIO to autogenerate some test files? no
v Which reporter do you want to use? spec
v Do you want to add a plugin to your test setup?
v Would you like to include Visual Testing to your setup? For more information see https://webdrive
v Do you want to add a service to your test setup? appium
v Do you want me to run ‘bun install‘ yes
v Continue with Appium setup using appium-installer (https://github.com/AppiumTestDistribution/appi
͜ΕʹΑΓ࣍ͷΑ͏ͳมߋ͕ࣗಈͰద༻͞Ε·͢ɻ
• WebdriverIO Λ࣮ߦ͢ΔͨΊͷґଘͱεΫϦϓτίϚϯυͷՃ
• WebdriverIO ͷૢ࡞ରΛࢦఆ͢ΔͨΊͷઃఆϑΝΠϧ (wdio.conf.ts) ͷՃ
࣍ʹ WebdriverIO ্ͰઃఆϑΝΠϧΦʔτϝʔγϣϯ༻ͷεΫϦϓτΛॻͨ͘Ίʹ TypeScript
ͷઃఆϑΝΠϧ (tsconfig.json) Λ࣍ͷΑ͏ʹमਖ਼͠·͢ɻ΄΅ͯ͢ॻ͖͑ΔͷͰ diff Ͱͳ͘
ॻ͖͑ͨޙͷঢ়ଶΛࡌͤ·͢ɻ
tsconfig.json
{
"compilerOptions": {
"moduleResolution": "node",
"module": "ESNext",
"target": "es2022",
"lib": [
"es2022"
],
"types": [
"node",
"@wdio/globals/types",
"expect-webdriverio",
"@wdio/mocha-framework",
"@wdio/appium-service"
],
"skipLibCheck": true,
"noEmit": true,
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": [
"test",
"wdio.conf.ts"
]
}
20