fix: remove unused AUTH_BROWSER_LAUNCHED / AUTH_COULD_NOT_LAUNCH_BROWSER

This commit is contained in:
Tim Griesser
2022-02-22 11:21:20 -05:00
parent 762c78f734
commit e2f385d85f
4 changed files with 0 additions and 98 deletions

View File

@@ -1,38 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Courier+Prime&display=swap" rel="stylesheet">
<style>
body {
font-family: "Courier Prime", Courier, monospace;
padding: 0 1em;
line-height: 1.4;
color: #eee;
background-color: #111;
}
pre {
padding: 0 0;
margin: 0 0;
font-family: "Courier Prime", Courier, monospace;
}
body {
margin: 5px;
padding: 0;
overflow: hidden;
}
pre {
white-space: pre-wrap;
word-break: break-word;
-webkit-font-smoothing: antialiased;
}
</style>
</head>
<body><pre><span style="color:#e05561">Check your browser to continue logging in.<span style="color:#e6e6e6"></span></span>
</pre></body></html>

View File

@@ -1,40 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Courier+Prime&display=swap" rel="stylesheet">
<style>
body {
font-family: "Courier Prime", Courier, monospace;
padding: 0 1em;
line-height: 1.4;
color: #eee;
background-color: #111;
}
pre {
padding: 0 0;
margin: 0 0;
font-family: "Courier Prime", Courier, monospace;
}
body {
margin: 5px;
padding: 0;
overflow: hidden;
}
pre {
white-space: pre-wrap;
word-break: break-word;
-webkit-font-smoothing: antialiased;
}
</style>
</head>
<body><pre><span style="color:#e05561">Cypress was unable to open your installed browser. To continue logging in, please open this URL in your web browser:<span style="color:#e6e6e6">
<span style="color:#e05561"><span style="color:#e6e6e6">
<span style="color:#e05561"><span style="color:#4ec4ff">https://dashboard.cypress.io/login<span style="color:#e05561"><span style="color:#e6e6e6"></span></span></span></span></span></span></span></span>
</pre></body></html>

View File

@@ -903,16 +903,6 @@ export const AllCypressErrors = {
Provide a path to an existing fixture file.`
},
// TODO: test this
AUTH_COULD_NOT_LAUNCH_BROWSER: (loginUrl: string) => {
return errTemplate`\
Cypress was unable to open your installed browser. To continue logging in, please open this URL in your web browser:
${fmt.url(loginUrl)}`
},
AUTH_BROWSER_LAUNCHED: () => {
return errTemplate`Check your browser to continue logging in.`
},
BAD_POLICY_WARNING: (policyKeys: string[]) => {
return errTemplate`\
Cypress detected policy settings on your computer that may cause issues.

View File

@@ -893,16 +893,6 @@ describe('visual error templates', () => {
default: ['file', ['js', 'ts', 'json']],
}
},
AUTH_COULD_NOT_LAUNCH_BROWSER: () => {
return {
default: ['https://dashboard.cypress.io/login'],
}
},
AUTH_BROWSER_LAUNCHED: () => {
return {
default: [],
}
},
BAD_POLICY_WARNING: () => {
return {
default: [[