mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-12 09:51:31 +08:00

* chore: video config is updated as it will not generate any video while running cypress * chore: cypress.env.json is added in the env file * chore: tsConfig is updated * feature: Cypress is updated with some of the test cases * chore: default test case is removed * chore: convertToNanoSecondsToSecond function is updated * chore: lock files, node_modules are ignored in git * test: metric are updated Co-authored-by: Ankit Nayan <ankit@signoz.io>
13 lines
265 B
TypeScript
13 lines
265 B
TypeScript
import '@testing-library/cypress/add-commands';
|
|
import Login, { LoginProps } from '../CustomFunctions/Login';
|
|
|
|
Cypress.Commands.add('login', Login);
|
|
|
|
declare global {
|
|
namespace Cypress {
|
|
interface Chainable<Subject> {
|
|
login(props: LoginProps): void;
|
|
}
|
|
}
|
|
}
|