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 auctionToolTipLabels = [
'Auction start',
'Est auction end',
'Est. auction end',
'Target liquidity',
'Current liquidity',
'Est uncrossing price',
'Est uncrossing vol',
'Est. uncrossing price',
'Est. uncrossing vol',
];
cy.getByTestId(marketSummaryBlock).within(() => {

View File

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