ohos CI: Add webdriver based scenario tests#40473
ohos CI: Add webdriver based scenario tests#40473jschwe merged 30 commits intoservo:mainfrom monissaJ:monissa_1107
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.
Could you maybe add a small comment explaining how the calculation works (what does H:SendCommands trace?)
There was a problem hiding this comment.
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 <[email protected]>
Signed-off-by: monissaJ <[email protected]>
Signed-off-by: monissaJ <[email protected]>
Signed-off-by: monissaJ <[email protected]>
Signed-off-by: monissaJ <[email protected]>
Signed-off-by: monissaJ <[email protected]>
Signed-off-by: monissaJ <[email protected]>
Signed-off-by: monissaJ <[email protected]>
Signed-off-by: monissaJ <[email protected]>
Signed-off-by: monissaJ <[email protected]>
Signed-off-by: monissaJ <[email protected]>
Signed-off-by: monissaJ <[email protected]>
Signed-off-by: Jonathan Schwender <[email protected]>
Signed-off-by: Jonathan Schwender <[email protected]>
The result step failed to detect failure. Signed-off-by: Jonathan Schwender <[email protected]>
Signed-off-by: Jonathan Schwender <[email protected]>
Signed-off-by: monissaJ <[email protected]>
Signed-off-by: monissaJ <[email protected]>
Signed-off-by: monissaJ <[email protected]>
Signed-off-by: monissaJ <[email protected]>
Signed-off-by: Jonathan Schwender <[email protected]>
Signed-off-by: monissaJ <[email protected]>
Signed-off-by: monissaJ <[email protected]>
Signed-off-by: monissaJ <[email protected]>
Signed-off-by: monissaJ <[email protected]>
Signed-off-by: monissaJ <[email protected]>
Signed-off-by: Jonathan Schwender <[email protected]>
We use pyproject.toml now. Signed-off-by: Jonathan Schwender <[email protected]>
Signed-off-by: Jonathan Schwender <[email protected]>
Signed-off-by: Jonathan Schwender <[email protected]>
|
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.
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.