Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Flaky] ./spec/requests/api/orders_spec.rb #12388

Open
Tracked by #8293
filipefurtad0 opened this issue Apr 16, 2024 · 0 comments
Open
Tracked by #8293

[Flaky] ./spec/requests/api/orders_spec.rb #12388

filipefurtad0 opened this issue Apr 16, 2024 · 0 comments

Comments

@filipefurtad0
Copy link
Contributor

What we should change and why (this is tech debt)

  1) api/v0/orders /api/v0/orders get get orders when there are four orders with different properties set and queried by buyer email contains a specific string returns a 200 response
     Failure/Error: expect(orders.size).to eq 1
     
       expected: 1
            got: 2
     
       (compared using ==)
     # ./spec/requests/api/orders_spec.rb:135:in `block (7 levels) in <top (required)>'
     # ./spec/base_spec_helper.rb:101:in `block (3 levels) in <top (required)>'
     # ./spec/base_spec_helper.rb:101:in `block (2 levels) in <top (required)>'

Finished in 2 minutes 21 seconds (files took 8.88 seconds to load)
186 examples, 1 failure, 3 pending

Failed examples:

rspec ./spec/requests/api/orders_spec.rb:128 # api/v0/orders /api/v0/orders get get orders when there are four orders with different properties set and queried by buyer email contains a specific string returns a 200 response

Context

https://github.com/openfoodfoundation/openfoodnetwork/actions/runs/8704430756/job/23872701883?pr=12370

Impact and timeline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: All the things
Development

No branches or pull requests

1 participant