File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -128,13 +128,15 @@ class TransactionsPageAssert {
128
128
129
129
await browser . waitUntil (
130
130
async ( ) =>
131
- (
132
- await TransactionsPage . transactionsTableItemTokensAmount ( rowIndex ) . getText ( )
133
- ) . includes ( expectedTransactionRowAssetDetails . tokensAmount ) ,
131
+ ( await TransactionsPage . transactionsTableItemTokensAmount ( rowIndex ) . getText ( ) ) . includes (
132
+ expectedTransactionRowAssetDetails . tokensAmount
133
+ ) ,
134
134
{
135
135
timeout : 8000 ,
136
136
interval : 1000 ,
137
- timeoutMsg : 'failed while waiting for tx token details'
137
+ timeoutMsg : `failed while waiting for tx token details, expected: ${
138
+ expectedTransactionRowAssetDetails . tokensAmount
139
+ } got: ${ await TransactionsPage . transactionsTableItemTokensAmount ( rowIndex ) . getText ( ) } `
138
140
}
139
141
) ;
140
142
You can’t perform that action at this time.
0 commit comments