mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-09 07:28:41 -07:00
Change seed to load before each test vs before all.
This commit is contained in:
parent
22d22ab5ee
commit
836f0d1a62
1 changed files with 1 additions and 7 deletions
|
|
@ -57,7 +57,7 @@ describe "District Admin", js: true do
|
|||
respondent.save
|
||||
end
|
||||
|
||||
before do
|
||||
before :each do
|
||||
Rails.application.load_seed
|
||||
|
||||
respondents
|
||||
|
|
@ -102,10 +102,6 @@ describe "District Admin", js: true do
|
|||
SurveyItemResponse.import survey_item_responses
|
||||
end
|
||||
|
||||
after do
|
||||
DatabaseCleaner.clean
|
||||
end
|
||||
|
||||
it "navigates through the site" do
|
||||
page.driver.basic_authorize(username, password)
|
||||
|
||||
|
|
@ -192,8 +188,6 @@ def go_to_different_year(year)
|
|||
select year.formatted_range, from: "select-academic-year"
|
||||
end
|
||||
|
||||
def got_to_analyze_page; end
|
||||
|
||||
def district_admin_sees_schools_change
|
||||
expected_path = "/districts/#{school_in_same_district.district.slug}/schools/#{school_in_same_district.slug}/browse/teachers-and-leadership?year=#{ay_2021_22.range}"
|
||||
expect(page).to have_current_path(expected_path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue