|
|
@ -701,19 +701,7 @@ function viewRowTests() { |
|
|
|
throw new Error('Wrong filter'); |
|
|
|
throw new Error('Wrong filter'); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const nestedRentalResponse = Object.keys( |
|
|
|
expect(ascResponse.body.list[0]['Rental List']).to.equal(12); |
|
|
|
ascResponse.body.list[0]['Rental List'][0], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ( |
|
|
|
|
|
|
|
!( |
|
|
|
|
|
|
|
nestedRentalResponse.includes('ReturnDate') && |
|
|
|
|
|
|
|
nestedRentalResponse.includes('RentalDate') && |
|
|
|
|
|
|
|
nestedRentalResponse.length === 2 |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
) { |
|
|
|
|
|
|
|
throw new Error('Wrong nested fields'); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
it('Get nested sorted filtered table with nested fields data list with a rollup column in customer table view grid', async () => { |
|
|
|
it('Get nested sorted filtered table with nested fields data list with a rollup column in customer table view grid', async () => { |
|
|
|