Newer
Older
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
36
37
38
39
40
41
42
43
44
45
46
describe("Add, change, cancel, delete Attribute in Person", () =>
{
it([Tag.DEFAULT], "Should add Attribute in Person", () =>
{
cy.login();
cy.openMainFromFilter("Person", 2);
cy.openTabInMain("Eigenschaften");
cy.pressInsert();
cy.getLookUpField("AB_ATTRIBUTE_ID").openLookupWithSearch({query: 'Geburtstagsliste', select: 1}, true);
cy.fillComboField("VALUE", "Ja");
cy.pressSave();
});
it([Tag.DEFAULT], "Should change Attribute in Person", () =>
{
cy.login();
cy.openMainFromFilter("Person", 2);
cy.openTabInMain("Eigenschaften");
cy.selectValue("Geb", "tree");
cy.pressButton(0);
cy.fillComboField("VALUE", "Nein");
cy.pressSave();
});
it([Tag.DEFAULT], "Should start to change but cancel the change of Attribute in Person", () =>
{
cy.login();
cy.openMainFromFilter("Person", 2);
cy.openTabInMain("Eigenschaften");
cy.selectValue("Geb", "tree");
cy.pressButton(0);
cy.fillComboField("VALUE", "Nein");
cy.pressCancel();
});
it([Tag.DEFAULT], "Should delete Attribute in Person", () =>
{
cy.login();
cy.openMainFromFilter("Person", 2);
cy.openTabInMain("Eigenschaften");
cy.selectValue(1, "tree");
cy.pressButton(1);
cy.get(".neon-button").type("{enter}");
});
});