Skip to content

Commit

Permalink
text fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
jxjj committed May 20, 2024
1 parent ebcaf94 commit 2ca87e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cypress/e2e/urlsPageListZlinks.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,20 +352,20 @@ describe("urlsPageListZlinks - /shortener/urls", () => {
cy.get(".pagination").contains("Next").click();

// edit keyword
cy.get("#urls-table").contains("keyword29").closest("tr").as("row");
cy.get("#urls-table tbody tr:first-child").as("row");
cy.get("@row").find(".dropdown").as("rowDropdown");
cy.get("@rowDropdown").find(".actions-dropdown-button").click();
cy.get("@row").contains("Edit").click();

// enter
cy.get('#urls-table [data-cy="inline-edit-form"] #url_keyword')
.clear()
.type("newkeyword29");
.type("updatedkeyword");
cy.contains("Submit").click();

// keyword should still be on the page
// and we haven't navigated back to the first page
cy.get("#urls-table").contains("newkeyword29");
cy.get("#urls-table").contains("updatedkeyword");
});
});
});
Expand Down

0 comments on commit 2ca87e3

Please sign in to comment.