chore: handle positions with market data errors - add errorPolicyGuard parameter

This commit is contained in:
maciek
2023-02-09 11:01:04 +01:00
parent 79de083bed
commit 2c2430b4a0
@@ -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) => {