updating e2e tests with error flow