This is an example mobile WDIO Appium project that shows the level of automation testing skills
MIT License
[!NOTE] There was no goal to cover all functionality and views of Google Translate
main screen
, select language screen
and all tests
[ISSUE => ]
. Also there is custom allure decodator @step()
for convinient usageESLint
and CodeQL
analysis on push and pull requests.env
file, like LOG_LVL=debug
ApplicationScreens
via @screens
importimport { ApplicationScreens } from '@screens/ApplicationScreens';
await screens.mainScreen.function();
await screens.searchLanguageScreen.function();
await screens.your_screen.function();
.github
folder - static code analysis pipelines setupconfig
folder - webdriver and reporter configurationsdemo
folder - screenshots for README.md
docs
folder - for different instructions and rulesgoogle-translate-autotests
folder - divided into functional and non-functional autotestsscreens
folder - selectors and screen functionssupport
folder - different utils and data for testspackage.json
you can find scripts and dependenciestsconfig.json
you can find imports setupnpm install
.env
file, that should be located in project root. Example of file:PLATFORM_NAME=Android
DEVICE_NAME=Pixel 6 API 30
PLATFORM_VERSION=11
RETRIES=1 #optional retries on fail number, 0 by default
MAX_INSTANCES=1 #optional parallel runs number, 1 by default
LOG_LVL=silent #optional log level, available 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent'
app
forlder in project root and add the .apk
file to itpakage.json
, for example run-functional-autotests
. Or by using command from project root:npm run run-functional-autotests
MIT License
Copyright (c) 2024 Yevhenii Marchenko
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.