11import { getPathForPlatform } from '../../src/paths'
2- import path from 'path'
32
43describe ( 'App: Spec List (E2E)' , ( ) => {
54 const launchApp = ( specFilter ?: string ) => {
@@ -289,7 +288,7 @@ describe('App: Spec List (E2E)', () => {
289288
290289 cy . findAllByTestId ( 'spec-list-directory' )
291290 . should ( 'have.length' , 1 )
292- . and ( 'contain' , path . join ( 'cypress' , 'e2e' , ' a-b_c') )
291+ . and ( 'contain' , ' a-b_c')
293292
294293 cy . findByText ( 'No specs matched your search:' ) . should ( 'not.be.visible' )
295294 } )
@@ -299,7 +298,7 @@ describe('App: Spec List (E2E)', () => {
299298
300299 cy . findAllByTestId ( 'spec-list-directory' )
301300 . should ( 'have.length' , 1 )
302- . and ( 'contain' , path . join ( 'cypress' , 'e2e' , ' a-b_c') )
301+ . and ( 'contain' , ' a-b_c')
303302
304303 cy . findByText ( 'No specs matched your search:' ) . should ( 'not.be.visible' )
305304 } )
@@ -309,7 +308,7 @@ describe('App: Spec List (E2E)', () => {
309308
310309 cy . findAllByTestId ( 'spec-list-directory' )
311310 . should ( 'have.length' , 1 )
312- . and ( 'contain' , path . join ( 'cypress' , 'e2e' , ' a-b_c') )
311+ . and ( 'contain' , ' a-b_c')
313312
314313 cy . findByText ( 'No specs matched your search:' ) . should ( 'not.be.visible' )
315314 } )
0 commit comments