Skip to content
Snippets Groups Projects
Commit 13d82fe8 authored by Sebastian Pongratz's avatar Sebastian Pongratz :ping_pong:
Browse files

Merge branch 'cypress_1087189_extensions' into '2021.2.0'

Cypress 1087189 extensions

See merge request xrm/basic!1326
parents 95e53f26 2b216f9a
No related branches found
No related tags found
No related merge requests found
Showing
with 83 additions and 3 deletions
beforeEach(() => {
cy.resetData();
})
describe("Index Search", () =>
{
it("Should find a specific company in the index search component", () =>
it([Tag.DEFAULT], "Should find a specific company in the index search component", () =>
{
cy.login();
cy.searchIndex("meineFirma");
});
it("Should search for a company in the indexsearch and open the 'show more' context", () =>
it([Tag.DEFAULT], "Should search for a company in the indexsearch and open the 'show more' context", () =>
{
cy.login();
cy.openIndexResult("Bucher");
......
beforeEach(() => {
cy.resetData();
})
describe("Login", () => {
it([Tag.DEFAULT], "should login with admin account properly", () => {
cy.login();
......
beforeEach(() => {
cy.resetData();
})
describe("Admin-Menu", () => {
it([Tag.DEFAULT], "Should show all Admin Menu-Points", () => {
cy.login();
......
beforeEach(() => {
cy.resetData();
})
describe("Create Activity", () =>
{
it([Tag.DEFAULT], "Should try to create an Activity, but as it is in the future it should not be possible", () =>
......
beforeEach(() => {
cy.resetData();
})
describe("Add, change, cancel, delete Attribute in Person", () =>
{
......
beforeEach(() => {
cy.resetData();
})
describe("Upload and delete document from Organisation", () =>
{
......
beforeEach(() => {
cy.resetData();
})
describe("Create Organisation", () =>
{
it([Tag.DEFAULT], "Should create an organisation with all necessary fields", () =>
......
beforeEach(() => {
cy.resetData();
})
describe("Create Organisation with all fields", () =>
{
it([Tag.DEFAULT], "Should create an organisation with all fields", () =>
......
beforeEach(() => {
cy.resetData();
})
describe("Filter Organisation data", () =>
{
......
beforeEach(() => {
cy.resetData();
})
describe("Open Organisation", () =>
{
......
beforeEach(() => {
cy.resetData();
})
describe("Set a favorite organisation", () => {
it([Tag.DEFAULT], "Should set a favorite organisation without tag", () =>
......
beforeEach(() => {
cy.resetData();
})
describe("Create Person", () =>
{
it([Tag.DEFAULT], "Should create a person with all necessary fields", () =>
......
beforeEach(() => {
cy.resetData();
})
describe("Create Person", () =>
{
it([Tag.DEFAULT], "Should create a person with all fields", () =>
......
beforeEach(() => {
cy.resetData();
})
describe("Filter Person data", () => {
it([Tag.DEFAULT], "Should filter person surname correctly", () =>
......
beforeEach(() => {
cy.resetData();
})
describe("Filter Person data - specific types with assertion", () =>
{
it([Tag.DEFAULT], "Should filter person firstname correctly", () =>
......
beforeEach(() => {
cy.resetData();
})
describe("Press different buttons", () =>
{
......
beforeEach(() => {
cy.resetData();
})
describe("Filter Person data", () => {
it([Tag.DEFAULT], "Should open main view and then edit", () =>
......
beforeEach(() => {
cy.resetData();
})
describe("Drawer actions person", () =>
{
......
beforeEach(() => {
cy.resetData();
})
describe("Set a favorite person", () => {
it([Tag.DEFAULT], "Should set a favorite person without tag", () =>
......
......@@ -32,7 +32,11 @@ Cypress.Commands.add('login', (pUsername, pPassword, pLocale) =>
if(!pUsername && !pPassword)
{
pUsername = AdminLogin.USER;
pPassword = AdminLogin.PASSWORD;
pPassword = Cypress.env("ADMIN_PASSWORD");
if(!pPassword)
{
pPassword = AdminLogin.PASSWORD;
}
}
if(!pPassword && pUsername)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment