File tree Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1- < div class ="header__f5sites ">
1+ < div class ="header__f5sites " data-testid =" header__f5sites " >
22{{ with index .Site.Data "f5-sites" }}
33{{ $f5Sites := . }}
44< div class ="navbar navbar-nav ">
Original file line number Diff line number Diff line change @@ -44,9 +44,9 @@ test.describe('Smoke test for header', () => {
4444 } ) ;
4545
4646 test ( 'F5 Sites button works' , async ( { page } ) => {
47- const f5SitesButton = await page . getByTestId ( 'header__f5sites__button ' ) ;
47+ const f5SitesButton = await page . getByTestId ( 'header__f5sites_button ' ) ;
4848 await f5SitesButton . click ( ) ;
49- const f5SitesContent = await page . getByTestId ( 'header__f5sites__content ' ) ;
49+ const f5SitesContent = await page . getByTestId ( 'header__f5sites_content ' ) ;
5050 await expect ( f5SitesContent . count ( ) ) . toBeTruthy ( ) ;
5151 } ) ;
5252} ) ;
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ async function openPage(page, sidebarPage) {
4040}
4141
4242test . describe ( 'Smoke test for sidebar' , ( ) => {
43-
4443 // Slow test
4544 test . setTimeout ( 100_000 ) ;
4645
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export async function runSmokeTestOnPage(page) {
1313// THE GDPR Consent button appears when test is run from EU locations. This handles that popup.
1414export async function handleConsentPopup ( page ) {
1515 await page . addLocatorHandler (
16- page . locator ( '#truste-consent-content' ) ,
16+ page . locator ( '#truste-consent-content' ) ,
1717 async ( ) => {
1818 const consentButton = page . locator ( '#truste-consent-required' ) ;
1919 expect ( consentButton ) . toBeVisible ( ) ;
You can’t perform that action at this time.
0 commit comments