Fix the rest of the tests

This commit is contained in:
SleepWalker
2019-12-29 18:26:51 +02:00
parent f8ae8282ed
commit 5ca4c323c7
10 changed files with 128 additions and 87 deletions

View File

@@ -30,8 +30,20 @@ declare namespace Cypress {
/**
* Whether return raw api response without any conversion. Defaults to: `false`
*/
rawApiResp?: boolean;
rawApiResp?: false;
}): Promise<{ accounts: TAccount[] }>;
login(options: {
accounts: AccountAlias[];
updateState?: boolean;
rawApiResp: true;
}): Promise<{
accounts: {
success: true;
access_token: string;
expires_in: number;
refresh_token: string;
}[];
}>;
getByTestId<S = any>(
id: string,