-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
ohos CI: Add webdriver based scenario tests #40473
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
Conversation
| commands_list = [] | ||
| with open(file_name, 'r') as f: | ||
| for line in f.readlines(): | ||
| if len(re.findall(r'org.servo.servo', line)) > 0 and len(re.findall(r'H:SendCommands', line)) > 0: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you maybe add a small comment explaining how the calculation works (what does H:SendCommands trace?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When there are elements moving on the page, H: EndCommands will be printed to indicate that the frame is being sent out. After capturing the trace, the frame rate can be obtained by calculating the number of frames printed per unit time (per second).
|
You also should run |
|
🛠 These changes could not be applied onto the latest upstream WPT. Servo's copy of the Web Platform Tests may be out of sync. |
3 similar comments
|
🛠 These changes could not be applied onto the latest upstream WPT. Servo's copy of the Web Platform Tests may be out of sync. |
|
🛠 These changes could not be applied onto the latest upstream WPT. Servo's copy of the Web Platform Tests may be out of sync. |
|
🛠 These changes could not be applied onto the latest upstream WPT. Servo's copy of the Web Platform Tests may be out of sync. |
Signed-off-by: monissaJ <2362314605@qq.com>
Signed-off-by: monissaJ <2362314605@qq.com>
Signed-off-by: monissaJ <2362314605@qq.com>
Signed-off-by: monissaJ <2362314605@qq.com>
Signed-off-by: monissaJ <2362314605@qq.com>
Signed-off-by: monissaJ <2362314605@qq.com>
Signed-off-by: monissaJ <2362314605@qq.com>
Signed-off-by: monissaJ <2362314605@qq.com>
Signed-off-by: monissaJ <2362314605@qq.com>
Signed-off-by: monissaJ <2362314605@qq.com>
Signed-off-by: monissaJ <2362314605@qq.com>
Signed-off-by: monissaJ <2362314605@qq.com>
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
The result step failed to detect failure. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
Signed-off-by: monissaJ <2362314605@qq.com>
Signed-off-by: monissaJ <2362314605@qq.com>
Signed-off-by: monissaJ <2362314605@qq.com>
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
Signed-off-by: monissaJ <2362314605@qq.com>
Signed-off-by: monissaJ <2362314605@qq.com>
Signed-off-by: monissaJ <2362314605@qq.com>
Signed-off-by: monissaJ <2362314605@qq.com>
Signed-off-by: monissaJ <2362314605@qq.com>
We use pyproject.toml now. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
|
I updated the description to better match the current status (e.g. framerate measuring is currently not added to CI, albeit already present in the scripts) |
jschwe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this! I think we can merge this now, and continue iterating on the scripts afterwards.
Add webdriver based scripts to run scenario tests on OpenHarmony devices, with the purpose of testing functionality in CI. For now passing these tests will not be enforced, as we first need to see how reliable the CI tests are in daily usage.
Testing:
Functional and Performance Test Cases: Test that when new code is deployed, the Servo homepage and Mossel homepage load correctly; Mossel's navigation and swipe functions work properly.