Skip to content

'login.scenario.ts' is used in many test suite when kubeadmin password is set #2015

@gouyang

Description

@gouyang

const suite = (tests: string[]) => (!_.isNil(process.env.BRIDGE_KUBEADMIN_PASSWORD) ? ['tests/login.scenario.ts'] : []).concat(['tests/base.scenario.ts', ...tests]);

'login.scenario.ts' is using in many test suites and it's called separately in suite 'login' as well.
It's better to have a simple authentiation which just provides login functionality for other suite.

Metadata

Metadata

Assignees

Labels

kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions