Browse Source
chore: remove deprecated and empty QUnit tests (#27179 )
* chore: remove deprecated and empty QUnit tests
* ci: fix UI test config
Testing library was added on Frappe, in order to reuse command testing
library has to be installed during setup process.
develop
Ankush Menat
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
222 changed files with
1 additions and
5084 deletions
.github/workflows/ui-tests.yml
erpnext/accounts/doctype/accounting_period/test_accounting_period.js
erpnext/accounts/doctype/bank/test_bank.js
erpnext/accounts/doctype/bank_account/test_bank_account.js
erpnext/accounts/doctype/bank_account_subtype/test_bank_account_subtype.js
erpnext/accounts/doctype/bank_guarantee/test_bank_guarantee.js
erpnext/accounts/doctype/bank_transaction/test_bank_transaction.js
erpnext/accounts/doctype/cash_flow_mapper/test_cash_flow_mapper.js
erpnext/accounts/doctype/cash_flow_mapping/test_cash_flow_mapping.js
erpnext/accounts/doctype/cash_flow_mapping_template/test_cash_flow_mapping_template.js
erpnext/accounts/doctype/cash_flow_mapping_template_details/test_cash_flow_mapping_template_details.js
erpnext/accounts/doctype/cashier_closing/test_cashier_closing.js
erpnext/accounts/doctype/chart_of_accounts_importer/test_chart_of_accounts_importer.js
erpnext/accounts/doctype/coupon_code/test_coupon_code.js
erpnext/accounts/doctype/exchange_rate_revaluation/test_exchange_rate_revaluation.js
erpnext/accounts/doctype/finance_book/test_finance_book.js
erpnext/accounts/doctype/gl_entry/test_gl_entry.js
erpnext/accounts/doctype/item_tax_template/test_item_tax_template.js
erpnext/accounts/doctype/loyalty_point_entry/test_loyalty_point_entry.js
erpnext/accounts/doctype/loyalty_program/test_loyalty_program.js
erpnext/accounts/doctype/opening_invoice_creation_tool/test_opening_invoice_creation_tool.js
erpnext/accounts/doctype/payment_order/test_payment_order.js
erpnext/accounts/doctype/payment_request/test_payment_request.js
erpnext/accounts/doctype/payment_term/test_payment_term.js
erpnext/accounts/doctype/payment_terms_template/test_payment_terms_template.js
erpnext/accounts/doctype/pos_closing_entry/test_pos_closing_entry.js
erpnext/accounts/doctype/pos_profile/test_pos_profile.js
erpnext/accounts/doctype/pos_profile_user/test_pos_profile_user.js
erpnext/accounts/doctype/pos_settings/test_pos_settings.js
erpnext/accounts/doctype/share_transfer/test_share_transfer.js
erpnext/accounts/doctype/share_type/test_share_type.js
erpnext/accounts/doctype/shareholder/test_shareholder.js
erpnext/accounts/doctype/subscription_invoice/test_subscription_invoice.js
erpnext/accounts/doctype/subscription_plan/test_subscription_plan.js
erpnext/accounts/doctype/subscription_settings/test_subscription_settings.js
erpnext/accounts/doctype/tax_category/test_tax_category.js
erpnext/accounts/doctype/tax_rule/test_tax_rule.js
erpnext/accounts/doctype/tax_withholding_category/test_tax_withholding_category.js
erpnext/agriculture/doctype/agriculture_analysis_criteria/test_agriculture_analysis_criteria.js
erpnext/agriculture/doctype/agriculture_task/test_agriculture_task.js
erpnext/agriculture/doctype/plant_analysis/test_plant_analysis.js
erpnext/agriculture/doctype/soil_analysis/test_soil_analysis.js
erpnext/agriculture/doctype/weather/test_weather.js
erpnext/assets/doctype/asset/test_asset.js
erpnext/assets/doctype/asset_category/test_asset_category.js
erpnext/assets/doctype/asset_maintenance/test_asset_maintenance.js
erpnext/assets/doctype/asset_maintenance_log/test_asset_maintenance_log.js
erpnext/assets/doctype/asset_maintenance_team/test_asset_maintenance_team.js
erpnext/assets/doctype/asset_movement/test_asset_movement.js
erpnext/assets/doctype/asset_repair/test_asset_repair.js
erpnext/assets/doctype/asset_value_adjustment/test_asset_value_adjustment.js
erpnext/assets/doctype/location/test_location.js
erpnext/assets/doctype/maintenance_team_member/test_maintenance_team_member.js
erpnext/crm/doctype/contract/test_contract.js
erpnext/crm/doctype/contract_fulfilment_checklist/test_contract_fulfilment_checklist.js
erpnext/crm/doctype/contract_template/test_contract_template.js
erpnext/crm/doctype/market_segment/test_market_segment.js
erpnext/crm/doctype/opportunity_type/test_opportunity_type.js
erpnext/crm/doctype/sales_stage/test_sales_stage.js
erpnext/education/doctype/academic_year/test_academic_year.js
erpnext/education/doctype/article/test_article.js
erpnext/education/doctype/content_question/test_content_question.js
erpnext/education/doctype/course_activity/test_course_activity.js
erpnext/education/doctype/course_content/test_course_content.js
erpnext/education/doctype/course_enrollment/test_course_enrollment.js
erpnext/education/doctype/course_schedule/test_course_schedule.js
erpnext/education/doctype/course_scheduling_tool/test_course_scheduling_tool.js
erpnext/education/doctype/course_topic/test_course_topic.js
erpnext/education/doctype/fee_category/test_fee_category.js
erpnext/education/doctype/fee_schedule/test_fee_schedule.js
erpnext/education/doctype/fee_structure/test_fee_structure.js
erpnext/education/doctype/program_enrollment/test_program_enrollment.js
erpnext/education/doctype/program_enrollment_tool/test_program_enrollment_tool.js
erpnext/education/doctype/question/test_question.js
erpnext/education/doctype/quiz/test_quiz.js
erpnext/education/doctype/quiz_activity/test_quiz_activity.js
erpnext/education/doctype/quiz_result/test_quiz_result.js
erpnext/education/doctype/school_house/test_school_house.js
erpnext/education/doctype/student/test_student.js
erpnext/education/doctype/student_language/test_student_language.js
erpnext/education/doctype/student_report_generation_tool/test_student_report_generation_tool.js
erpnext/education/doctype/topic/test_topic.js
erpnext/education/doctype/topic_content/test_topic_content.js
erpnext/erpnext_integrations/doctype/amazon_mws_settings/test_amazon_mws_settings.js
erpnext/erpnext_integrations/doctype/gocardless_mandate/test_gocardless_mandate.js
erpnext/erpnext_integrations/doctype/gocardless_settings/test_gocardless_settings.js
erpnext/erpnext_integrations/doctype/plaid_settings/test_plaid_settings.js
erpnext/erpnext_integrations/doctype/quickbooks_migrator/test_quickbooks_migrator.js
erpnext/erpnext_integrations/doctype/tally_migration/test_tally_migration.js
erpnext/erpnext_integrations/doctype/woocommerce_settings/test_woocommerce_settings.js
erpnext/healthcare/doctype/antibiotic/test_antibiotic.js
erpnext/healthcare/doctype/appointment_type/test_appointment_type.js
erpnext/healthcare/doctype/clinical_procedure/test_clinical_procedure.js
erpnext/healthcare/doctype/clinical_procedure_template/test_clinical_procedure_template.js
erpnext/healthcare/doctype/complaint/test_complaint.js
erpnext/healthcare/doctype/diagnosis/test_diagnosis.js
erpnext/healthcare/doctype/dosage_form/test_dosage_form.js
erpnext/healthcare/doctype/fee_validity/test_fee_validity.js
erpnext/healthcare/doctype/healthcare_practitioner/test_healthcare_practitioner.js
erpnext/healthcare/doctype/healthcare_service_unit/test_healthcare_service_unit.js
@ -95,7 +95,7 @@ jobs:
run : cd ~/frappe-bench/ && bench --site test_site execute erpnext.setup.utils.before_tests
- name : cypress pre-requisites
run : cd ~/frappe-bench/apps/frappe && yarn add cypress-file-upload@^5 --no-lockfile
run : cd ~/frappe-bench/apps/frappe && yarn add cypress-file-upload@^5 @testing-library/cypress@^8 --no-lockfile
- name : Build Assets
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Accounting Period" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Accounting Period
( ) => frappe . tests . make ( 'Accounting Period' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Bank" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Bank
( ) => frappe . tests . make ( 'Bank' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Bank Account" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Bank Account
( ) => frappe . tests . make ( 'Bank Account' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Bank Account Subtype" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Bank Account Subtype
( ) => frappe . tests . make ( 'Bank Account Subtype' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Bank Guarantee" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Bank Guarantee
( ) => frappe . tests . make ( 'Bank Guarantee' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Bank Transaction" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Bank Transaction
( ) => frappe . tests . make ( 'Bank Transaction' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Cash Flow Mapper" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Cash Flow Mapper
( ) => frappe . tests . make ( 'Cash Flow Mapper' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Cash Flow Mapping" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Cash Flow Mapping
( ) => frappe . tests . make ( 'Cash Flow Mapping' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Cash Flow Mapping Template" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Cash Flow Mapping Template
( ) => frappe . tests . make ( 'Cash Flow Mapping Template' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Cash Flow Mapping Template Details" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Cash Flow Mapping Template Details
( ) => frappe . tests . make ( 'Cash Flow Mapping Template Details' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Cashier Closing" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Cashier Closing
( ) => frappe . tests . make ( 'Cashier Closing' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Chart of Accounts Importer" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Chart of Accounts Importer
( ) => frappe . tests . make ( 'Chart of Accounts Importer' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Coupon Code" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Coupon Code
( ) => frappe . tests . make ( 'Coupon Code' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Exchange Rate Revaluation" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Exchange Rate Revaluation
( ) => frappe . tests . make ( 'Exchange Rate Revaluation' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Finance Book" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Finance Book
( ) => frappe . tests . make ( 'Finance Book' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: GL Entry" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( 'GL Entry' , [
// insert a new GL Entry
( ) => frappe . tests . make ( [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Item Tax Template" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Item Tax Template
( ) => frappe . tests . make ( 'Item Tax Template' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Loyalty Point Entry" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Loyalty Point Entry
( ) => frappe . tests . make ( 'Loyalty Point Entry' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Loyalty Program" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Loyalty Program
( ) => frappe . tests . make ( 'Loyalty Program' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Opening Invoice Creation Tool" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Opening Invoice Creation Tool
( ) => frappe . tests . make ( 'Opening Invoice Creation Tool' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Payment Order" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Payment Order
( ) => frappe . tests . make ( 'Payment Order' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Payment Request" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Payment Request
( ) => frappe . tests . make ( 'Payment Request' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Payment Term" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Payment Term
( ) => frappe . tests . make ( 'Payment Term' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Payment Terms Template" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Payment Terms Template
( ) => frappe . tests . make ( 'Payment Terms Template' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: POS Closing Entry" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new POS Closing Entry
( ) => frappe . tests . make ( 'POS Closing Entry' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: POS Profile" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( 'POS Profile' , [
// insert a new POS Profile
( ) => frappe . tests . make ( [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: POS Profile User" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new POS Profile User
( ) => frappe . tests . make ( 'POS Profile User' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: POS Settings" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new POS Settings
( ) => frappe . tests . make ( 'POS Settings' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Share Transfer" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Share Transfer
( ) => frappe . tests . make ( 'Share Transfer' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Share Type" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Share Type
( ) => frappe . tests . make ( 'Share Type' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Shareholder" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Shareholder
( ) => frappe . tests . make ( 'Shareholder' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Subscription Invoice" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Subscription Invoice
( ) => frappe . tests . make ( 'Subscription Invoice' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Subscription Plan" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Subscription Plan
( ) => frappe . tests . make ( 'Subscription Plan' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Subscription Settings" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Subscription Settings
( ) => frappe . tests . make ( 'Subscription Settings' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Tax Category" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Tax Category
( ) => frappe . tests . make ( 'Tax Category' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Tax Rule" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Tax Rule
( ) => frappe . tests . make ( 'Tax Rule' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Tax Withholding Category" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Tax Withholding Category
( ) => frappe . tests . make ( 'Tax Withholding Category' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Agriculture Analysis Criteria" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Agriculture Analysis Criteria
( ) => frappe . tests . make ( 'Agriculture Analysis Criteria' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Agriculture Task" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Agriculture Task
( ) => frappe . tests . make ( 'Agriculture Task' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Plant Analysis" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Plant Analysis
( ) => frappe . tests . make ( 'Plant Analysis' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Soil Analysis" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Soil Analysis
( ) => frappe . tests . make ( 'Soil Analysis' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Weather" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Weather
( ) => frappe . tests . make ( 'Weather' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Asset" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Asset
( ) => frappe . tests . make ( 'Asset' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Asset Category" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Asset Category
( ) => frappe . tests . make ( 'Asset Category' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Asset Maintenance" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Asset Maintenance
( ) => frappe . tests . make ( 'Asset Maintenance' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Asset Maintenance Log" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Asset Maintenance Log
( ) => frappe . tests . make ( 'Asset Maintenance Log' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Asset Maintenance Team" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Asset Maintenance Team
( ) => frappe . tests . make ( 'Asset Maintenance Team' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Asset Movement" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Asset Movement
( ) => frappe . tests . make ( 'Asset Movement' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Asset Repair" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Asset Repair
( ) => frappe . tests . make ( 'Asset Repair' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Asset Value Adjustment" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Asset Value Adjustment
( ) => frappe . tests . make ( 'Asset Value Adjustment' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Location" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Location
( ) => frappe . tests . make ( 'Location' , [
// values to be set
{ location_name : 'Basil Farm' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . name , 'Basil Farm' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Maintenance Team Member" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Maintenance Team Member
( ) => frappe . tests . make ( 'Maintenance Team Member' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Contract" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Contract
( ) => frappe . tests . make ( 'Contract' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Contract Fulfilment Checklist" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Contract Fulfilment Checklist
( ) => frappe . tests . make ( 'Contract Fulfilment Checklist' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Contract Template" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Contract Template
( ) => frappe . tests . make ( 'Contract Template' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Market Segment" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Market Segment
( ) => frappe . tests . make ( 'Market Segment' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Opportunity Type" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Opportunity Type
( ) => frappe . tests . make ( 'Opportunity Type' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Sales Stage" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Sales Stage
( ) => frappe . tests . make ( 'Sales Stage' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
// Testing Setup Module in Education
QUnit . module ( 'education' ) ;
QUnit . test ( 'Test: Academic Year' , function ( assert ) {
assert . expect ( 3 ) ;
let done = assert . async ( ) ;
frappe . run_serially ( [
( ) => {
return frappe . tests . make ( 'Academic Year' , [
{ academic_year_name : '2016-17' } ,
{ year_start_date : '2016-07-20' } ,
{ year_end_date : '2017-06-20' } ,
] ) ;
} ,
( ) => {
assert . ok ( cur_frm . doc . academic_year_name == '2016-17' ) ;
assert . ok ( cur_frm . doc . year_start_date == '2016-07-20' ) ;
assert . ok ( cur_frm . doc . year_end_date == '2017-06-20' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Article" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Article
( ) => frappe . tests . make ( 'Article' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Content Question" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Content Question
( ) => frappe . tests . make ( 'Content Question' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Course Activity" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Course Activity
( ) => frappe . tests . make ( 'Course Activity' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Course Content" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Course Content
( ) => frappe . tests . make ( 'Course Content' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Course Enrollment" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Course Enrollment
( ) => frappe . tests . make ( 'Course Enrollment' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Course Schedule" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Course Schedule
( ) => frappe . tests . make ( 'Course Schedule' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Course Scheduling Tool" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Course Scheduling Tool
( ) => frappe . tests . make ( 'Course Scheduling Tool' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Course Topic" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Course Topic
( ) => frappe . tests . make ( 'Course Topic' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Fee Category" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Fee Category
( ) => frappe . tests . make ( 'Fee Category' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Fee Schedule" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( 'Fee Schedule' , [
// insert a new Fee Schedule
( ) => frappe . tests . make ( [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Fee Structure" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Fee Structure
( ) => frappe . tests . make ( 'Fee Structure' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Program Enrollment" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Program Enrollment
( ) => frappe . tests . make ( 'Program Enrollment' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Program Enrollment Tool" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Program Enrollment Tool
( ) => frappe . tests . make ( 'Program Enrollment Tool' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Question" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Question
( ) => frappe . tests . make ( 'Question' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Quiz" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Quiz
( ) => frappe . tests . make ( 'Quiz' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Quiz Activity" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Quiz Activity
( ) => frappe . tests . make ( 'Quiz Activity' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Quiz Result" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Quiz Result
( ) => frappe . tests . make ( 'Quiz Result' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: School House" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new School House
( ) => frappe . tests . make ( 'School House' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Student" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Student
( ) => frappe . tests . make ( 'Student' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Student Language" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Student Language
( ) => frappe . tests . make ( 'Student Language' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Student Report Generation Tool" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Student Report Generation Tool
( ) => frappe . tests . make ( 'Student Report Generation Tool' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Topic" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Topic
( ) => frappe . tests . make ( 'Topic' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Topic Content" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Topic Content
( ) => frappe . tests . make ( 'Topic Content' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Amazon MWS Settings" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Amazon MWS Settings
( ) => frappe . tests . make ( 'Amazon MWS Settings' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: GoCardless Mandate" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new GoCardless Mandate
( ) => frappe . tests . make ( 'GoCardless Mandate' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: GoCardless Settings" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new GoCardless Settings
( ) => frappe . tests . make ( 'GoCardless Settings' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Plaid Settings" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Plaid Settings
( ) => frappe . tests . make ( 'Plaid Settings' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: QuickBooks Migrator" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new QuickBooks Migrator
( ) => frappe . tests . make ( 'QuickBooks Migrator' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Tally Migration" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Tally Migration
( ) => frappe . tests . make ( 'Tally Migration' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Woocommerce Settings" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Woocommerce Settings
( ) => frappe . tests . make ( 'Woocommerce Settings' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Antibiotic" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Antibiotic
( ) => frappe . tests . make ( 'Antibiotic' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Appointment Type" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Appointment Type
( ) => frappe . tests . make ( 'Appointment Type' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Clinical Procedure" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Clinical Procedure
( ) => frappe . tests . make ( 'Clinical Procedure' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Clinical Procedure Template" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Clinical Procedure Template
( ) => frappe . tests . make ( 'Clinical Procedure Template' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Complaint" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Complaint
( ) => frappe . tests . make ( 'Complaint' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Diagnosis" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Diagnosis
( ) => frappe . tests . make ( 'Diagnosis' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Dosage Form" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Dosage Form
( ) => frappe . tests . make ( 'Dosage Form' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Fee Validity" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Fee Validity
( ) => frappe . tests . make ( 'Fee Validity' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Healthcare Practitioner" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Healthcare Practitioner
( ) => frappe . tests . make ( 'Healthcare Practitioner' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;
@ -1,23 +0,0 @@
/* eslint-disable */
// rename this file from _test_[name] to test_[name] to activate
// and remove above this line
QUnit . test ( "test: Healthcare Service Unit" , function ( assert ) {
let done = assert . async ( ) ;
// number of asserts
assert . expect ( 1 ) ;
frappe . run_serially ( [
// insert a new Healthcare Service Unit
( ) => frappe . tests . make ( 'Healthcare Service Unit' , [
// values to be set
{ key : 'value' }
] ) ,
( ) => {
assert . equal ( cur_frm . doc . key , 'value' ) ;
} ,
( ) => done ( )
] ) ;
} ) ;