linted + remove test content from tooltip

This commit is contained in:
CocoByte 2024-10-03 15:52:26 -06:00
parent 8c1d0430eb
commit 7ced4b73e0
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F
2 changed files with 5 additions and 5 deletions

View file

@ -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, youll need to add name server addresses.
${tooltipContent}
</div>`
// tooltipBody.textContent = tooltipContent;

View file

@ -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")