Skip to content

Commit cddd5df

Browse files
committed
out comment more tests
1 parent 1a1800d commit cddd5df

File tree

2 files changed

+35
-34
lines changed

2 files changed

+35
-34
lines changed

app/test/frontend/handlers/package_test.dart

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:pub_dev/tool/test_profile/models.dart';
5+
// import 'package:pub_dev/tool/test_profile/models.dart';
66
import 'package:test/test.dart';
77

88
import '../../shared/handlers_test_utils.dart';
@@ -120,39 +120,40 @@ void main() {
120120
);
121121
},
122122
);
123+
// TODO(https://github.com/dart-lang/pub-dev/issues/8385): enable out commented test.
123124

124-
testWithProfile(
125-
'package pages without homepage',
126-
testProfile: TestProfile(
127-
packages: [
128-
TestPackage(
129-
name: 'pkg',
130-
versions: [TestVersion(version: '1.0.0-nohomepage')]),
131-
],
132-
defaultUser: '[email protected]',
133-
),
134-
processJobsWithFakeRunners: true,
135-
fn: () async {
136-
final urls = [
137-
'/packages/pkg',
138-
'/packages/pkg/changelog',
139-
'/packages/pkg/example',
140-
'/packages/pkg/versions',
141-
'/packages/pkg/pubspec',
142-
'/packages/pkg/license',
143-
'/packages/pkg/score',
144-
];
145-
for (final url in urls) {
146-
await expectHtmlResponse(
147-
await issueGet(url),
148-
present: [],
149-
absent: [
150-
'Homepage',
151-
],
152-
);
153-
}
154-
},
155-
);
125+
// testWithProfile(
126+
// 'package pages without homepage',
127+
// testProfile: TestProfile(
128+
// packages: [
129+
// TestPackage(
130+
// name: 'pkg',
131+
// versions: [TestVersion(version: '1.0.0-nohomepage')]),
132+
// ],
133+
// defaultUser: '[email protected]',
134+
// ),
135+
// processJobsWithFakeRunners: true,
136+
// fn: () async {
137+
// final urls = [
138+
// '/packages/pkg',
139+
// '/packages/pkg/changelog',
140+
// '/packages/pkg/example',
141+
// '/packages/pkg/versions',
142+
// '/packages/pkg/pubspec',
143+
// '/packages/pkg/license',
144+
// '/packages/pkg/score',
145+
// ];
146+
// for (final url in urls) {
147+
// await expectHtmlResponse(
148+
// await issueGet(url),
149+
// present: [],
150+
// absent: [
151+
// 'Homepage',
152+
// ],
153+
// );
154+
// }
155+
// },
156+
// );
156157

157158
testWithProfile(
158159
'publisher redirect',

app/test/frontend/templates_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ void main() {
137137
},
138138
);
139139

140-
// TODO(https://github.com/dart-lang/pub-dev/issues/8385): reanble out commented tests.
140+
// TODO(https://github.com/dart-lang/pub-dev/issues/8385): enable out commented tests.
141141

142142
// testWithProfile(
143143
// 'package show page',

0 commit comments

Comments
 (0)