Skip to content
Snippets Groups Projects
PersonPreview_setFavorite.ts 575 B
beforeEach(() => {
    cy.resetData();
})

describe("Set a favorite person", () => {
        
    it([Tag.DEFAULT], "Should set a favorite person without tag", () =>
    {
        cy.login();
        cy.setFavorite(8, null, "Person"); //careful! The number needs to be adjusted if you have i.e. more favorites
    });
    
    it([Tag.DEFAULT], "Should set a favorite person with tag", () =>
    {
        cy.login();
        cy.setFavorite(1, "myPersonTag", "Person"); //careful! The number needs to be adjusted if you have i.e. more favorites with that tag
    });
   
});