fix: e2e tests need to click 'Continue to Booking' before date selection
The exchange page is a two-step wizard: - Step 1: Direction, amount, price selection - Step 2: Date and slot selection Tests were looking for date elements before navigating to step 2.
This commit is contained in:
parent
ca3a08a236
commit
0d8369ce65
2 changed files with 87 additions and 8 deletions
|
|
@ -332,7 +332,7 @@ export interface paths {
|
|||
*
|
||||
* The response includes:
|
||||
* - market_price: The raw price from the exchange
|
||||
* - agreed_price: The price with admin premium applied
|
||||
* - premium_percentage: The premium to apply to trades
|
||||
* - is_stale: Whether the price is older than 5 minutes
|
||||
* - config: Trading configuration (min/max EUR, increment)
|
||||
*/
|
||||
|
|
@ -541,6 +541,29 @@ export interface paths {
|
|||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/api/admin/users/search": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
/**
|
||||
* Search Users
|
||||
* @description Search users by email for autocomplete.
|
||||
*
|
||||
* Returns users whose email contains the search query (case-insensitive).
|
||||
* Limited to 10 results for autocomplete purposes.
|
||||
*/
|
||||
get: operations["search_users_api_admin_users_search_get"];
|
||||
put?: never;
|
||||
post?: never;
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
}
|
||||
export type webhooks = Record<string, never>;
|
||||
export interface components {
|
||||
|
|
@ -884,13 +907,14 @@ export interface components {
|
|||
};
|
||||
/**
|
||||
* PriceResponse
|
||||
* @description Current BTC/EUR price with premium applied.
|
||||
* @description Current BTC/EUR price for trading.
|
||||
*
|
||||
* Note: The actual agreed price depends on trade direction (buy/sell)
|
||||
* and is calculated by the frontend using market_price and premium_percentage.
|
||||
*/
|
||||
PriceResponse: {
|
||||
/** Market Price */
|
||||
market_price: number;
|
||||
/** Agreed Price */
|
||||
agreed_price: number;
|
||||
/** Premium Percentage */
|
||||
premium_percentage: number;
|
||||
/**
|
||||
|
|
@ -1023,6 +1047,16 @@ export interface components {
|
|||
/** Permissions */
|
||||
permissions: string[];
|
||||
};
|
||||
/**
|
||||
* UserSearchResult
|
||||
* @description Result item for user search.
|
||||
*/
|
||||
UserSearchResult: {
|
||||
/** Id */
|
||||
id: number;
|
||||
/** Email */
|
||||
email: string;
|
||||
};
|
||||
/** ValidationError */
|
||||
ValidationError: {
|
||||
/** Location */
|
||||
|
|
@ -1815,4 +1849,36 @@ export interface operations {
|
|||
};
|
||||
};
|
||||
};
|
||||
search_users_api_admin_users_search_get: {
|
||||
parameters: {
|
||||
query: {
|
||||
/** @description Search query for user email */
|
||||
q: string;
|
||||
};
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody?: never;
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["UserSearchResult"][];
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["HTTPValidationError"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue