Skip to content

Commit

Permalink
fix browser not supported screen
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobar79 committed Jul 18, 2018
1 parent aa5a987 commit cbb14f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"message": "Borrow With Dharma (Beta)"
},
"browserNotSupported": {
"message": "Bummer! Your Browser is not supported..."
"message": "Your Browser is not supported..."
},
"builtInCalifornia": {
"message": "MetaMask is designed and built in California."
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/beta/from-import-beta-ui.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
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)

const downloadChromeButtons = await findElements(driver, By.xpath(`//button[contains(text(), 'Download Google Chrome')]`))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class ConnectScreen extends Component {

renderUnsupportedBrowser () {
return (
h('div', {}, [
h('div.new-account-connect-form', {}, [
h('div.hw-connect', [
h('h3.hw-connect__title', {}, this.context.t('browserNotSupported')),
h('p.hw-connect__msg', {}, this.context.t('chromeRequiredForTrezor')),
Expand Down

0 comments on commit cbb14f1

Please sign in to comment.