Open Bug 1400847 Opened 2 years ago Updated 2 years ago

[META] Migrate old console frontend tests to the new one

Categories

(DevTools :: Console, enhancement, P2)

enhancement

Tracking

(firefox57 affected)

Tracking Status
firefox57 --- affected

People

(Reporter: nchevobbe, Unassigned)

References

(Depends on 3 open bugs)

Details

(Keywords: meta, Whiteboard: [console-html])

We have a high number of tests in the old console and we should make sure they pass with the new frontend as well.

That being said, it might occurs that a test is irrelevant (because it is already tested in the new frontend or in reps, because it tests the variableView or because we do things in a different way).

This bug should track this "triaging" work so we can then later file individual actionable bugs to migrate test to the new frontend.

The process should be: 
- Open the test file
- Check that it is still relevant in the new frontend context
- If it is, comment these lines in head.js : http://searchfox.org/mozilla-central/rev/05c4c3bc0cfb9b0fc66bdfc8c47cac674e45f151/devtools/client/webconsole/test/head.js#298-301 , and run the test.
- If it passes, put it in a list somewhere (in this bug ?) of safe tests to copy to the new frontend folder (we'll then have a bug to copy all those safe tests). 
- If it fails, create a bug that would say "Copy XXX_test to the new frontend folder"

Let's use https://docs.google.com/spreadsheets/d/11RBIwROFsdPzEXkt94Bzk-y49KxRu08dwC6hvA-MOGA/edit#gid=0 to do the triaging work. There are filter views for irrelevant, failing and passing tests, so we can then extract those lists.

At the moment I see 210 tests to triage, we could split that in buckets of 10 that people would do from time to time during the day so it's not to painful to go through. If we are 3 doing this, that mean 70 bugs each, 7 buckets. I'd say we could go over this in a week or two by doing 1 to 2 bucket a day.
Priority: -- → P2
Whiteboard: [console-html][triage]
Summary: [META] Migrate old console frontend to the new one → [META] Migrate old console frontend tests to the new one
Depends on: 1401548
Depends on: 1401560
Depends on: 1401881
Depends on: 1401942
Depends on: 1401944
Depends on: 1401953
Depends on: 1401958
Depends on: 1401959
Depends on: 1401963
Depends on: 1401965
Flags: qe-verify-
Keywords: meta
Whiteboard: [console-html][triage] → [console-html]
Depends on: 1403188
Depends on: 1403196
Depends on: 1403200
Depends on: 1403205
Depends on: 1403448
Depends on: 1403449
Depends on: 1403450
Depends on: 1403452
Depends on: 1403454
Depends on: 1403458
Depends on: 1403899
Depends on: 1403902
Depends on: 1403907
Depends on: 1403910
Depends on: 1404359
Depends on: 1404364
Depends on: 1404368
Depends on: 1404371
Depends on: 1404378
Depends on: 1404382
Depends on: 1404384
Depends on: 1404392
Depends on: 1404400
Depends on: 1404829
Depends on: 1404831
Depends on: 1404832
Depends on: 1404843
Depends on: 1404844
Depends on: 1404849
Depends on: 1404850
Depends on: 1404851
Depends on: 1404853
Depends on: 1404877
Depends on: 1404882
Depends on: 1404883
Depends on: 1404884
Depends on: 1404886
Depends on: 1404888
Depends on: 1405243
Depends on: 1405245
Depends on: 1405248
Depends on: 1405250
Depends on: 1405252
Depends on: 1405254
Depends on: 1405333
Depends on: 1405340
Depends on: 1405341
Depends on: 1405343
Depends on: 1405350
Depends on: 1405352
Depends on: 1405636
Depends on: 1405637
Depends on: 1405641
Depends on: 1405647
Depends on: 1405648
Depends on: 1405649
Depends on: 1405650
Depends on: 1405652
Depends on: 1406022
Depends on: 1406028
Depends on: 1406030
Depends on: 1406038
Depends on: 1406039
Depends on: 1406042
Depends on: 1406060
Depends on: 1406069
Depends on: 1406841
Depends on: 1407178
Depends on: 1407253
Blocks: 1407630
Depends on: 1408941
Depends on: 1408940
Depends on: 1408928, 1408942
Depends on: 1408935
Depends on: 1408930, 1408937
Depends on: 1408921, 1408924
Depends on: 1408936, 1408934
Depends on: 1408931, 1408943
Depends on: 1408948
Depends on: 1408926, 1408893
Depends on: 1408917, 1408919
Depends on: 1408946
Depends on: 1408918, 1408920
Depends on: 1408922, 1408927
Depends on: 1408925, 1408870
Depends on: 1408938, 1408950
Depends on: 1408945
Depends on: 1408929, 1408947
Depends on: 1408933, 1408944
Depends on: 1408949
Depends on: 1408872, 1408923
Depends on: 1408916, 1408932
Depends on: 1408915, 1408939
Depends on: 1408958
Depends on: 1411502
Blocks: 1390001
Duplicate of this bug: 1307923
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.