Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
anastasiyaig committed Sep 19, 2024
1 parent f27e910 commit 548c707
Showing 1 changed file with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ import StatusQ 0.1

import SortFilterProxyModel 0.2
import AppLayouts.Communities.panels 1.0
import AppLayouts.Communities.views 1.0
import AppLayouts.Communities.popups 1.0
import AppLayouts.Communities.helpers 1.0


import Models 1.0

import Utils 1.0
import StatusQ.Core.Utils 0.1 as StatusQUtils

Item {

Expand Down Expand Up @@ -62,9 +60,6 @@ Item {
root)
}

function htmlToPlainText(html) {
return html.replace(/<[^>]*>/g, '')
}

function test_mintTokensIntroPages() {

Expand Down Expand Up @@ -98,7 +93,7 @@ Item {
var settingsPage = findChild(mintTokensSettingsPanel.currentItem,
"welcomeView")

compare(htmlToPlainText((findChild(settingsPage,
compare(StatusQUtils.StringUtils.plainText((findChild(settingsPage,
"introPanelText")).text),
"Your Owner token will give you permissions to access the token management features for your community. This token is very important - only one will ever exist, and if this token gets lost then access to the permissions it enables for your community will be lost forever as well.
Minting your Owner token also automatically mints your community’s TokenMaster token. You can airdrop your community’s TokenMaster token to anybody you wish to grant both Admin permissions and permission to access your community’s token management functions to.
Expand Down

0 comments on commit 548c707

Please sign in to comment.