chore: handle positions with market data errors - add errorPolicyGuard parameter
This commit is contained in:
@@ -20,7 +20,7 @@ describe('positions', { tags: '@smoke' }, () => {
|
||||
validatePositionsDisplayed();
|
||||
});
|
||||
|
||||
it.only('renders position among some graphql errors', () => {
|
||||
it('renders position among some graphql errors', () => {
|
||||
const errors = [
|
||||
{
|
||||
message: 'no market data for market: market-2',
|
||||
@@ -52,7 +52,6 @@ describe('positions', { tags: '@smoke' }, () => {
|
||||
'currentLeverage',
|
||||
'averageEntryPrice',
|
||||
];
|
||||
cy.pause();
|
||||
cy.getByTestId('tab-positions').within(() => {
|
||||
cy.get('[row-id="market-2"]').within(() => {
|
||||
emptyCells.forEach((cell) => {
|
||||
|
||||
Reference in New Issue
Block a user