Skip to content

Rules - Rules behavior unchanged after merchant match type is changed to 'Exactly matches" #82899

@jponikarchuk

Description

@jponikarchuk

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: v9.3.22-1
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: #82438
Email or phone of affected tester (no customers): applausetester+aqwa@applause.expensifail.com
Issue reported by: Applause Internal Team
Bug source: Pull Request QA execution
Device used: iPhone 13 / iOS 18.7.1, Samsung Galaxy A52 / Android 14, Windows 11 / Chrome
App Component: Workspace Settings

Action Performed:

Preconditions:

  1. Prepare two accounts (Admin and Member)
  2. As Admin create a workspace and invite the member to the workspace
  3. Enable rules in more feature

Steps:

  1. (Admin) navigate to rules in workspace setting, scroll down and add merchant rule:
  • Match type: Contains
  • Merchant: "Coffee"
  • Category: "Meals & Entertainment"
  1. (Admin) Save the rule
  2. (Member) create expenses with merchants "Starbucks Coffee" → Verify rule applies
  3. (Admin) Edit the "Coffee" rule created above
  4. (Admin) Change Match type from "Contains" to "Exactly matches" and save the rule
  5. (Member) create an expense with merchant: "Starbucks Coffee"

Expected Result:

After member created the second expense when the rule already changed, the rule should not be applied (no longer contains match). Also there should be system message displayed on the expense details.

Actual Result:

Rules remain active after the admin updates the merchant match type to “exactly matches". Also, there's no system message displayed to show whether the category is automatically set by concierge or by the workspace rules.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

1.mp4

View all open jobs on GitHub

Metadata

Metadata

Assignees

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2Engineering

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions