apinf / platform

Apinf - Open source API management platform with multi proxy and protocol support
https://apinf.com/
European Union Public License 1.1
74 stars 33 forks source link

[tests] Admin user tests in Gate 1 #2671

Closed as33ms closed 6 years ago

as33ms commented 7 years ago

Copy over the issue from apinf/docs repository (https://github.com/apinf/docs/issues/57).

In Gate 1 we should test branding, proxy, site settings and organizations but we cant just give admin password into github.

as33ms commented 7 years ago

cc: @wuder4

as33ms commented 7 years ago

This should use the test seeding. @phanimahesh can you help in that?

wuder4 commented 7 years ago

Gate 1 tests don't have any cases that need admin access. Although this same problem is in Gate 2.

phanimahesh commented 7 years ago

Apologies for late response, somehow this issue got buried in my notifications and I missed the earlier ping.

I'm not familiar with meteor enough to know recommended seeding methods. But yes, the solution to this is to just seed an admin user and use that account in tests.

preriasusi commented 6 years ago

@phanimahesh Could you share Ci credentials for @anarva

anarva commented 6 years ago

@phanimahesh, my suggestion is to add the username and password as an environment variable to the test system. Could you help me do that or alternatively grant me the admin rights to the test system?

phanimahesh commented 6 years ago

We don't have a currently running jenkins instance, it was shut down during migrations and hasnt been brought back up. I'll have to get it back up and running first.

Are we not running these tests in travis?

anarva commented 6 years ago

@phanimahesh Yes, sorry, my mistake. :) Please ignore my previous comment.