MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / load

Function load

atomic-cli/tests/review_viewer_browser.mjs:71–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 await page('Page.enable'); await page('Runtime.enable'); await page('Network.enable');
70 await page('Emulation.setDeviceMetricsOverride', { width: 1600, height: 1100, deviceScaleFactor: 1, mobile: false });
71 const load = async path => { const loaded = event('Page.loadEventFired', sessionId); await page('Page.navigate', { url: pathToFileURL(path).href }); await loaded; };
72 await load(artifact);
73 assert.equal(errors.length, 0, JSON.stringify(errors));
74 assert.equal(await evaluate(`document.querySelectorAll('[role="tab"]').length`), 4);

Callers 15

build_apex_clientFunction · 0.85
apex_server_urlFunction · 0.85
build_client_with_orgFunction · 0.85
resolve_orgFunction · 0.85
resolve_workspaceFunction · 0.85
clean_up_local_configFunction · 0.85
run_with_verifierMethod · 0.85
seed_configFunction · 0.85

Calls 2

pageFunction · 0.85
eventFunction · 0.70