@@ -258,7 +258,10 @@ describe.only("Advanced sample creation features", () => {
258
258
it ( "checks the edit page of the copied sample" , ( ) => {
259
259
cy . findByText ( "testBcopy" ) . click ( ) ;
260
260
cy . findByLabelText ( "Name" ) . should ( "have.value" , "COPY OF the second test sample" ) ;
261
- cy . findByText ( "this is a description of testB." ) ;
261
+ cy . get ( "[data-testid=item-description-input]" ) . should (
262
+ "have.text" ,
263
+ "this is a description of baseB." ,
264
+ ) ;
262
265
cy . findByText ( "a comment is added here." ) ;
263
266
cy . findByText ( "a description of the synthesis here" ) ;
264
267
cy . findAllByText ( "component3" ) ;
@@ -295,7 +298,10 @@ describe.only("Advanced sample creation features", () => {
295
298
it ( "checks the edit page of the copied sample with components" , ( ) => {
296
299
cy . findByText ( "testBcopy_copy" ) . click ( ) ;
297
300
cy . findByLabelText ( "Name" ) . should ( "have.value" , "COPY OF COPY OF the second test sample" ) ;
298
- cy . findByText ( "this is a description of testB." ) ;
301
+ cy . get ( "[data-testid=item-description-input]" ) . should (
302
+ "have.text" ,
303
+ "this is a description of baseB." ,
304
+ ) ;
299
305
cy . findByText ( "a comment is added here." ) ;
300
306
cy . findByText ( "a description of the synthesis here" ) ;
301
307
cy . findAllByText ( "component3" ) ;
0 commit comments