1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

fix browser not supported screen

This commit is contained in:
brunobar79 2018-07-17 21:57:19 -04:00
parent aa5a987765
commit cbb14f1d5e
3 changed files with 3 additions and 3 deletions

View File

@ -84,7 +84,7 @@
"message": "Borrow With Dharma (Beta)" "message": "Borrow With Dharma (Beta)"
}, },
"browserNotSupported": { "browserNotSupported": {
"message": "Bummer! Your Browser is not supported..." "message": "Your Browser is not supported..."
}, },
"builtInCalifornia": { "builtInCalifornia": {
"message": "MetaMask is designed and built in California." "message": "MetaMask is designed and built in California."

View File

@ -347,7 +347,7 @@ describe('Using MetaMask with an existing account', function () {
it('should show the "Browser not supported" screen for non Chrome browsers', async () => { it('should show the "Browser not supported" screen for non Chrome browsers', async () => {
if (process.env.SELENIUM_BROWSER !== 'chrome') { if (process.env.SELENIUM_BROWSER !== 'chrome') {
const title = await findElements(driver, By.xpath(`//h3[contains(text(), 'Bummer! Your Browser is not supported...')]`)) const title = await findElements(driver, By.xpath(`//h3[contains(text(), 'Your Browser is not supported...')]`))
assert.equal(title.length, 1) assert.equal(title.length, 1)
const downloadChromeButtons = await findElements(driver, By.xpath(`//button[contains(text(), 'Download Google Chrome')]`)) const downloadChromeButtons = await findElements(driver, By.xpath(`//button[contains(text(), 'Download Google Chrome')]`))

View File

@ -9,7 +9,7 @@ class ConnectScreen extends Component {
renderUnsupportedBrowser () { renderUnsupportedBrowser () {
return ( return (
h('div', {}, [ h('div.new-account-connect-form', {}, [
h('div.hw-connect', [ h('div.hw-connect', [
h('h3.hw-connect__title', {}, this.context.t('browserNotSupported')), h('h3.hw-connect__title', {}, this.context.t('browserNotSupported')),
h('p.hw-connect__msg', {}, this.context.t('chromeRequiredForTrezor')), h('p.hw-connect__msg', {}, this.context.t('chromeRequiredForTrezor')),