import { getTestObject as getTestObject_T, prepareTest as prepareTest_T, RuleEngine as RuleEngine_T, TestCase as TestCase_T, TestInfo as TestInfo_T, ITestCase as ITestCase_T} from 'safelite-playwright-core'
import { ITestPages } from './TestPages'
import { ITestData } from './TestData'

export const getTestObject = getTestObject_T<ITestPages, ITestData>;
export const prepareTest = prepareTest_T<ITestPages, ITestData>;

export const RuleEngine = RuleEngine_T<TestCase_T<ITestPages, ITestData>>;
export class TestCase extends TestCase_T<ITestPages, ITestData> {};
export type TestInfo = TestInfo_T<ITestPages, ITestData>;

export type ITestCase = ITestCase_T<ITestPages, ITestData>;
