forked from frappe/frappe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
250 changed files
with
5,952 additions
and
6,575 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,17 @@ | ||
version = 1 | ||
|
||
test_patterns = [ | ||
"**/test_*.py" | ||
] | ||
|
||
exclude_patterns = [ | ||
"frappe/patches/**", | ||
"*.min.js" | ||
] | ||
|
||
[[analyzers]] | ||
name = "python" | ||
enabled = true | ||
|
||
[analyzers.meta] | ||
runtime_version = "3.x.x" |
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
name: Bug report | ||
about: Report a bug encountered while using the Frappe Framework | ||
|
||
labels: bug | ||
--- | ||
|
||
<!-- | ||
|
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea to improve Frappe | ||
|
||
labels: feature-request | ||
--- | ||
|
||
<!-- | ||
|
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
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
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
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
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,7 @@ | ||
# Security Policy | ||
|
||
The Frappe team and community take security issues in the Frappe Framework seriously. To report a security issue, fill out the form at [https://erpnext.com/security/report](https://erpnext.com/security/report). | ||
|
||
You can help us make Frappe and consequently all Frappe dependent apps like [ERPNext](https://erpnext.com) more secure by following the [Reporting guidelines](https://erpnext.com/security). | ||
|
||
We appreciate your efforts to responsibly disclose your findings. We'll endeavor to respond quickly, and will keep you updated throughout the process. |
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
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
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 |
---|---|---|
|
@@ -7,22 +7,27 @@ context('Form', () => { | |
it('add custom column in report', () => { | ||
cy.visit('/desk#query-report/Permitted Documents For User'); | ||
|
||
cy.get('#page-query-report input[data-fieldname="user"]').as('input'); | ||
cy.get('@input').focus().type('[email protected]', { delay: 100 }); | ||
cy.get('#page-query-report input[data-fieldname="doctype"]').as('input-test'); | ||
cy.get('@input-test').focus().type('Role', { delay: 100 }).blur(); | ||
cy.get('.datatable').should('exist'); | ||
cy.get('button').contains('Menu').click({force: true}); | ||
cy.get('.dropdown-menu li').contains('Add Column').click({force: true}); | ||
cy.get('.modal-dialog').should('contain', 'Add Column'); | ||
cy.get('select[data-fieldname="doctype"]').select("Role", {force: true}); | ||
cy.get('select[data-fieldname="field"]').select("Role Name", {force: true}); | ||
cy.get('select[data-fieldname="insert_after"]').select("Name", {force: true}); | ||
cy.get('button').contains('Submit').click({force: true}); | ||
cy.get('button').contains('Menu').click({force: true}); | ||
cy.get('.dropdown-menu li').contains('Save').click({force: true}); | ||
cy.get('.modal-dialog').should('contain', 'Save Report'); | ||
cy.get('input[data-fieldname="report_name"]').type("Test Report", {force: true}); | ||
cy.get('button').contains('Submit').click({force: true}); | ||
cy.get('div[class="page-form flex"]', {timeout: 60000}).should('have.length', 1).then(()=>{ | ||
cy.get('#page-query-report input[data-fieldname="user"]').as('input'); | ||
cy.get('@input').focus().type('[email protected]', { delay: 100 }); | ||
|
||
cy.get('#page-query-report input[data-fieldname="doctype"]').as('input-test'); | ||
cy.get('@input-test').focus().type('Role', { delay: 100 }).blur(); | ||
|
||
cy.get('.datatable').should('exist'); | ||
cy.get('button').contains('Menu').click({force: true}); | ||
cy.get('.dropdown-menu li').contains('Add Column').click({force: true}); | ||
cy.get('.modal-dialog').should('contain', 'Add Column'); | ||
cy.get('select[data-fieldname="doctype"]').select("Role", {force: true}); | ||
cy.get('select[data-fieldname="field"]').select("Role Name", {force: true}); | ||
cy.get('select[data-fieldname="insert_after"]').select("Name", {force: true}); | ||
cy.get('button').contains('Submit').click({force: true}); | ||
cy.get('button').contains('Menu').click({force: true}); | ||
cy.get('.dropdown-menu li').contains('Save').click({force: true}); | ||
cy.get('.modal-dialog').should('contain', 'Save Report'); | ||
|
||
cy.get('input[data-fieldname="report_name"]').type("Test Report", {delay:100, force: true}); | ||
cy.get('button').contains('Submit').click({timeout:1000, force: true}); | ||
}); | ||
}); | ||
}); |
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
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
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
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
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
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
Oops, something went wrong.