-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Merging generated clipboard API tests #1242
base: master
Are you sure you want to change the base?
Conversation
@hallvors awesome :-)! |
See https://travis-ci.org/w3c/web-platform-tests/builds/43112700
|
One major issue I know about: all setTimeout() usage should be fixed to use testharness.js conventions. Apart from that, further review is welcome :) |
deaf7d1
to
1301bbf
Compare
…ery time the test suite is built
68be7a9
to
ff638f9
Compare
@gked This PR is possibly of interest to you since you were looking into migrating clipboard tests into WPT. |
I found this PR linked in https://github.com/w3c/clipboard-apis/blob/18e871aba0be2849c67ea8416f7bdf26de30562c/README.md. What is the status of this, anyone planning to finish it? |
Do we know if these were reviewed prior to landing in the clipboard API repo? |
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.
A couple of major issues from a quick glance where tests are actually manual.
} | ||
} | ||
if(typeof triggerTestManually==='function'){ | ||
/* Tests that require user interaction define a "triggerTestManually()" function. |
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.
All these tests need a -manual suffix.
(function(){ | ||
var t = async_test() | ||
var dataToPaste="clipboard text" ; | ||
var extPassCond="clipboard text" ; |
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.
Anything with an external pass condition can't be verified through JS and therefore needs to be -manual.
Could you delete w portable management. |
These tests are generated from script elements inside spec source code using the Python script here:
http://dev.w3.org/2006/webapi/clipops/TC-generator/