chore: change name of the column (#2420)
This commit is contained in:
parent
dce802d153
commit
7d5cc9b080
@ -57,6 +57,11 @@ describe('positions', { tags: '@smoke' }, () => {
|
||||
cy.get('[col-id="notional"]').should('contain.text', '276,761.40348'); // Total tDAI position
|
||||
cy.get('[col-id="realisedPNL"]').should('contain.text', '0.001'); // Total Realised PNL
|
||||
cy.get('[col-id="unrealisedPNL"]').should('contain.text', '8.95'); // Total Unrealised PNL
|
||||
|
||||
cy.get('.ag-header-row [col-id="notional"]')
|
||||
.should('contain.text', 'Notional')
|
||||
.realHover();
|
||||
cy.get('.ag-popup').should('contain.text', 'Mark price x open volume');
|
||||
});
|
||||
|
||||
cy.getByTestId('close-position').should('be.visible').and('have.length', 3);
|
||||
|
@ -48,7 +48,7 @@ it('Render correct columns', async () => {
|
||||
headers.map((h) => h.querySelector('[ref="eText"]')?.textContent?.trim())
|
||||
).toEqual([
|
||||
'Market',
|
||||
'Notional size',
|
||||
'Notional',
|
||||
'Open volume',
|
||||
'Mark price',
|
||||
'Settlement asset',
|
||||
|
@ -138,7 +138,8 @@ export const PositionsTable = forwardRef<AgGridReact, Props>(
|
||||
}}
|
||||
/>
|
||||
<AgGridColumn
|
||||
headerName={t('Notional size')}
|
||||
headerName={t('Notional')}
|
||||
headerTooltip={t('Mark price x open volume.')}
|
||||
field="notional"
|
||||
type="rightAligned"
|
||||
cellClass="font-mono text-right"
|
||||
|
Loading…
Reference in New Issue
Block a user