component-dbs-core
Version:
DTO objects shared among device backend
20 lines (19 loc) • 734 B
TypeScript
import { IdentityLoginInputDto } from '../../dtos/identityDto';
import { DeviceService } from '../../../devices/deviceService';
import { IdentityTestCase } from './testCases';
export declare class LoginTestSuite {
params: object[];
getParameterForTestCase(testCase: number, deviceService: DeviceService, testWithMockAPi: boolean): Promise<IdentityLoginInputDto | {
email: string;
password: string;
deviceUuid: string;
grantType: string;
testCaseCode: IdentityTestCase.LOGIN_SUCCESS;
} | {
email: string;
password: string;
deviceUuid: string;
grantType: string;
testCaseCode: IdentityTestCase.LOGIN_FAIL_INCORRECT_CREDS;
} | undefined>;
}