1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

[FLASK] Fix regression in transaction confirmation tabs (#20267)

* Fix regression in transaction confirmation tabs

* Fix transaction insights e2e test
This commit is contained in:
Maarten Zuidhoorn 2023-08-21 12:03:55 +02:00 committed by GitHub
parent ba31f87014
commit 785e0d0923
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -102,6 +102,11 @@ describe('Test Snap TxInsights', function () {
'MetaMask Notification', 'MetaMask Notification',
windowHandles, windowHandles,
); );
await driver.delay(1000);
await driver.clickElement({
text: 'Insights Example Snap',
tag: 'button',
});
// check that txinsightstest tab contains the right info // check that txinsightstest tab contains the right info
await driver.delay(1000); await driver.delay(1000);

View File

@ -120,7 +120,7 @@ export default class ConfirmPageContainerContent extends Component {
} = this.props; } = this.props;
return ( return (
<Tabs> <Tabs defaultActiveTabKey="details">
<Tab <Tab
className="confirm-page-container-content__tab" className="confirm-page-container-content__tab"
name={t('details')} name={t('details')}