-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add beginning of automated accessibility testing.
It's a currently failing test because we have issues to fix
- Loading branch information
Showing
2 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# frozen_string_literal: true | ||
|
||
require "spec_helper" | ||
|
||
describe "Home page" do | ||
include Devise::Test::IntegrationHelpers | ||
|
||
it "is accessible", js: true do | ||
pending "there are accessibility issues to fix on the home page in the new design" | ||
sign_in create(:confirmed_user, tailwind_theme: true) | ||
visit root_path | ||
# page.save_screenshot("screenshot.png") | ||
# save_and_open_screenshot | ||
expect(page).to be_axe_clean | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters