mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-06 01:35:22 +02:00
linted + remove test content from tooltip
This commit is contained in:
parent
8c1d0430eb
commit
7ced4b73e0
2 changed files with 5 additions and 5 deletions
|
@ -6161,10 +6161,7 @@ const setUpAttributes = tooltipTrigger => {
|
|||
// DOTGOV: nest the text element to allow us creater control over width and wrapping behavior
|
||||
tooltipBody.innerHTML = `
|
||||
<div class="usa-tooltip__content">
|
||||
${tooltipContent}
|
||||
|
||||
n oainef aoieiu aw eghr hilabiuyabewisofuha libfasuiybefiae ruhawioeufh aiwfh iahf iuahefailusef aiwsfbali wefbaiue fbaliuefbalieuwfhauiowera jhfasiuf aiuwenail ewfasdn fiausfn iuafia ewfn ia fisfn iuf niuwnf iwenfailuhfiauefn aliefnaifnialsudnf aiufnailufnailefialenf ailefia fa filanf ilaefiunaifalfn ailfnialuefn ialuefnailf lifniasn filsa fnialn fila fi af ai fniaufn ilaufn ial fia fnila fiua fnilaefn ialuefn ial efailf ia fnial fia fniu ialf nailf a fal f Before this domain can be used, you’ll need to add name server addresses.
|
||||
|
||||
${tooltipContent}
|
||||
</div>`
|
||||
// tooltipBody.textContent = tooltipContent;
|
||||
|
||||
|
|
|
@ -340,7 +340,10 @@ class TestDomainDetail(TestDomainOverview):
|
|||
detail_page = self.client.get(f"/domain/{domain.id}")
|
||||
# Check that alert message displays properly
|
||||
self.assertContains(
|
||||
detail_page, "You don't have access to manage "+domain.name+". If you need to make updates, contact one of the listed domain managers."
|
||||
detail_page,
|
||||
"You don't have access to manage "
|
||||
+ domain.name
|
||||
+ ". If you need to make updates, contact one of the listed domain managers.",
|
||||
)
|
||||
# Check that user does not have option to Edit domain
|
||||
self.assertNotContains(detail_page, "Edit")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue