mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-24 04:02:19 +00:00
Keep the opening out of embeds, Street Level and moved cameras; fix review findings
- Embeds, inline panels, Street Level links and rejected share codes skip the opening. - The opening yields to a camera move made between its frames and keeps the view's roll. - A click skips it; the welcome waits for the cover to fade after a skip. - The first HUD summary is not spent while the opening plays. - Home countries follow tzdata backward links; the table is regenerated and checked. - QA scripts open the cockpit and Street Level checks with intro=0.
This commit is contained in:
1 parent
f4d936989b
commit
c4a846b8ad
20 files changed
+679
-291
No files matched your search
@@ -225,9 +225,12 @@ function newFixture(overrides = {}) {
|
||||
};
|
||||
}
|
||||
|
||||
/** Load the app and dismiss the first-run dialog. */
|
||||
/** Load without the opening so its flight cannot move the camera during
|
||||
* the gate's own moves, then dismiss the first-run dialog. */
|
||||
async function boot(page, url) {
|
||||
await page.goto(url, { waitUntil: 'domcontentloaded' });
|
||||
const address = new URL(url);
|
||||
address.searchParams.set('intro', '0');
|
||||
await page.goto(address.href, { waitUntil: 'domcontentloaded' });
|
||||
await page.waitForFunction(() => Boolean(window.__godsEyeView?.dataManager), {
|
||||
timeout: 150_000,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user