For me as well, this issue observed. Path is valid. Have same path used in beforeEach and it works only in afterEach it have problem.