Skip to content

Rules - Type badge can be set to Allow or Block when there is no merchant restriction #94356

Description

@applause-bot

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.4.17-2
Reproducible in staging?: Yes
Reproducible in production?: N/A - new feature, doesn't exist in prod
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #93185
Email or phone of affected tester (no customers): applausetester+ssndjois2jd1@applause.expensifail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: Mac 26.5 / Chrome
App Component: Workspace Settings

Action Performed:

Precondition:

  • Paste Onyx.merge('betas', ['rulesRevamp']); in console.
  • Enable Expensify Card and Rules.
  • Workspace has at least one Expensify card.
  1. Go to staging.new.expensify.com
  2. Go to workspace settings > Rules.
  3. Go to Card restrictions.
  4. Click Add rule > Restrict card spend.
  5. Click Card > select any card > Save.
  6. Click Max amount > enter amount > Save.
  7. Click Save rule.
    → Type badge shows Allow.
  8. Open the created rule.
  9. Select Block > Save rule.
    → Type badge shows Block.
  10. Open the created rule.
    → Restrict merchants shows Off when the badge is Block.

Expected Result:

In Step 7, Type badge should show Max badge when there is no merchant restriction in card spend.

Actual Result:

In Step 7, Type badge shows Allow badge when there is no merchant restriction in card spend.
In Step 8, Type badge is Block after setting merchant restriction to Block but it shows Off when the rule details page is opened again in Step 10.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome Safari

Screenshots/Videos

Bug7188838_1782227987561.32.mp4

View all open jobs on GitHub

Applause Internal Information
Exported by: Julia Ponikarchuk
Bug ID: 7188838

Issue OwnerCurrent Issue Owner: @situchan

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.EngineeringHourlyKSv2

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions