Maikel Linke
c5d38d684b
Remove repeated navigation to speed up spec
2026-03-20 11:51:50 +11:00
Maikel Linke
c2907b839a
Remove ineffective sorting spec
...
The spec was not really testing the order of users appearing on the
page. It's also a UX detail only visible to super admins which is not
important to test. So I'm not investing time to fix it.
2026-03-20 11:51:50 +11:00
Maikel Linke
ee653bb825
Remove redundant spec description
...
Admin users are the only one who can manage users.
2026-03-20 11:51:50 +11:00
Maikel
c5aaecf76a
Merge pull request #13961 from mkllnk/taler-checkout-stock-error
...
Taler checkout stock error
2026-03-20 11:29:58 +11:00
Maikel Linke
8f0d4d23a7
Restore Stripe spec stubs as todo list
2026-03-18 14:54:44 +11:00
Maikel Linke
d56b4b4109
Make locale spec more accurate
2026-03-18 14:49:35 +11:00
Maikel Linke
7a01409f5c
Save time by avoiding page visit
2026-03-18 14:49:34 +11:00
Maikel Linke
5c634c269b
Remove unused helpers from spec
2026-03-18 14:49:34 +11:00
Maikel Linke
63988fff4f
Configure test locales like other envs
...
The locale config is set in application.rb from environment variables
already. We don't need to repeat that logic in test.rb. And because it
was outdated, the language switcher was actually broken in the test
environment. We did have an English selector for the fallback `en` even
though we were already displaying English as en_TST. And after
switchting to Spanish, we could switch back because en_TST was not in
the available locales.
I now fixed the test with the right assumption and the config to solve
the problem.
2026-03-18 14:49:15 +11:00
Maikel Linke
d56790b71e
Remove unneeded context blocks
...
Best viewed ignoring whitespace.
2026-03-18 13:23:54 +11:00
Maikel Linke
c2f725b20c
Remove redundant language setup
...
We tested earlier already that we have the needed languages available.
2026-03-18 13:21:27 +11:00
Maikel Linke
b939d41bf5
Remove useless negative spec
...
Any change in markup would invalidate the test.
It is unlikely to ever fail and then it would not be a big problem.
2026-03-18 13:18:15 +11:00
Maikel Linke
91c4ba03cd
Remove more expensive specs
2026-03-18 13:15:35 +11:00
Maikel Linke
3f29cdab3c
Combine specs and add detail
2026-03-18 13:14:57 +11:00
Maikel Linke
60a4d36408
Remove expensive without really new coverage
2026-03-18 13:08:24 +11:00
Maikel Linke
9513c07c2f
Remove ineffective test
...
It would pass even if locales were broken.
2026-03-18 13:05:23 +11:00
Maikel Linke
4b5fd2495f
Restore multilingual spec
2026-03-18 13:03:48 +11:00
Maikel Linke
5e871fc71e
Expect UI change before emails
...
Fixing a flaky spec.
2026-03-11 15:30:39 +11:00
Maikel Linke
62af416696
Avoid useless page visit causing spec flakiness
2026-03-11 14:41:40 +11:00
Maikel Linke
bcf39acebc
Remove confusing if-branch in shared examples
2026-03-11 14:41:40 +11:00
Maikel Linke
82186118a7
Remove long inactive specs
...
Several years ago, some checkout features got rewritten and some specs
became invalid. They had been set to pending to keep the option of
rewriting them one day. Some were re-written. But I'm deleting the
remainder.
If we haven't "needed" these specs for several years then I question
their use. System specs are expensive and should only cover the most
common scenarios or the ones we know could go wrong (after a bug
report). We can always write new specs if needed. Otherwise they are
just adding to maintenance cost.
2026-03-11 14:41:40 +11:00
Gaetan Craig-Riou
4810b02233
Merge pull request #13702 from marincarroll/improve-accessibility-of-admin-pagination
...
Improve accessibility of admin pagination
2026-03-10 22:12:57 +11:00
Gaetan Craig-Riou
5cf213f22a
Fix failing spec
2026-03-10 16:07:43 +11:00
Gaetan Craig-Riou
e7a2b7ea48
Remove payment method from customer account transaction
2026-03-10 16:07:43 +11:00
Gaetan Craig-Riou
bc23423521
Remove the link between enterprise and internal payment method
...
Enterprise have access to the internal payment method by default.
The access is handled at the application level so we don't have to
manage database links.
2026-03-10 16:07:43 +11:00
Gaetan Craig-Riou
628810eb33
Fix spec to work with the internal payment method
2026-03-10 16:07:42 +11:00
Gaetan Craig-Riou
a60afd10e4
Display credit used on the order confirmation page
2026-03-10 16:07:42 +11:00
Gaetan Craig-Riou
b42b10fcd1
Use the order outstanding balance to create payment
...
When a customer credit is applied to an order, the balance due is the
order outstanding balance and not the order total.
2026-03-10 16:07:42 +11:00
Gaetan Craig-Riou
f5a3093e41
Automatically use credit at checkout when available
...
This only cover the ideal scenario, error handling will be added later
2026-03-10 16:07:42 +11:00
Gaetan Craig-Riou
152fd15bd0
Use display_name and display_description for payment method
2026-03-10 16:07:42 +11:00
Maikel
f7f7a5738a
Merge pull request #13895 from cillian/remove-angular-from-enterprise-settings-users
...
Remove Angular from Enterprise > Settings > Users section
2026-03-06 14:05:13 +11:00
Marin @Home
ce1e38f97b
Fixes 'orders' test failure
2026-03-04 14:43:43 +11:00
Cillian O'Ruanaidh
447d80c960
Fix spec due to switch to email type field
2026-03-04 10:28:40 +11:00
Cillian O'Ruanaidh
efae11e2af
Change assertion for flakey test failure
2026-03-04 10:28:39 +11:00
Cillian O'Ruanaidh
f1071575cd
Remove Angular from Enterprise > Settings > Users section
2026-03-04 10:28:36 +11:00
Maikel Linke
fd178ee80b
Use unique categories to avoid flakiness
2026-02-26 11:42:46 +11:00
Maikel Linke
e4db20f86e
Remove unncessary expectation
...
This assertion was confusing me. It was quite complex and the only thing
it was asserting was the placeholder via a CSS selector. I don't think
it's worth keeping.
2026-02-26 11:37:30 +11:00
Maikel Linke
6d17cf50fb
Test impact of longer wait time on flakiness
2026-02-25 15:08:50 +11:00
Rachel Arnould
81aac877a5
Merge pull request #13945 from mkllnk/taler-refund
...
Add "void" action to Taler payment admin page
2026-02-24 11:23:07 +01:00
Rachel Arnould
68c7d8f9f5
Merge pull request #13934 from chahmedejaz/bugfix/13827-tag-filters-reset-upon-product-update
...
Tag filters are reset after updating a product
2026-02-24 10:20:11 +01:00
Maikel Linke
702db32595
Connect unit label to input
...
And replace redundant spec helper method.
2026-02-23 13:08:55 +11:00
Maikel Linke
d770049d2d
Replace redundant spec helper method
2026-02-23 13:08:55 +11:00
Maikel Linke
9d79119eb0
Link to payment action with title
...
The custom helper was adding a PowerTip which replaced the title
attribute with its own display. I removed the PowerTip and use a simple
title attribute. This should have several benefits:
- Capybara can find the link by the title.
- Screenreaders should be able read the title.
- Browser can show the title in the best position.
- Using the browser feature is more consistent and efficient.
2026-02-23 13:00:02 +11:00
Maikel Linke
96c2b75a0a
Spec admin display of Taler payment actions
...
This should satisfy code coverage.
2026-02-20 13:43:09 +11:00
Maikel Linke
ed701b00dc
Stop storing now redundant redirect URL
...
The Taler gem now computes it from the order id. No need to store it.
2026-02-20 13:43:04 +11:00
Maikel Linke
52e2fb923e
Update Taler calls for new v0.2.0
2026-02-20 13:37:46 +11:00
Gaetan Craig-Riou
e276fb0386
Merge pull request #13930 from openfoodfoundation/dependabot/bundler/rubocop-1.84.1
...
Bump rubocop from 1.81.7 to 1.84.2
2026-02-20 09:05:41 +11:00
Rachel Arnould
f86eb3fb82
Merge pull request #13920 from mkllnk/clean-name
...
Stop pre-selecting Paypal when creating a payment method
2026-02-19 11:38:56 +01:00
Rachel Arnould
fb0f379c43
Merge pull request #13823 from chahmedejaz/bugfix/13625-enterprise-fee-reports-throws-504
...
Some Enterprise Fee reports are unusable when managing big shops
2026-02-18 15:22:21 +01:00
Maikel Linke
da1e1a9859
Style indentation
2026-02-18 09:42:07 +11:00