enamble matomo check

pull/4273/head
lianahus 12 months ago committed by yann300
parent 17ccd7999f
commit 5f08f92994
  1. 4
      apps/remix-ide-e2e/src/helpers/init.ts
  2. 2
      apps/remix-ide/src/app.js

@ -11,10 +11,10 @@ export default function (browser: NightwatchBrowser, callback: VoidFunction, url
browser browser
.url(url || 'http://127.0.0.1:8080') .url(url || 'http://127.0.0.1:8080')
//.switchBrowserTab(0) //.switchBrowserTab(0)
.waitForElementVisible('[id="beginnerbtn"]')
.click('[id="beginnerbtn"]')
.waitForElementVisible('[id="remixTourSkipbtn"]') .waitForElementVisible('[id="remixTourSkipbtn"]')
.click('[id="remixTourSkipbtn"]') .click('[id="remixTourSkipbtn"]')
.waitForElementVisible('data-id="EnterModalDialogContainer-react"]')
.click('[data-id="beginnerbtn"]')
.perform((done) => { .perform((done) => {
if (!loadPlugin) return done() if (!loadPlugin) return done()

@ -130,7 +130,7 @@ class AppComponent {
'remix.ethereum.org': 23, 'remix.ethereum.org': 23,
'6fd22d6fe5549ad4c4d8fd3ca0b7816b.mod': 35 // remix desktop '6fd22d6fe5549ad4c4d8fd3ca0b7816b.mod': 35 // remix desktop
} }
this.showMatamo = true//matomoDomains[window.location.hostname] && !Registry.getInstance().get('config').api.exists('settings/matomo-analytics') this.showMatamo = matomoDomains[window.location.hostname] && !Registry.getInstance().get('config').api.exists('settings/matomo-analytics')
this.showEnter = !localStorage.getItem('hadUsageTypeAsked') this.showEnter = !localStorage.getItem('hadUsageTypeAsked')
console.log("show ", this.showMatamo, " ", this.showEnter) console.log("show ", this.showMatamo, " ", this.showEnter)

Loading…
Cancel
Save