Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8d9e988

Browse files
committed
chore: cleanup commands
1 parent ef2b497 commit 8d9e988

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

apps/ssr-e2e/src/support/app.po.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/ssr-e2e/src/support/commands.ts

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,5 @@
1111
// eslint-disable-next-line @typescript-eslint/no-namespace
1212
declare namespace Cypress {
1313
// eslint-disable-next-line @typescript-eslint/no-unused-vars
14-
interface Chainable<Subject> {
15-
login(email: string, password: string): void;
16-
}
14+
interface Chainable<Subject> {}
1715
}
18-
//
19-
// -- This is a parent command --
20-
Cypress.Commands.add('login', (email, password) => {
21-
console.log('Custom command example: Login', email, password);
22-
});
23-
//
24-
// -- This is a child command --
25-
// Cypress.Commands.add("drag", { prevSubject: 'element'}, (subject, options) => { ... })
26-
//
27-
//
28-
// -- This is a dual command --
29-
// Cypress.Commands.add("dismiss", { prevSubject: 'optional'}, (subject, options) => { ... })
30-
//
31-
//
32-
// -- This will overwrite an existing command --
33-
// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... })

0 commit comments

Comments
 (0)