wip
This commit is contained in:
@@ -41,6 +41,9 @@ import { permissionGuard, shouldSkipRealAutomationTests } from './support/Permis
|
||||
const IRACING_URL = 'https://members-ng.iracing.com/web/racing/hosted/browse-sessions';
|
||||
const WINDOW_TITLE_PATTERN = 'iRacing';
|
||||
|
||||
const RUN_REAL_AUTOMATION_SMOKE = process.env.RUN_REAL_AUTOMATION_SMOKE === '1';
|
||||
const describeSmoke = RUN_REAL_AUTOMATION_SMOKE ? describe : describe.skip;
|
||||
|
||||
let skipReason: string | null = null;
|
||||
let browserProcess: ChildProcess | null = null;
|
||||
|
||||
@@ -85,7 +88,7 @@ async function closeBrowser(): Promise<void> {
|
||||
browserProcess = null;
|
||||
}
|
||||
|
||||
describe('E2E Real Automation Tests - REAL iRacing Website', () => {
|
||||
describeSmoke('Real automation smoke – REAL iRacing Website', () => {
|
||||
beforeAll(async () => {
|
||||
// Check permissions first
|
||||
skipReason = await shouldSkipRealAutomationTests() ?? null;
|
||||
|
||||
Reference in New Issue
Block a user