blob: 75b46be0f5a5f5b5208b723bf698458828588a5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
import { ServicesPageHelper } from '../cluster/services.po';
describe('Services page', () => {
const services = new ServicesPageHelper();
const serviceName = 'rgw.foo';
beforeEach(() => {
cy.login();
services.navigateTo();
});
describe('when Orchestrator is available', () => {
it('should create an rgw service', () => {
services.navigateTo('create');
services.addService('rgw');
services.checkExist(serviceName, true);
});
it('should edit a service', () => {
const count = '2';
services.editService(serviceName, count);
services.expectPlacementCount(serviceName, count);
});
it('should create and delete an ingress service', () => {
services.navigateTo('create');
services.addService('ingress');
services.checkExist('ingress.rgw.foo', true);
services.deleteService('ingress.rgw.foo');
});
});
});
|