-
-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(e2e): add coverage for chart of accounts
- Loading branch information
Showing
2 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
describe('Chart of Accounts', () => { | ||
let user; | ||
let host; | ||
|
||
before(() => { | ||
cy.signup().then(u => { | ||
user = u; | ||
cy.createHostOrganization(user.email).then(returnedAccount => { | ||
host = returnedAccount; | ||
cy.visit(`/dashboard/${host.slug}/chart-of-accounts`); | ||
}); | ||
}); | ||
}); | ||
|
||
it('should support all chart of accounts operations', () => { | ||
// Create category | ||
cy.contains('button', 'Create category').click(); | ||
|
||
// Fill form (the form is currently missing validations, see https://github.com/opencollective/opencollective/issues/7809) | ||
// TODO | ||
|
||
// Verify category was added | ||
// TODO | ||
|
||
// Test filtering by kind | ||
// TODO | ||
|
||
// Test filtering by visibility | ||
// TODO | ||
|
||
// Test search by code | ||
// TODO | ||
|
||
// Test search by name | ||
// TODO | ||
|
||
// Test search by friendly name | ||
// TODO | ||
|
||
// Test sorting by code | ||
// TODO | ||
|
||
// Test sorting by name | ||
// TODO | ||
|
||
// Test category deletion | ||
// TODO | ||
|
||
// Open and verify drawer | ||
// TODO | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters