fix: clean URLs, contract addresses, gitmodule (#16, #58, #147) (#162)

This commit is contained in:
johba 2026-02-20 17:28:59 +01:00
parent 79c9c8571a
commit 1e0822eaa2
21 changed files with 126 additions and 47 deletions

View file

@ -86,7 +86,7 @@ test.describe('Marcus "Flash" Chen - Degen/MEV Hunter', () => {
// --- Mint ETH (Cheats) ---
pageStart = Date.now();
await page.goto(`${STACK_WEBAPP_URL}/app/#/cheats`);
await page.goto(`${STACK_WEBAPP_URL}/app/cheats`);
await page.waitForTimeout(1_000);
recordPageVisit('Cheats', page.url(), pageStart, report);
@ -123,7 +123,7 @@ test.describe('Marcus "Flash" Chen - Degen/MEV Hunter', () => {
// --- Navigate to Stake Page ---
pageStart = Date.now();
await page.goto(`${STACK_WEBAPP_URL}/app/#/stake`);
await page.goto(`${STACK_WEBAPP_URL}/app/stake`);
await page.waitForTimeout(4_000);
recordPageVisit('Stake', page.url(), pageStart, report);
@ -149,7 +149,7 @@ test.describe('Marcus "Flash" Chen - Degen/MEV Hunter', () => {
// --- Try to Snatch Another Position (if visible) ---
logObservation(personaName, 'Scrolling through active positions looking for snatch targets...', report);
await page.goto(`${STACK_WEBAPP_URL}/app/#/stake`);
await page.goto(`${STACK_WEBAPP_URL}/app/stake`);
await page.waitForTimeout(2_000);
await takeScreenshot(page, personaName, 'looking-for-snatch-targets', report);
@ -166,7 +166,7 @@ test.describe('Marcus "Flash" Chen - Degen/MEV Hunter', () => {
// --- Check Statistics ---
pageStart = Date.now();
await page.goto(`${STACK_WEBAPP_URL}/app/#/stake`);
await page.goto(`${STACK_WEBAPP_URL}/app/stake`);
await page.waitForTimeout(1_000);
const statsVisible = await page.getByText('Statistics').isVisible().catch(() => false);