blob: b525227acc4e232e566b3f331faaab1df1b78ee1 [file] [log] [blame]
Tests that the panel transitions to the overview view when navigating to an interstitial. Regression test for https://crbug.com/638601
Before selecting origin view:
<DIV class=widget vbox security-main-view >
<DIV class=security-summary >
<DIV class=security-summary-section-title >
Security overview
</DIV>
<DIV class=lock-spectrum >
<DIV class=lock-icon lock-icon-secure >
</DIV>
<DIV class=lock-icon lock-icon-neutral >
</DIV>
<DIV class=lock-icon lock-icon-insecure >
</DIV>
</DIV>
<DIV class=triangle-pointer-container >
<DIV class=triangle-pointer-wrapper >
<DIV class=triangle-pointer >
</DIV>
</DIV>
</DIV>
<DIV class=security-summary-text >
</DIV>
</DIV>
<DIV class=security-explanation-list security-explanations-main >
</DIV>
<DIV class=security-explanation-list security-explanations-extra >
</DIV>
</DIV>
Panel on origin view before interstitial:
<DIV class=widget vbox security-origin-view insertion-point-main >
<STYLE type=text/css >
</STYLE>
<STYLE type=text/css >
</STYLE>
<DIV class=title-section >
<DIV class=title-section-header >
Origin
</DIV>
<DIV class=origin-display >
<SPAN class=security-property security-property-secure >
</SPAN>
<SPAN is=url-text >
<SPAN class=url-scheme-secure >
https
</SPAN>
<SPAN class=url-scheme-separator >
://
</SPAN>
<SPAN >
foo.test
</SPAN>
</SPAN>
</DIV>
<DIV class=view-network-button >
<BUTTON is=text-button type=button class=origin-button >
View requests in Network Panel
<#document-fragment >
<STYLE type=text/css >
</STYLE>
<STYLE type=text/css >
</STYLE>
<STYLE type=text/css >
</STYLE>
<CONTENT >
</CONTENT>
</#document-fragment>
</BUTTON>
</DIV>
</DIV>
<DIV class=origin-view-section >
<DIV class=origin-view-section-title >
Not secure
</DIV>
<DIV >
Your connection to this origin is not secure.
</DIV>
</DIV>
</DIV>
After interstitial is shown:
<DIV class=widget vbox security-main-view >
<DIV class=security-summary >
<DIV class=security-summary-section-title >
Security overview
</DIV>
<DIV class=lock-spectrum >
<DIV class=lock-icon lock-icon-secure >
</DIV>
<DIV class=lock-icon lock-icon-neutral >
</DIV>
<DIV class=lock-icon lock-icon-insecure >
</DIV>
</DIV>
<DIV class=triangle-pointer-container >
<DIV class=triangle-pointer-wrapper >
<DIV class=triangle-pointer >
</DIV>
</DIV>
</DIV>
<DIV class=security-summary-text >
</DIV>
</DIV>
<DIV class=security-explanation-list security-explanations-main >
</DIV>
<DIV class=security-explanation-list security-explanations-extra >
</DIV>
</DIV>