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

Add automation support via WebDriver #141

Merged
merged 1 commit into from Mar 22, 2024
Merged

Conversation

JuhaVainio
Copy link
Contributor

@JuhaVainio JuhaVainio commented Mar 20, 2024

This PR integrates with the automation concepts defined in https://w3c.github.io/device-posture/#automation to allow changing device posture through the WebDriver extension commands defined there.

Set device posture WebDriver extension will enable overriding posture defined by hardware.

Clear device posture WebDriver extension removes device posture override and returns device posture control back to hardware.

Closes #140

The following tasks have been completed:

  • Modified Web platform tests (link to pull request)
    • This change makes it possible to write tests in Web platform tests

Implementation commitment:


Preview | Diff

This PR integrates with the automation concepts defined in
https://w3c.github.io/device-posture/#automation to allow changing
device posture through the WebDriver extension commands defined there.

Set device posture WebDriver extension will enable overriding posture
defined by hardware.

Clear device posture WebDriver extension removes device posture override
and returns device posture control back to hardware.

Fixes #140
@rakuco
Copy link
Member

rakuco commented Mar 22, 2024

@darktears @kenchris For the record, I reviewed this PR internally so I'd appreciate it if a second pair of eyes could take a look at this.

@darktears darktears merged commit 39d8284 into gh-pages Mar 22, 2024
2 checks passed
JuhaVainio added a commit to JuhaVainio/WPT that referenced this pull request Apr 8, 2024
Spec PR: w3c/device-posture#141

This PR adds the required infrastructure to manipulate device posture
from testdriver. The two new commands correspond to the two WebDriver
extension commands added by the spec PR above.
past pushed a commit to web-platform-tests/wpt that referenced this pull request Apr 17, 2024
Spec PR: w3c/device-posture#141

This PR adds the required infrastructure to manipulate device posture
from testdriver. The two new commands correspond to the two WebDriver
extension commands added by the spec PR above.
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Apr 23, 2024
…estdriver, a=testonly

Automatic update from web-platform-tests
Add device posture-related commands to testdriver (#45602)

Spec PR: w3c/device-posture#141

This PR adds the required infrastructure to manipulate device posture
from testdriver. The two new commands correspond to the two WebDriver
extension commands added by the spec PR above.
--

wpt-commits: 1a6206c84228a17ab23a7e8b02768d1f15655705
wpt-pr: 45602
vinnydiehl pushed a commit to vinnydiehl/mozilla-unified that referenced this pull request Apr 24, 2024
…estdriver, a=testonly

Automatic update from web-platform-tests
Add device posture-related commands to testdriver (#45602)

Spec PR: w3c/device-posture#141

This PR adds the required infrastructure to manipulate device posture
from testdriver. The two new commands correspond to the two WebDriver
extension commands added by the spec PR above.
--

wpt-commits: 1a6206c84228a17ab23a7e8b02768d1f15655705
wpt-pr: 45602
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spec should specify a testing interface
3 participants