fabric8-services / fabric8-auth

Identity and Access Management for fabric8 services
https://auth.openshift.io/api/status
Apache License 2.0
14 stars 26 forks source link

user deactivation e2e test #820

Closed nurali-techie closed 5 years ago

nurali-techie commented 5 years ago
  1. Basic test - notification, still inactive, deactivate
  2. Test with Activity - notification, new activity, deactivation doesn't happen, no activity again, another notification, no activity this time, deactivation

ToDo:

codecov[bot] commented 5 years ago

Codecov Report

Merging #820 into master will increase coverage by 0.03%. The diff coverage is 94.11%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #820      +/-   ##
==========================================
+ Coverage      78%   78.04%   +0.03%     
==========================================
  Files          98       98              
  Lines        9271     9283      +12     
==========================================
+ Hits         7232     7245      +13     
  Misses       1500     1500              
+ Partials      539      538       -1
Impacted Files Coverage Δ
controller/user.go 89.28% <100%> (+0.19%) :arrow_up:
worker/worker.go 60.97% <100%> (+0.48%) :arrow_up:
authentication/account/repository/identity.go 76.7% <100%> (+0.21%) :arrow_up:
controller/token.go 85.65% <100%> (+1.1%) :arrow_up:
configuration/configuration.go 82.27% <66.66%> (-0.15%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ee13243...adfda5c. Read the comment docs.

nurali-techie commented 5 years ago

test/* packages are ignored, so, the test is not run when make test-integration is called.

@alexeykazakov yes, we need to find a way to run this during build. Any suggestion ?? Cc: @xcoulon

alexeykazakov commented 5 years ago

yes, we need to find a way to run this during build. Any suggestion ??

Move the tests to authentication/account/worker package.

nurali-techie commented 5 years ago

test/* packages are ignored, so, the test is not run when make test-integration is called.

New make test-e2e target added to run this e2e test. This target is part of cico_run_test also.