Skip to content

Commit

Permalink
Add another page to percy.io
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Nov 6, 2023
1 parent cc2af6f commit e8018d5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions spec/features/applications_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# frozen_string_literal: true

require "spec_helper"

describe "Applications pages" do
include Devise::Test::IntegrationHelpers

# rubocop:disable RSpec/NoExpectationExample
it "renders the page", js: true do
create(:geocoded_application,
address: "24 Bruce Road Glenbrook",
description: "A lovely house")
create(:geocoded_application,
address: "351 Pacific Hwy, Coffs Harbour NSW 2450",
description: "S4.55(1A) - Modification - alignment of 20 cabins rotated - positions of duplex cabins swapped with other cabins - 2 bedroom cabins changed to a duplex cabin 1 bedroom & studio")

sign_in create(:confirmed_user, tailwind_theme: true, name: "Jane Ng")
visit applications_path
page.percy_snapshot("Most recent applications across Australia")
end
# rubocop:enable RSpec/NoExpectationExample
end

0 comments on commit e8018d5

Please sign in to comment.