Replace end-to-end test by rspec test
What does this MR do?
Closes #33549 (closed) by deleting an end-to-end test that fails intermittently on CI, and updating an RSpec test with additional scenarios.
Closes #33549 (closed) by deleting an end-to-end test that fails intermittently on CI, and updating an RSpec test with additional scenarios.