Skip to content
Snippets Groups Projects
Commit 2b216f9a authored by Stefan Seemann's avatar Stefan Seemann
Browse files

Reset data before each test

parent d3b75391
No related branches found
No related tags found
No related merge requests found
Showing
with 79 additions and 2 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", () =>
......
......@@ -7,6 +7,7 @@ import './view'
import './actions'
import './indexer'
import './internal/taggingTests'
import './internal/resetData'
import 'cypress-wait-until'
import './enum.ts'
......
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