Add Android APK fleet nodes with Crucible UI integration and tests.
APK wrapper registers platform=android via AETHERFORGE_PLATFORM; fleet UI shows robot icons, Android Access Depth probes, and a shortened mining onion timeline.
This commit is contained in:
@@ -292,6 +292,20 @@ describe('BuilderPage', () => {
|
||||
expect(api.exportSpreadKit).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('APK mode toggle locks platform to Android arm64 and hides Fusion', async () => {
|
||||
localStorage.setItem('aetherforge-forge-mode', 'advanced');
|
||||
const user = userEvent.setup();
|
||||
renderBuilder();
|
||||
await screen.findByText('Worker Name');
|
||||
|
||||
const apkToggle = await screen.findByRole('checkbox', { name: /APK mode/i });
|
||||
await user.click(apkToggle);
|
||||
|
||||
expect(screen.getByDisplayValue('Android (arm64)')).toBeInTheDocument();
|
||||
expect(screen.getByText(/platform=android/i)).toBeInTheDocument();
|
||||
expect(screen.queryByText('Fusion — Hide miner in any file')).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('polls builder progress endpoint while a forge is running', async () => {
|
||||
type BuildResult = Awaited<ReturnType<typeof api.buildAgent>>;
|
||||
let resolveBuild!: (value: BuildResult) => void;
|
||||
|
||||
Reference in New Issue
Block a user