- blink_tool.py rebaseline-cl: can rebaseline for all platforms.
   - run_web_tests.py --reset-results: can rebaseline for your current
   platform, or if the baseline is not platform-dependent.
   - rebaseline script in results.html: can rebaseline for a particular
   platform (which can be different from your current platform) at a time, or
   if the baseline is not platform-dependent.

See the how-to-rebaseline
<https://chromium.googlesource.com/chromium/src/+/HEAD/docs/testing/web_test_expectations.md#How-to-rebaseline>document
for more details about the above options.

On Mon, Mar 14, 2022 at 9:01 PM Jihwan Kim <[email protected]> wrote:

> Thanks for help!
>
> I have one more question.
> There are 3 platforms on WPT. (Linux, Mac, Windows)
> In this case, to create new *-expected.png, should I have all these three
> devices?
>
> 2022년 3월 14일 월요일 오후 4시 41분 30초 UTC+9에 Xianzhu Wang님이 작성:
>
>> See also:
>> https://chromium.googlesource.com/chromium/src/+/HEAD/docs/testing/web_test_expectations.md#How-to-rebaseline
>> for other options.
>>
>> On Mon, Mar 14, 2022 at 3:32 PM 'Mathias Bynens' via blink-dev <
>> [email protected]> wrote:
>>
>>> Use --reset-results:
>>> https://chromium.googlesource.com/chromium/src/+/HEAD/docs/testing/web_tests.md#test-harness-options
>>>
>>> On Mon, Mar 14, 2022 at 7:39 AM Jihwan Kim <[email protected]> wrote:
>>>
>>>> I'm fixing issue with pickers, but some tests failed.
>>>> It was a failure due to image diff.
>>>>
>>>> Since the resource (css) file is modified, it is correct that the image
>>>> diff appears,
>>>> So I have to modify the some *-expected.png files.
>>>> (ex: datetimelocal-month-year-selector-expected.png)
>>>>
>>>> And my question is -
>>>> Are there any rules or tools to create *-expected.png?
>>>> or is it manual work (crop after screen capture, etc.)?
>>>>
>>>> This is my first time about an image comparison test,
>>>> so please understand even if the question is too basic.
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "blink-dev" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/dee25422-6fd2-4d08-9883-d9b3d345c7fen%40chromium.org
>>>> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/dee25422-6fd2-4d08-9883-d9b3d345c7fen%40chromium.org?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "blink-dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADizRgbbezvsx1iF5rqKgiPMAikZg74sTwiK1E4BNN4TtjAEWg%40mail.gmail.com
>>> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADizRgbbezvsx1iF5rqKgiPMAikZg74sTwiK1E4BNN4TtjAEWg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADBxricvTvK1vR38dbCX7dPYpaqx3vRLkJAY_a7f1Dy2pDyy7w%40mail.gmail.com.

Reply via email to