File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ describe("Books Flow", () => {
45
45
46
46
it ( "allows denying provisional books" , ( ) => {
47
47
// Visit React1 app
48
- cy . visit ( "/" ) ;
48
+ cy . visit ( "/backend " ) ;
49
49
50
50
// Propose a new book
51
51
cy . contains ( "button" , "Propose New Book" ) . click ( ) ;
@@ -82,22 +82,4 @@ describe("Books Flow", () => {
82
82
cy . contains ( "Test Book 2" ) ;
83
83
cy . contains ( "Test Book 3" ) ;
84
84
} ) ;
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
- } ) ;
103
85
} ) ;
You can’t perform that action at this time.
0 commit comments