mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Fix the rest of the tests
This commit is contained in:
14
tests-e2e/cypress/support/index.d.ts
vendored
14
tests-e2e/cypress/support/index.d.ts
vendored
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user