You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to insert new tests into editing/data/delete.js and editing/data/forwarddelete.js, I see new error because of dependency between subtests. For example,
The reason why I want to insert instead of append new tests is, the new tests are variant of existing tests. Therefore, for making their expected result consistent, appending new tests have 2 demerits, one is it's harder to check whether there is what you want to add new tests, the other is that it makes taking more time to maintain behavior/spec changes.
When I try to insert new tests into editing/data/delete.js and editing/data/forwarddelete.js, I see new error because of dependency between subtests. For example,
https://searchfox.org/mozilla-central/rev/df4c90d4b8c92c99f76334acfe4813c573c12661/testing/web-platform/tests/editing/data/delete.js#728-737
The latter test checks
defaultparagraphseparator
command value before running its test. However, that depends on the previous test result. Therefore, if the latter becomes first test of a subtest, it always fails.The reason why I want to insert instead of append new tests is, the new tests are variant of existing tests. Therefore, for making their expected result consistent, appending new tests have 2 demerits, one is it's harder to check whether there is what you want to add new tests, the other is that it makes taking more time to maintain behavior/spec changes.
@johanneswilm, @zcorpan WDYT? (FYI: split by #11436)
The text was updated successfully, but these errors were encountered: