We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a3d036 commit b81b3eaCopy full SHA for b81b3ea
cypress/e2e/contexts/tag/specs/delete.cy.ts
@@ -7,10 +7,12 @@ describe("The admin user", () => {
7
before(() => {
8
registration_form = random_user_registration_data();
9
cy.register_as_admin_and_login(registration_form);
10
+ random_tag_name.as('tag_name');
11
});
12
13
after(() => {
14
cy.delete_user_from_database(registration_form.username);
15
+ cy.delete_tag_from_database();
16
17
18
it("should be able to delete a tag", () => {
@@ -35,6 +37,8 @@ describe("The admin user", () => {
35
37
cy.on("window:confirm", () => true);
36
38
39
cy.get(`[data-cy="delete-tag-${tag_name}"]`).should("not.exist");
40
+
41
42
43
44
0 commit comments