Complete rebranding of all components: - Core miner: xmrig -> miner (binary, version.h, CMakeLists.txt) - Proxy: xmrig-proxy -> miner-proxy - CUDA plugin: xmrig-cuda -> miner-cuda - Heatmap: xmrig-nonces-heatmap -> miner-nonces-heatmap - Go CLI wrapper: miner-cli -> miner-ctrl Vendored XMRig ecosystem into miner/ directory: - miner/core - XMRig CPU/GPU miner - miner/proxy - Stratum proxy - miner/cuda - NVIDIA CUDA plugin - miner/heatmap - Nonce visualization tool - miner/config - Configuration UI - miner/deps - Pre-built dependencies Updated dev fee to use project wallet with opt-out (kMinimumDonateLevel=0) Updated branding to Lethean (domain, copyright, version 0.1.0) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
66 lines
1.7 KiB
TypeScript
66 lines
1.7 KiB
TypeScript
import { defineConfig, devices } from '@playwright/test';
|
|
|
|
const isApiOnly = process.env.API_ONLY === 'true';
|
|
|
|
export default defineConfig({
|
|
testDir: './e2e',
|
|
fullyParallel: true,
|
|
forbidOnly: !!process.env.CI,
|
|
retries: process.env.CI ? 2 : 0,
|
|
workers: process.env.CI ? 1 : undefined,
|
|
reporter: [['html', { open: 'never' }], ['list']],
|
|
use: {
|
|
baseURL: 'http://localhost:4200',
|
|
trace: 'on-first-retry',
|
|
screenshot: 'only-on-failure',
|
|
},
|
|
|
|
projects: [
|
|
{
|
|
name: 'api',
|
|
testMatch: /.*\.api\.spec\.ts/,
|
|
use: {
|
|
baseURL: 'http://localhost:9090/api/v1/mining',
|
|
},
|
|
},
|
|
{
|
|
name: 'chromium',
|
|
testMatch: /.*\.e2e\.spec\.ts/,
|
|
use: { ...devices['Desktop Chrome'] },
|
|
},
|
|
{
|
|
name: 'firefox',
|
|
testMatch: /.*\.e2e\.spec\.ts/,
|
|
use: { ...devices['Desktop Firefox'] },
|
|
},
|
|
{
|
|
name: 'webkit',
|
|
testMatch: /.*\.e2e\.spec\.ts/,
|
|
use: { ...devices['Desktop Safari'] },
|
|
},
|
|
],
|
|
|
|
webServer: isApiOnly
|
|
? [
|
|
{
|
|
command: 'cd .. && make build && ./miner-ctrl serve --host localhost --port 9090',
|
|
url: 'http://localhost:9090/api/v1/mining/info',
|
|
reuseExistingServer: true,
|
|
timeout: 120000,
|
|
},
|
|
]
|
|
: [
|
|
{
|
|
command: 'cd .. && make build && ./miner-ctrl serve --host localhost --port 9090',
|
|
url: 'http://localhost:9090/api/v1/mining/info',
|
|
reuseExistingServer: !process.env.CI,
|
|
timeout: 120000,
|
|
},
|
|
{
|
|
command: 'npm run start',
|
|
url: 'http://localhost:4200',
|
|
reuseExistingServer: !process.env.CI,
|
|
timeout: 120000,
|
|
},
|
|
],
|
|
});
|