Skip to content
Snippets Groups Projects
Commit 8a8f9dd5 authored by Benjamin Ulrich's avatar Benjamin Ulrich :speech_balloon:
Browse files

Merge branch '2021.2.0' into sales_2001051_FixClassificationChecklistEntryNotWorking

parents 6ecac18e 64a30b7d
No related branches found
No related tags found
No related merge requests found
Showing
with 86 additions and 6 deletions
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)
......
......@@ -7,6 +7,7 @@ import './view'
import './actions'
import './indexer'
import './internal/taggingTests'
import './internal/resetData'
import 'cypress-wait-until'
import './enum.ts'
......
/// <reference types="cypress" />
declare namespace Cypress {
interface Chainable {
/**
* Executes the nodejs script reset:data
*/
resetData(): Chainable<any>;
}
}
Cypress.Commands.add('resetData', (pSearchWord) => {
cy.exec("npm run reset:data", { failOnNonZeroExit: false });
});
\ No newline at end of file
......@@ -14,11 +14,8 @@ var res = {
"groupByKeyword":"OrderType"
},
"Contract": {},
"SupportTicket": {
"subContext":"TaskLink",
"childField":"TASK_ID",
"parentField":"TASK_TASKID",
"contactIdField":"OBJECT_ROWID"
"SupportTicket": {
"connectionField":"TASK_REQUESTOR_CONTACT_ID"
},
"Campaign": {
"subContext":"CampaignParticipant",
......
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