mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
e2e: Remove Privacy mode toggle step
This commit is contained in:
parent
3aa7693103
commit
dfe8287a28
@ -234,26 +234,6 @@ describe('MetaMask', function () {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('Enable privacy mode', () => {
|
|
||||||
it('enables privacy mode', async () => {
|
|
||||||
const networkDropdown = await findElement(driver, By.css('.network-name'))
|
|
||||||
await networkDropdown.click()
|
|
||||||
await delay(regularDelayMs)
|
|
||||||
|
|
||||||
const customRpcButton = await findElement(driver, By.xpath(`//span[contains(text(), 'Custom RPC')]`))
|
|
||||||
await customRpcButton.click()
|
|
||||||
await delay(regularDelayMs)
|
|
||||||
|
|
||||||
const securityTab = await findElement(driver, By.xpath(`//div[contains(text(), 'Security & Privacy')]`))
|
|
||||||
await securityTab.click()
|
|
||||||
await delay(regularDelayMs)
|
|
||||||
|
|
||||||
const privacyToggle = await findElement(driver, By.css('.settings-page__content-row:nth-of-type(1) .settings-page__content-item-col > div'))
|
|
||||||
await privacyToggle.click()
|
|
||||||
await delay(largeDelayMs * 2)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
describe('Log out an log back in', () => {
|
describe('Log out an log back in', () => {
|
||||||
it('logs out of the account', async () => {
|
it('logs out of the account', async () => {
|
||||||
await driver.findElement(By.css('.account-menu__icon')).click()
|
await driver.findElement(By.css('.account-menu__icon')).click()
|
||||||
|
Loading…
Reference in New Issue
Block a user