mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
Feature: Implement Mobile Responsiveness (#2092)
* WIP * WIP * WIP * WIP * WIP * WIP * WIP * format * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * fix conflict * fix conflict * chore: run rubocop * fix test * update PWA logo * fix tests * chore: lint * fix test * Refactor: Remove duplicate data attribute in activity partial and add chat form rendering in chats index --------- Co-authored-by: Josh Pigford <josh@joshpigford.com>
This commit is contained in:
@@ -15,6 +15,8 @@ class ImportsTest < ApplicationSystemTestCase
|
||||
|
||||
click_on "Import transactions"
|
||||
|
||||
find("button[data-id='csv-paste-tab']").click
|
||||
|
||||
fill_in "import[raw_file_str]", with: file_fixture("imports/transactions.csv").read
|
||||
|
||||
find('input[type="submit"][value="Upload CSV"]').click
|
||||
@@ -59,6 +61,8 @@ class ImportsTest < ApplicationSystemTestCase
|
||||
|
||||
click_on "Import investments"
|
||||
|
||||
find("button[data-id='csv-paste-tab']").click
|
||||
|
||||
fill_in "import[raw_file_str]", with: file_fixture("imports/trades.csv").read
|
||||
|
||||
find('input[type="submit"][value="Upload CSV"]').click
|
||||
@@ -90,6 +94,8 @@ class ImportsTest < ApplicationSystemTestCase
|
||||
|
||||
click_on "Import accounts"
|
||||
|
||||
find("button[data-id='csv-paste-tab']").click
|
||||
|
||||
fill_in "import[raw_file_str]", with: file_fixture("imports/accounts.csv").read
|
||||
|
||||
find('input[type="submit"][value="Upload CSV"]').click
|
||||
@@ -128,6 +134,8 @@ class ImportsTest < ApplicationSystemTestCase
|
||||
|
||||
click_on "Import from Mint"
|
||||
|
||||
find("button[data-id='csv-paste-tab']").click
|
||||
|
||||
fill_in "import[raw_file_str]", with: file_fixture("imports/mint.csv").read
|
||||
|
||||
find('input[type="submit"][value="Upload CSV"]').click
|
||||
|
||||
@@ -33,7 +33,7 @@ class TransactionsTest < ApplicationSystemTestCase
|
||||
assert_selector "h1", text: "Transactions"
|
||||
|
||||
within "form#transactions-search" do
|
||||
fill_in "Search transactions by name", with: @transaction.name
|
||||
fill_in "Search transactions ...", with: @transaction.name
|
||||
end
|
||||
|
||||
assert_selector "#" + dom_id(@transaction), count: 1
|
||||
|
||||
Reference in New Issue
Block a user