mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Rename 'History' tab to 'Activity' (#8785)
'Activity' is a better name for this tab because it contains more than just transactions. Signature requests are also included, and more non- transaction activity may be included in the future.
This commit is contained in:
parent
058c63cf80
commit
4ac4790cfa
@ -148,6 +148,9 @@
|
||||
"accountSelectionRequired": {
|
||||
"message": "You need to select an account!"
|
||||
},
|
||||
"activity": {
|
||||
"message": "Activity"
|
||||
},
|
||||
"activityLog": {
|
||||
"message": "activity log"
|
||||
},
|
||||
|
@ -195,7 +195,7 @@ describe('MetaMask', function () {
|
||||
})
|
||||
|
||||
it('finds the transaction in the transactions list', async function () {
|
||||
await driver.clickElement(By.css('[data-testid="home__history-tab"]'))
|
||||
await driver.clickElement(By.css('[data-testid="home__activity-tab"]'))
|
||||
await driver.wait(async () => {
|
||||
const confirmedTxes = await driver.findElements(By.css('.transaction-list__completed-transactions .transaction-list-item'))
|
||||
return confirmedTxes.length === 1
|
||||
|
@ -215,7 +215,7 @@ describe('Using MetaMask with an existing account', function () {
|
||||
})
|
||||
|
||||
it('finds the transaction in the transactions list', async function () {
|
||||
await driver.clickElement(By.css('[data-testid="home__history-tab"]'))
|
||||
await driver.clickElement(By.css('[data-testid="home__activity-tab"]'))
|
||||
await driver.wait(async () => {
|
||||
const confirmedTxes = await driver.findElements(By.css('.transaction-list__completed-transactions .transaction-list-item'))
|
||||
return confirmedTxes.length === 1
|
||||
|
@ -211,7 +211,7 @@ describe('MetaMask', function () {
|
||||
})
|
||||
|
||||
it('finds the transaction in the transactions list', async function () {
|
||||
await driver.clickElement(By.css('[data-testid="home__history-tab"]'))
|
||||
await driver.clickElement(By.css('[data-testid="home__activity-tab"]'))
|
||||
await driver.wait(async () => {
|
||||
const confirmedTxes = await driver.findElements(By.css('.transaction-list__completed-transactions .transaction-list-item'))
|
||||
return confirmedTxes.length === 1
|
||||
|
@ -266,7 +266,7 @@ describe('MetaMask', function () {
|
||||
})
|
||||
|
||||
it('finds the transaction in the transactions list', async function () {
|
||||
await driver.clickElement(By.css('[data-testid="home__history-tab"]'))
|
||||
await driver.clickElement(By.css('[data-testid="home__activity-tab"]'))
|
||||
await driver.wait(async () => {
|
||||
const confirmedTxes = await driver.findElements(By.css('.transaction-list__completed-transactions .transaction-list-item'))
|
||||
return confirmedTxes.length === 1
|
||||
|
@ -197,7 +197,7 @@ describe('Using MetaMask with an existing account', function () {
|
||||
})
|
||||
|
||||
it('finds the transaction in the transactions list', async function () {
|
||||
await driver.clickElement(By.css('[data-testid="home__history-tab"]'))
|
||||
await driver.clickElement(By.css('[data-testid="home__activity-tab"]'))
|
||||
await driver.wait(async () => {
|
||||
const confirmedTxes = await driver.findElements(By.css('.transaction-list__completed-transactions .transaction-list-item'))
|
||||
return confirmedTxes.length === 1
|
||||
|
@ -22,7 +22,7 @@ describe('MetaMask Browser Extension', function () {
|
||||
await amountField.sendKeys('1')
|
||||
await driver.clickElement(By.css('[data-testid="page-container-footer-next"]'))
|
||||
await driver.clickElement(By.css('[data-testid="page-container-footer-next"]'))
|
||||
await driver.clickElement(By.css('[data-testid="home__history-tab"]'))
|
||||
await driver.clickElement(By.css('[data-testid="home__activity-tab"]'))
|
||||
await driver.findElement(By.css('.transaction-list-item'))
|
||||
})
|
||||
})
|
||||
|
@ -247,8 +247,8 @@ export default class Home extends PureComponent {
|
||||
<Tab
|
||||
activeClassName="home__tab--active"
|
||||
className="home__tab"
|
||||
data-testid="home__history-tab"
|
||||
name={t('history')}
|
||||
data-testid="home__activity-tab"
|
||||
name={t('activity')}
|
||||
>
|
||||
<TransactionList />
|
||||
</Tab>
|
||||
|
Loading…
Reference in New Issue
Block a user