Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Support wda server version v7.1.1 API and add benchmark e2e testing #144

Merged
merged 13 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .developer/dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
### Initialize Developer Environment

# Set up the environment
python3 -m venv ./venv

# Use venv
source ./venv/bin/activate

# Download Python packages
pip install -r requirements.txt
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,12 @@ $ ideviceinstaller -l
## Tests
测试的用例放在`tests/`目录下,使用iphone SE作为测试机型,系统语言应用。调度框架`pytest`

## WDA Benchmark E2E Tests
[E2E Tests](e2e_benchmarks)
Latest WDA Version Testing Report:
- [WDA Version 7.1.1](e2e_benchmarks/reports/WDA_V711.md)
- [WDA Version 6.1.1](e2e_benchmarks/reports/WDA_V611.md)

## Reference
Source code

Expand Down
9 changes: 9 additions & 0 deletions e2e_benchmarks/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# E2E Testing

## Overview
This directory contains end-to-end tests for the operator.
This will involve benchmark testing across different [WDA service versions](https://github.com/appium/WebDriverAgent/releases).

## Running the tests
The tests can be run using the `pytest -v -rsx '/Users/youngfreefjs/Desktop/code/github/facebook-wda/e2e_benchmarks/'` script.
This will install the WDA service versions, ensuring a swift identification of whether the client remains compatible and functional after an upgrade in the WDA service.
Empty file added e2e_benchmarks/__init__.py
Empty file.
Loading