Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: flaky HR tests #29017

Merged
merged 4 commits into from
Dec 27, 2021
Merged

fix: flaky HR tests #29017

merged 4 commits into from
Dec 27, 2021

Conversation

ruchamahabal
Copy link
Member

@ruchamahabal ruchamahabal commented Dec 24, 2021

  • use root company in Expense Claims tests or else it randomly gives the root company error while creating accounts
  • set Holiday List for Leave Allocation test

@codecov
Copy link

codecov bot commented Dec 27, 2021

Codecov Report

Merging #29017 (fb6a40b) into develop (44407e6) will increase coverage by 9.96%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop   #29017      +/-   ##
===========================================
+ Coverage    45.62%   55.59%   +9.96%     
===========================================
  Files         1128     1128              
  Lines        67295    67295              
===========================================
+ Hits         30705    37412    +6707     
+ Misses       36590    29883    -6707     
Impacted Files Coverage Δ
.../hr/doctype/upload_attendance/upload_attendance.py 44.69% <0.00%> (-1.52%) ⬇️
.../report/stock_projected_qty/stock_projected_qty.py 88.15% <0.00%> (ø)
...ext/manufacturing/doctype/work_order/work_order.py 72.16% <0.00%> (+0.31%) ⬆️
erpnext/setup/doctype/company/company.py 71.94% <0.00%> (+0.33%) ⬆️
erpnext/controllers/taxes_and_totals.py 97.65% <0.00%> (+0.39%) ⬆️
erpnext/accounts/deferred_revenue.py 76.75% <0.00%> (+0.43%) ⬆️
erpnext/support/doctype/issue/issue.py 65.02% <0.00%> (+0.49%) ⬆️
erpnext/accounts/general_ledger.py 93.98% <0.00%> (+0.54%) ⬆️
erpnext/accounts/doctype/gl_entry/gl_entry.py 73.48% <0.00%> (+0.55%) ⬆️
...cturing/doctype/production_plan/production_plan.py 69.44% <0.00%> (+0.59%) ⬆️
... and 246 more

@ruchamahabal ruchamahabal marked this pull request as ready for review December 27, 2021 11:24
@ruchamahabal ruchamahabal changed the title fix: tests fix: flaky HR tests Dec 27, 2021
@ruchamahabal ruchamahabal merged commit 21b0738 into frappe:develop Dec 27, 2021
ruchamahabal added a commit to ruchamahabal/erpnext that referenced this pull request Dec 27, 2021
* fix(test): use root company in Expense Claim tests

* fix(test): set Holiday List for Leave Allocation

* fix(test): set Holiday List for company
ruchamahabal added a commit that referenced this pull request Dec 27, 2021
* fix(test): Leave Allocation validation against Leave Application after submit (#29005)

* fix(test): Leave Allocation validation against Leave Application after submit

* chore: clean-up Leave Allocation tests

* fix(test): set holiday list for leave allocation test

* fix: flaky HR tests (#29017)

* fix(test): use root company in Expense Claim tests

* fix(test): set Holiday List for Leave Allocation

* fix(test): set Holiday List for company
conncampbell pushed a commit to conncampbell/erpnext that referenced this pull request Jan 9, 2022
* fix(test): use root company in Expense Claim tests

* fix(test): set Holiday List for Leave Allocation

* fix(test): set Holiday List for company
conncampbell pushed a commit to conncampbell/erpnext that referenced this pull request Jan 9, 2022
* fix(test): use root company in Expense Claim tests

* fix(test): set Holiday List for Leave Allocation

* fix(test): set Holiday List for company
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant