Skip to content

Commit 0cefec5

Browse files
committed
Move RegressionRunner.html under test, now that we are not restricted from file:// any more
1 parent 2584d05 commit 0cefec5

File tree

1 file changed

+38
-38
lines changed

1 file changed

+38
-38
lines changed
Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title>Regression Runner</title>
55
<meta charset="utf-8" />
66

7-
<script src="csscritic.js"></script>
7+
<script src="../csscritic.js"></script>
88

99
<script>
1010
window.onload = function () {
@@ -13,180 +13,180 @@
1313
.component("Passing test")
1414
.add({
1515
desc: "should show the rendered page",
16-
url: "test/ui/niceReporterPassedTest.html",
16+
url: "ui/niceReporterPassedTest.html",
1717
})
1818
.add({
1919
desc: "should underline the title",
20-
url: "test/ui/niceReporterPassedTest.html",
20+
url: "ui/niceReporterPassedTest.html",
2121
hover: ".titleLink",
2222
})
2323
.add({
2424
desc: 'should switch to "DOM view" on toggle button click',
25-
url: "test/ui/niceReporterPassedTestRealView.html",
25+
url: "ui/niceReporterPassedTestRealView.html",
2626
})
2727
.add({
2828
desc: 'should emboss "DOM view" button on hover',
29-
url: "test/ui/niceReporterPassedTest.html",
29+
url: "ui/niceReporterPassedTest.html",
3030
hover: ".toggleView",
3131
})
3232
.add({
3333
desc: 'should switch back from "DOM view"',
34-
url: "test/ui/niceReporterPassedTestRealViewBack.html",
34+
url: "ui/niceReporterPassedTestRealViewBack.html",
3535
})
3636

3737
.component("Failing test")
3838
.add({
3939
desc: "should show reference and actual rendering",
40-
url: "test/ui/niceReporterFailingTest.html",
40+
url: "ui/niceReporterFailingTest.html",
4141
})
4242
.add({
4343
desc: "should fade reference image on hover",
44-
url: "test/ui/niceReporterFailingTest.html",
44+
url: "ui/niceReporterFailingTest.html",
4545
hover: ".failed.comparison .referenceImageContainer",
4646
})
4747
.add({
4848
desc: "should show a tooltip on hover",
49-
url: "test/ui/niceReporterFailingTest.html",
49+
url: "ui/niceReporterFailingTest.html",
5050
hover: ".failed.comparison",
5151
})
5252
.add({
5353
desc: "should hide reference rendering and deactive button on accept",
54-
url: "test/ui/niceReporterFailingTestAccepted.html",
54+
url: "ui/niceReporterFailingTestAccepted.html",
5555
})
5656
.add({
5757
desc: "should deal with growing page size",
58-
url: "test/ui/niceReporterFailingTestWithGrowingContent.html",
58+
url: "ui/niceReporterFailingTestWithGrowingContent.html",
5959
hover: ".failed.comparison .referenceImageContainer",
6060
})
6161
.add({
6262
desc: 'should disable accept button in "real view"',
63-
url: "test/ui/niceReporterFailingTestRealView.html",
63+
url: "ui/niceReporterFailingTestRealView.html",
6464
})
6565

6666
.component("Missing reference")
6767
.add({
6868
desc: "should show the rendered page",
69-
url: "test/ui/niceReporterMissingReference.html",
69+
url: "ui/niceReporterMissingReference.html",
7070
})
7171
.add({
7272
desc: "should highlight the button on hover",
73-
url: "test/ui/niceReporterMissingReference.html",
73+
url: "ui/niceReporterMissingReference.html",
7474
hover: ".accept",
7575
})
7676
.add({
7777
desc: "should highlight the button on activation",
78-
url: "test/ui/niceReporterMissingReference.html",
78+
url: "ui/niceReporterMissingReference.html",
7979
active: ".accept",
8080
})
8181
.add({
8282
desc: "should deactivate the accept button on click",
83-
url: "test/ui/niceReporterMissingReferenceAccepted.html",
83+
url: "ui/niceReporterMissingReferenceAccepted.html",
8484
})
8585

8686
.component("Broken test")
8787
.add({
8888
desc: "should show a warning",
89-
url: "test/ui/niceReporterBrokenUrl.html",
89+
url: "ui/niceReporterBrokenUrl.html",
9090
})
9191

9292
.component("Additional parameters")
9393
.add({
9494
desc: "should prefer the description over the url as a title",
95-
url: "test/ui/niceReporterPassedTestWithDescription.html",
95+
url: "ui/niceReporterPassedTestWithDescription.html",
9696
})
9797
.add({
9898
desc: "should show an additional parameter",
99-
url: "test/ui/niceReporterTestWithASingleParameter.html",
99+
url: "ui/niceReporterTestWithASingleParameter.html",
100100
})
101101
.add({
102102
desc: "should show two additional paramaters",
103-
url: "test/ui/niceReporterTestWithMultipleParameters.html",
103+
url: "ui/niceReporterTestWithMultipleParameters.html",
104104
})
105105

106106
.component("Starting run")
107107
.add({
108108
desc: "should show an opaque rendering of the reference image",
109-
url: "test/ui/niceReporterStartingTest.html",
109+
url: "ui/niceReporterStartingTest.html",
110110
})
111111
.add({
112112
desc: "should handle a missing reference image",
113-
url: "test/ui/niceReporterStartingTestNoReference.html",
113+
url: "ui/niceReporterStartingTestNoReference.html",
114114
})
115115
.add({
116116
desc: "should update header according to progress",
117-
url: "test/ui/niceReporterOngoingRun.html",
117+
url: "ui/niceReporterOngoingRun.html",
118118
})
119119

120120
.component("Missing resources")
121121
.add({
122122
desc: "should warn about render errors for a passing test",
123-
url: "test/ui/niceReporterPassedTestMissingResources.html",
123+
url: "ui/niceReporterPassedTestMissingResources.html",
124124
})
125125
.add({
126126
desc: "should warn about render errors for a failing test",
127-
url: "test/ui/niceReporterFailingTestMissingResources.html",
127+
url: "ui/niceReporterFailingTestMissingResources.html",
128128
})
129129
.add({
130130
desc: "should warn about render errors for a missing reference",
131-
url: "test/ui/niceReporterMissingReferenceMissingResources.html",
131+
url: "ui/niceReporterMissingReferenceMissingResources.html",
132132
})
133133

134134
.component("Accept all")
135135
.add({
136136
desc: 'should show the "Accept all" button for three failing tests',
137-
url: "test/ui/niceReporterMultipleMissingReference.html",
137+
url: "ui/niceReporterMultipleMissingReference.html",
138138
})
139139
.add({
140140
desc: "should deactivate all accept buttons on accept",
141-
url: "test/ui/niceReporterMultipleMissingReferencesAccepted.html",
141+
url: "ui/niceReporterMultipleMissingReferencesAccepted.html",
142142
})
143143

144144
.component("Selection")
145145
.add({
146146
desc: "should only render selected tests",
147-
url: "test/ui/niceReporterSelectedTest.html",
147+
url: "ui/niceReporterSelectedTest.html",
148148
})
149149
.add({
150150
desc: 'should show "Accept all" button for three selected tests',
151-
url: "test/ui/niceReporterSelectedTestWithMultipleFailing.html",
151+
url: "ui/niceReporterSelectedTestWithMultipleFailing.html",
152152
})
153153

154154
.component("Component")
155155
.add({
156156
desc: "should show a headline",
157-
url: "test/ui/niceReporterComponentHeadline.html",
157+
url: "ui/niceReporterComponentHeadline.html",
158158
})
159159
.add({
160160
desc: "should show multiple headlines",
161-
url: "test/ui/niceReporterComponentHeadlineMultiple.html",
161+
url: "ui/niceReporterComponentHeadlineMultiple.html",
162162
})
163163

164164
.component("Other")
165165
.add({
166166
desc: "should render two different test outcomes",
167-
url: "test/ui/niceReporterTwoTests.html",
167+
url: "ui/niceReporterTwoTests.html",
168168
})
169169
.add({
170170
desc: "should highlight the test when targeted through a link",
171-
url: "test/ui/niceReporterProgressBarTarget.html",
171+
url: "ui/niceReporterProgressBarTarget.html",
172172
})
173173
.add({
174174
desc: "should show an empty setup",
175-
url: "test/ui/niceReporterNoTests.html",
175+
url: "ui/niceReporterNoTests.html",
176176
})
177177

178178
.component("Fixed header")
179179
.add({
180180
desc: "should show a large header on initial scroll",
181-
url: "test/ui/niceReporterLargeHeader.html",
181+
url: "ui/niceReporterLargeHeader.html",
182182
})
183183
.add({
184184
desc: "should show a small header on scroll",
185-
url: "test/ui/niceReporterSmallHeader.html",
185+
url: "ui/niceReporterSmallHeader.html",
186186
})
187187
.add({
188188
desc: "should show the large header when hovering on scroll",
189-
url: "test/ui/niceReporterFixedHeaderHover.html",
189+
url: "ui/niceReporterFixedHeaderHover.html",
190190
hover: "header",
191191
})
192192

0 commit comments

Comments
 (0)