Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29755578: Issue 2148 - Rewrite the testpages test suite (Closed)

Created:
April 18, 2018, 11:54 a.m. by rossg
Modified:
June 13, 2018, 10:08 a.m.
CC:
Philip Hill, Manish Jethani, hub
Visibility:
Public.

Description

Issue 2148 - Rewrite the testpages test suite. Removing old testsuite/cases. Adding test cases for filter types, exceptions and some circumvention examples. The generic hide/block test pages still need to be recreated but I will do that in a future commit. This push is so that the pages can be used for AA filter type testing and so that the circumvention team can begin to create pages for testing CSP filters on top of this commit.

Patch Set 1 #

Total comments: 45

Patch Set 2 : Addressed Dave's feedback #

Total comments: 9

Patch Set 3 : Addressed more feedback. Added README. #

Total comments: 2

Patch Set 4 : Fixed README title #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -161 lines) Patch
A README.md View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M includes/footer.tmpl View 1 1 chunk +1 line, -1 line 0 comments Download
M includes/testcases.md View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M pages/circumvention/anoniframe-documentwrite.tmpl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pages/circumvention/inline-style-important.tmpl View 1 1 chunk +1 line, -1 line 0 comments Download
M pages/exceptions/document.tmpl View 1 3 chunks +5 lines, -4 lines 0 comments Download
M pages/exceptions/element-hiding.tmpl View 1 2 1 chunk +9 lines, -5 lines 0 comments Download
M pages/exceptions/elemhide.tmpl View 1 3 chunks +5 lines, -4 lines 0 comments Download
M pages/exceptions/image.tmpl View 1 3 chunks +4 lines, -3 lines 0 comments Download
M pages/exceptions/popup.tmpl View 1 3 chunks +4 lines, -3 lines 0 comments Download
M pages/exceptions/script.tmpl View 1 3 chunks +4 lines, -3 lines 0 comments Download
M pages/exceptions/stylesheet.tmpl View 1 3 chunks +4 lines, -3 lines 0 comments Download
M pages/exceptions/subdocument.tmpl View 1 3 chunks +4 lines, -3 lines 0 comments Download
M pages/exceptions/xmlhttprequest.tmpl View 1 2 4 chunks +5 lines, -10 lines 0 comments Download
M pages/filters/blocking.tmpl View 1 5 chunks +5 lines, -4 lines 0 comments Download
M pages/filters/element-hiding.tmpl View 1 13 chunks +13 lines, -12 lines 0 comments Download
M pages/filters/element-hiding-emulation.tmpl View 1 10 chunks +10 lines, -9 lines 0 comments Download
M pages/filters/image.tmpl View 1 3 chunks +4 lines, -3 lines 0 comments Download
M pages/filters/object.tmpl View 1 3 chunks +5 lines, -3 lines 0 comments Download
M pages/filters/object-subrequest.tmpl View 1 2 chunks +7 lines, -4 lines 0 comments Download
M pages/filters/ping.tmpl View 1 2 4 chunks +11 lines, -11 lines 0 comments Download
M pages/filters/popup.tmpl View 1 4 chunks +4 lines, -3 lines 0 comments Download
M pages/filters/script.tmpl View 1 3 chunks +4 lines, -3 lines 0 comments Download
M pages/filters/stylesheet.tmpl View 1 3 chunks +3 lines, -2 lines 0 comments Download
M pages/filters/subdocument.tmpl View 1 3 chunks +3 lines, -2 lines 0 comments Download
M pages/filters/webrtc.tmpl View 1 2 5 chunks +7 lines, -11 lines 0 comments Download
M pages/filters/websocket.tmpl View 1 2 3 chunks +4 lines, -9 lines 0 comments Download
M pages/filters/xmlhttprequest.tmpl View 1 2 4 chunks +4 lines, -9 lines 0 comments Download
M pages/index.md View 1 1 chunk +1 line, -1 line 0 comments Download
M static/css/testpages.css View 1 2 chunks +9 lines, -0 lines 0 comments Download
A static/images/abp-32.png View 1 Binary file 0 comments Download
M static/testcasefiles/document/stylesheet.css View 1 1 chunk +1 line, -1 line 0 comments Download
M static/testcasefiles/imageexception/stylesheet.css View 1 1 chunk +0 lines, -1 line 0 comments Download
M templates/default.tmpl View 1 1 chunk +1 line, -0 lines 0 comments Download
M templates/testcase.tmpl View 1 2 3 chunks +29 lines, -30 lines 0 comments Download

Messages

Total messages: 16
rossg
Patch Set 1
April 18, 2018, 12:19 p.m. (2018-04-18 12:19:24 UTC) #1
kzar
Great work Ross, it looks way better than the old site already! I've not reviewed ...
April 19, 2018, 1:08 p.m. (2018-04-19 13:08:28 UTC) #2
rossg
On 2018/04/19 13:08:28, kzar wrote: > Great work Ross, it looks way better than the ...
April 23, 2018, 9:42 a.m. (2018-04-23 09:42:20 UTC) #3
kzar
Please respond to inline code comments by clicking Reply by the comment itself. You go ...
April 23, 2018, 9:57 a.m. (2018-04-23 09:57:28 UTC) #4
kzar
> Will fix. BTW there's generally no need for these "Will fix" comments. Just respond ...
April 23, 2018, 10:26 a.m. (2018-04-23 10:26:42 UTC) #5
juliandoucette
Do you want me to review something specific (or the entire website contents of this ...
April 23, 2018, 2:12 p.m. (2018-04-23 14:12:30 UTC) #6
kzar
On 2018/04/23 14:12:30, juliandoucette wrote: > Do you want me to review something specific (or ...
April 23, 2018, 2:14 p.m. (2018-04-23 14:14:51 UTC) #7
rossg
On 2018/04/23 10:26:42, kzar wrote: > > Will fix. > > BTW there's generally no ...
April 25, 2018, 10:26 a.m. (2018-04-25 10:26:34 UTC) #8
rossg
Addressed Dave's feedback. Added descriptions/help text. Added favicon. Added pre tags. Fixed whitespace issues.
June 4, 2018, 1:24 p.m. (2018-06-04 13:24:41 UTC) #9
kzar
> It's fair to want to avoid too much text, but at the moment it's ...
June 4, 2018, 5:17 p.m. (2018-06-04 17:17:30 UTC) #10
rossg
> It would be cool if the URL "https://testpages.adblockplus.org" wasn't hard-coded everywhere ... I completely ...
June 7, 2018, 10:30 a.m. (2018-06-07 10:30:26 UTC) #11
kzar
One tiny nit in the README but otherwise LGTM. Nice work. > I completely agree ...
June 7, 2018, 11:43 a.m. (2018-06-07 11:43:06 UTC) #12
rossg
Fixed README title. Noted your comment about fixing hard-coded urls seperate to more pages. https://codereview.adblockplus.org/29755578/diff/29801569/README.md ...
June 7, 2018, 1:59 p.m. (2018-06-07 13:59:43 UTC) #13
kzar
LGTM
June 7, 2018, 2:22 p.m. (2018-06-07 14:22:29 UTC) #14
juliandoucette
I haven't read up on what this is or how it works yet. @Manvel do ...
June 8, 2018, 5:10 p.m. (2018-06-08 17:10:23 UTC) #15
saroyanm
June 11, 2018, 7:34 a.m. (2018-06-11 07:34:57 UTC) #16
On 2018/06/08 17:10:23, juliandoucette wrote:
> I haven't read up on what this is or how it works yet.
> 
> @Manvel do you already know and want to look this over? I think the current
> implementation has already been pushed and is causing a build error (unless
that
> was fixed already).
I haven't worked with the test pages much either, not sure what you want me look
at exactly ?
Also if this pushed already I think it's better to file a separate issue to fix
the build errors.

Sidenote: In general if Websites team doesn't maintain this code, maybe we can
make a note in the modules file, but probably it's a separate discussion.

Powered by Google App Engine
This is Rietveld