diff --git a/pkg/pub_integration/test/browser_test.dart b/pkg/pub_integration/test/browser_test.dart index 10fc47a052..18d7551828 100644 --- a/pkg/pub_integration/test/browser_test.dart +++ b/pkg/pub_integration/test/browser_test.dart @@ -105,6 +105,10 @@ void main() { await page.takeScreenshots( prefix: 'package-page/versions-page', selector: 'body'); + await page.gotoOrigin('/packages/retry/changelog'); + await page.takeScreenshots( + prefix: 'package-page/changelog-page', selector: 'body'); + await page.gotoOrigin('/packages/retry/score'); await page.takeScreenshots( prefix: 'package-page/score-page', selector: 'body'); diff --git a/pkg/pub_integration/test/dartdoc_search_test.dart b/pkg/pub_integration/test/dartdoc_search_test.dart index 5b9194e7e2..56dfbfe5f2 100644 --- a/pkg/pub_integration/test/dartdoc_search_test.dart +++ b/pkg/pub_integration/test/dartdoc_search_test.dart @@ -6,6 +6,7 @@ import 'dart:convert'; import 'package:http/http.dart' as http; import 'package:pub_integration/src/fake_test_context_provider.dart'; +import 'package:pub_integration/src/screenshot_utils.dart'; import 'package:pub_integration/src/test_browser.dart'; import 'package:puppeteer/puppeteer.dart'; import 'package:test/test.dart'; @@ -60,6 +61,11 @@ void main() { startsWith('$origin/documentation/oxygen/latest/oxygen/')); expect(page.url, endsWith('.html')); expect(await page.content, contains('TypeEnum')); + + await page.takeScreenshots( + prefix: 'dartdoc-page/enum-page', + selector: 'body', + ); }); // test library page redirect diff --git a/pkg/pub_integration/test/pkg_admin_page_test.dart b/pkg/pub_integration/test/pkg_admin_page_test.dart index 8dc750e092..6ae46031d8 100644 --- a/pkg/pub_integration/test/pkg_admin_page_test.dart +++ b/pkg/pub_integration/test/pkg_admin_page_test.dart @@ -71,6 +71,13 @@ void main() { '#-pkg-admin-automated-github-repository', 'value'); expect(value, githubRepository); }); + + // visit activity log page + await user.withBrowserPage((page) async { + await page.gotoOrigin('/packages/test_pkg/activity-log'); + await page.takeScreenshots( + prefix: 'package-page/activity-log-page', selector: 'body'); + }); }); }, timeout: Timeout.factor(testTimeoutFactor),