Skip to content

Commit b81b3ea

Browse files
committed
wip
1 parent 2a3d036 commit b81b3ea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cypress/e2e/contexts/tag/specs/delete.cy.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ describe("The admin user", () => {
77
before(() => {
88
registration_form = random_user_registration_data();
99
cy.register_as_admin_and_login(registration_form);
10+
random_tag_name.as('tag_name');
1011
});
1112

1213
after(() => {
1314
cy.delete_user_from_database(registration_form.username);
15+
cy.delete_tag_from_database();
1416
});
1517

1618
it("should be able to delete a tag", () => {
@@ -35,6 +37,8 @@ describe("The admin user", () => {
3537
cy.on("window:confirm", () => true);
3638

3739
cy.get(`[data-cy="delete-tag-${tag_name}"]`).should("not.exist");
40+
41+
3842
});
3943
});
4044

0 commit comments

Comments
 (0)