Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCPBUGS-11042: Remove explicit any type #29

Merged
merged 1 commit into from Apr 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion integration-tests/support/index.ts
Expand Up @@ -2,6 +2,6 @@
import './login';

export const checkErrors = () =>
cy.window().then((win: any) => {
cy.window().then((win) => {
assert.isTrue(!win.windowError, win.windowError);
});
4 changes: 2 additions & 2 deletions integration-tests/support/login.ts
Expand Up @@ -19,7 +19,7 @@ const KUBEADMIN_USERNAME = 'kubeadmin';
Cypress.Commands.add('login', (username: string, password: string) => {
// Check if auth is disabled (for a local development environment).
cy.visit('/'); // visits baseUrl which is set in plugins/index.js
cy.window().then((win: any) => {
cy.window().then((win) => {
if (win.SERVER_FLAGS?.authDisabled) {
return;
}
Expand All @@ -38,7 +38,7 @@ Cypress.Commands.add('login', (username: string, password: string) => {

Cypress.Commands.add('logout', () => {
// Check if auth is disabled (for a local development environment).
cy.window().then((win: any) => {
cy.window().then((win) => {
if (win.SERVER_FLAGS?.authDisabled) {
return;
}
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/tests/example-page.cy.ts
Expand Up @@ -11,7 +11,7 @@ const installHelmChart = (path: string) => {
{
failOnNonZeroExit: false,
},
).then((result: any) => {
).then((result) => {
cy.visit(`/example`);
cy.log('Error installing helm chart: ', result.stderr);
cy.log('Successfully installed helm chart: ', result.stdout);
Expand All @@ -24,7 +24,7 @@ const deleteHelmChart = (path: string) => {
{
failOnNonZeroExit: false,
},
).then((result: any) => {
).then((result) => {
cy.log('Error uninstalling helm chart: ', result.stderr);
cy.log('Successfully uninstalled helm chart: ', result.stdout);
});
Expand Down