Skip to content

Commit 1c88d46

Browse files
committed
fixing books flow
1 parent 6451e20 commit 1c88d46

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

test/cypress/e2e/books_flow.cy.js

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ describe("Books Flow", () => {
4545

4646
it("allows denying provisional books", () => {
4747
// Visit React1 app
48-
cy.visit("/");
48+
cy.visit("/backend");
4949

5050
// Propose a new book
5151
cy.contains("button", "Propose New Book").click();
@@ -82,22 +82,4 @@ describe("Books Flow", () => {
8282
cy.contains("Test Book 2");
8383
cy.contains("Test Book 3");
8484
});
85-
86-
it("displays books with authors and publishers", () => {
87-
// Setup a book with author and publisher
88-
cy.setupBookWithAuthorAndPublisher({
89-
bookTitle: "Complete Guide to Testing",
90-
authorName: "Jane Tester",
91-
publisherName: "Test Publishing House",
92-
status: "approved",
93-
});
94-
95-
// Visit React1 app
96-
cy.visit("/");
97-
98-
// Verify book details
99-
cy.contains("Complete Guide to Testing");
100-
cy.contains("Jane Tester");
101-
cy.contains("Test Publishing House");
102-
});
10385
});

0 commit comments

Comments
 (0)