Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add spinner gif to display instead of No results while data is loading #573

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
change no_torrents_to_display.cy.ts to should have spinner image, not…
… No results text
grmbyrn committed Jun 18, 2024

Verified

This commit was signed with the committer’s verified signature.
grmbyrn Graeme Byrne
commit c807feab758c7443a1fcd03210b46e667ae756dd
Original file line number Diff line number Diff line change
@@ -7,6 +7,6 @@ describe("Users", () => {
it("Should be able to see the list page when there are no torrents", () => {
cy.visit("/torrents");
cy.url().should("match", /\/torrents$/);
cy.get("[data-cy=\"no-results-element\"]").invoke("text").should("match", /No results./i);
cy.get("[data-cy=\"no-results-element\"] img").should("have.attr", "src", "/spinner.gif");
});
});