File tree Expand file tree Collapse file tree
test/java/io/qameta/allure/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8989 </#if >
9090 <#if analyticsDisable == false >
9191 <script async src =" https://www.googletagmanager.com/gtag/js?id=G-FVWC4GKEYS" ></script >
92- </#if >
9392 <script >
9493 window .dataLayer = window .dataLayer || [];
9594 function gtag (){dataLayer .push (arguments );}
10099 ' single_file' : ${reportDataFiles? has_content? string}
101100 });
102101 < / script>
102+ < / #if >
103103 < #if reportDataFiles? has_content>
104104 < script async >
105105 window .reportDataReady = false ;
Original file line number Diff line number Diff line change @@ -76,7 +76,9 @@ void shouldDisableAnalytics(@TempDir final Path tempDirectory) {
7676 assertThat (indexHtml )
7777 .isRegularFile ()
7878 .content (StandardCharsets .UTF_8 )
79- .doesNotContain ("googletagmanager" );
79+ .doesNotContain ("googletagmanager" )
80+ .doesNotContain ("G-FVWC4GKEYS" )
81+ .doesNotContain ("dataLayer" );
8082 }
8183
8284 /**
You can’t perform that action at this time.
0 commit comments