Lines Matching +full:localhost +full:- +full:test
7 // http://www.apache.org/licenses/LICENSE-2.0
30 const expectedScreenshotPath = path.join('test', 'data', 'ui-screenshots');
31 const tmpDir = path.resolve('./ui-test-artifacts');
37 return pages[pages.length - 1];
40 // Executed once at the beginning of the test. Navigates to the UI.
51 // After each test (regardless of nesting) capture a screenshot named after the
52 // test('') name and compare the screenshot with the expected one in
53 // /test/data/ui-screenshots.
56 testName = testName.replace(/[^a-z0-9-]/gim, '_').toLowerCase();
59 const screenshotName = `ui-${testName}.png`;
77 await page.goto('http://localhost:10000/?testing=1');
81 test('load', async () => {
88 test('expand_camera', async () => {
89 await page.click('.pf-overlay');
92 document.querySelector('.scrolling-panel-container')!.scrollTo(0, 400);
103 await page.goto('http://localhost:10000/?testing=1');
107 test('load', async () => {
115 test('expand_browser_proc', async () => {
117 await page.click('.pf-overlay');
122 test('select_slice_with_flows', async () => {
145 await page.goto('http://localhost:10000/?testing=1');
149 test('load', async () => {
164 await page.goto('http://localhost:10000/?testing=1');
168 test('open_first_trace_from_url', async () => {
170 …'http://localhost:10000/?testing=1/#!/?url=http://localhost:10000/test/data/chrome_memory_snapshot…
175 test('open_second_trace_from_url', async () => {
177 …'http://localhost:10000/?testing=1#!/?url=http://localhost:10000/test/data/chrome_scroll_without_v…
182 test('access_subpage_then_go_back', async () => {
185 …'http://localhost:10000/?testing=1/#!/metrics?local_cache_key=76c25a80-25dd-1eb7-2246-d7b3c7a10f91…
200 test('go_to_page_with_no_trace', async () => {
201 await page.goto('http://localhost:10000/?testing=1#!/info');
205 test('open_trace ', async () => {
207 … 'http://localhost:10000/?testing=1#!/viewer?local_cache_key=76c25a80-25dd-1eb7-2246-d7b3c7a10f91',
212 test('refresh', async () => {
217 test('open_second_trace', async () => {
219 … 'http://localhost:10000/?testing=1#!/viewer?local_cache_key=00000000-0000-0000-e13c-bd7db4ff646f',
228 test('go_back_to_first_trace', async () => {
236 test('open_invalid_trace', async () => {
238 'http://localhost:10000/?testing=1#!/viewer?local_cache_key=invalid',
249 await page.goto('http://localhost:10000/?testing=1');
253 test('open_trace_from_url', async () => {
255 …'http://localhost:10000/?testing=1/#!/?url=http://localhost:10000/test/data/chrome_memory_snapshot…
260 test('navigate_back_and_forward', async () => {
276 test('open_trace_and_go_back_to_landing_page', async () => {
278 await page.goto('http://localhost:10000/?testing=1');
280 … 'http://localhost:10000/?testing=1#!/viewer?local_cache_key=76c25a80-25dd-1eb7-2246-d7b3c7a10f91',
287 test('open_invalid_trace_from_blank_page', async () => {
291 'http://localhost:10000/?testing=1#!/viewer?local_cache_key=invalid',
297 // Regression test for b/235335853.
303 await page.goto('http://localhost:10000/?testing=1');
307 test('show_dialog_1', async () => {
312 test('dismiss_1', async () => {
317 test('switch_page_no_dialog', async () => {
322 test('show_dialog_2', async () => {
327 test('dismiss_2', async () => {
338 await page.goto('http://localhost:10000/?testing=1');
342 // Test that we show a (debuggable) chip next to tracks for debuggable apps.
343 // Regression test for aosp/3106008 .
344 test('track_debuggable_chip', async () => {
347 …'http://localhost:10000/?testing=1/#!/?url=http://localhost:10000/test/data/api32_startup_warm.per…
351 'h1[title="androidx.benchmark.integration.macrobenchmark.test 7527"]',