Skip to content

[$250] Rules - "Import" button is disabled when attempts to import merchant rules while offline #96842

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: v9.4.43-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #96522
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Bug source: Pull Request QA execution
Device used: Windows 11 / Chrome, iPhone 13 / iOS 27 Beta, Samsung Galaxy A52 / Android 14
App Component: Workspace Settings

Action Performed:

Preconditions:

  • Signed in to gmail account that has at least one workspace
  • Enable category and rules in more features
  • Download the merchant rules csv (attached below)

Steps:

  1. Go to workspace settings > Rules.
  2. Click More > Import merchant rules.
  3. Upload the merchant-rules-test.csv file.
  4. Map the columns: Merchant → "Merchant is", Category → "Updated category", Description → "Updated description", then click Import.
  5. Import the same CSV again, but this time map Description → "Ignore" (keep Merchant → "Merchant is" and Category → "Updated category").
  6. go offline
  7. Repeat the second import from Tests step 5 (same CSV, Description → "Ignore")
  8. Click "import" button

Expected Result:

"Import" button should be active, so the modal "No merchant rules have been added, since they all already exist. 2 categories were skipped because they don't exist in this workspace." still appears while offline

Actual Result:

"Import" button is disabled when attempts to import merchant rules while offline

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug7215089_1784774866654.bandicam_2026-07-23_09-34-40-668.mp4

merchant-rules-test.csv

View all open jobs on GitHub

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

Upwork Automation - Do Not Edit
Issue OwnerCurrent Issue Owner: @justinpersaud

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions