chore: fix market summary tests and remove positions title (#1850)

This commit is contained in:
Matthew Russell 2022-10-25 13:00:52 -05:00 committed by GitHub
parent b615e019b1
commit 089dc33323
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 9 deletions

View File

@ -118,11 +118,11 @@ describe('Market trading page', () => {
const toolTipValue = 'tooltip-value'; const toolTipValue = 'tooltip-value';
const auctionToolTipLabels = [ const auctionToolTipLabels = [
'Auction start', 'Auction start',
'Est auction end', 'Est. auction end',
'Target liquidity', 'Target liquidity',
'Current liquidity', 'Current liquidity',
'Est uncrossing price', 'Est. uncrossing price',
'Est uncrossing vol', 'Est. uncrossing vol',
]; ];
cy.getByTestId(marketSummaryBlock).within(() => { cy.getByTestId(marketSummaryBlock).within(() => {

View File

@ -30,12 +30,7 @@ const Portfolio = () => {
<Tabs> <Tabs>
<Tab id="positions" name={t('Positions')}> <Tab id="positions" name={t('Positions')}>
<VegaWalletContainer> <VegaWalletContainer>
<div className={tabContentClassName}> <PositionsContainer />
<h4 className="text-xl p-4">{t('Positions')}</h4>
<div>
<PositionsContainer />
</div>
</div>
</VegaWalletContainer> </VegaWalletContainer>
</Tab> </Tab>
<Tab id="orders" name={t('Orders')}> <Tab id="orders" name={t('Orders')}>