Open Bug 1617862 Opened 5 years ago Updated 3 years ago

Add command line option to generate screenshots when running raptor tests

Categories

(Testing :: Raptor, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: Bebe, Unassigned)

Details

Add screen_capture as a command line option so we can easily enable this feature on all tests
add this as:
mach raptor-test -t <test name> --screen_capture

Priority: -- → P2

Note that this would help me a lot when investigating failures like those pageload timeouts. given that you set it to P2, are you planning to get this implemented soon?

Flags: needinfo?(fstrugariu)

not on my future task list... but for sure something we would like to have.
If you think it it's important we can assign it to someone soon

Flags: needinfo?(fstrugariu) → needinfo?(hskupin)

So I actually checked page load tests, and there we create a screenshot in case of a page load timeout. Florin, maybe you can clarify what exactly this command should do for this kind of test, and benchmarks?

Flags: needinfo?(hskupin) → needinfo?(fstrugariu)

This command line should replace the "screen_capture" we add in the config ini files to generate screenshots when we run the tests. with a raptor command line option.

executing:
mach raptor-test -t <test_name> --screen_capture

This should generate the screen_capture html file

Note: screen shout generation should be done at every cycle.

Going forward with this we can fallow the same strategy as "gecko profile" and add this as a fuzzy command line for raptor tests
Doing so we can have this as a available easy option to our try builds:

mach try fuzzy --screen_capture

Flags: needinfo?(fstrugariu)

Please can we use --screen-capture instead of --screen_capture

Priority: P2 → P3
Version: Version 3 → unspecified
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.