Skip to content

Commit

Permalink
[#88] Remove sign in from accessibility spec
Browse files Browse the repository at this point in the history
  • Loading branch information
vh8154 committed Oct 29, 2024
1 parent 0da7599 commit 3d7a228
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions spec/features/accessibility_spec.rb
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
# frozen_string_literal: true
require "rails_helper"
require 'rails_helper'
require 'axe-rspec'

describe "accessibility", type: :feature, js: true do
let(:user) { FactoryBot.create(:princeton_admin) }

before(:each) do
sign_in user
end

context "series listing page" do
before do
visit "/"
visit '/'
end

it "complies with wcag" do
Expand All @@ -21,7 +16,7 @@

context "list of papers" do
before do
visit "/econlib/RePEc/pri/series/2"
visit '/econlib/RePEc/pri/series/2'
end

it "complies with wcag" do
Expand All @@ -32,7 +27,7 @@

context "adding a new series" do
before do
visit "/series/new"
visit '/series/new'
end

it "complies with wcag" do
Expand Down

0 comments on commit 3d7a228

Please sign in to comment.