Skip to content

Commit

Permalink
Cuke dc fixes (#4240)
Browse files Browse the repository at this point in the history
* test disabling feature prior to tests

* add disable

* try moving disable

* test one other thing

* remove test group 45

* more reordering

* small note on test

* restore config to origin

* fix config order

* fix warning
  • Loading branch information
ATBull81 authored and bbodine1 committed Aug 19, 2024
1 parent f571808 commit dd1dbc1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ci/cucumber-split-config.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions features/insured/individual_account_creation.feature
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Feature: UI validations for Email, Username, SSN already in use, and weak Passwo

Background: New user vists consumer portal
Given bs4_consumer_flow feature is disable
Given the temporary_configuration_enable_multi_tax_household_feature feature is disabled
Given Individual has not signed up as an HBX user
Given the FAA feature configuration is enabled
When Individual visits the Consumer portal during open enrollment
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Feature: Individual market with duplicate enrollments

Background: Individual account creation and enabling duplicate enrollment warning setting
Given the temporary_configuration_enable_multi_tax_household_feature feature is disabled
Given bs4_consumer_flow feature is disable
Given an Individual has not signed up as an HBX user
Given the FAA feature configuration is enabled
Expand Down
1 change: 1 addition & 0 deletions features/insured/individual_signup.feature
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Feature: Insured Plan Shopping on Individual market

Background:
Given bs4_consumer_flow feature is disable
Given the temporary_configuration_enable_multi_tax_household_feature feature is disabled
Given Individual has not signed up as an HBX user
Given the FAA feature configuration is enabled
When Individual visits the Consumer portal during open enrollment
Expand Down
1 change: 1 addition & 0 deletions features/insured/individual_with_existing_sep.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Feature: Consumer shops for plan with existing seps
Background: Setup IVL benefit packages and benefit coverage periods
Given bs4_consumer_flow feature is disable
Given the temporary_configuration_enable_multi_tax_household_feature feature is disabled
Given the FAA feature configuration is enabled
And Individual market is not under open enrollment period

Expand Down
6 changes: 6 additions & 0 deletions features/step_definitions/individual_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1411,6 +1411,12 @@ class VlpDocument
allow(EnrollRegistry[:existing_coverage_warning].feature).to receive(:is_enabled).and_return(true)
end

Given(/^the temporary_configuration_enable_multi_tax_household_feature feature is disabled$/) do
# This is not a long term solution, but it is a quick fix to get the tests passing. This feature should be disabled for DC, but the tests
# using this step definition are having environment leakage issues. This should be fixed in the future.
allow(EnrollRegistry[:temporary_configuration_enable_multi_tax_household_feature].feature).to receive(:is_enabled).and_return(false)
end

And(/Dependent sees Your Information page$/) do
expect(page).to have_content YourInformation.your_information_text
find(YourInformation.continue_btn).click
Expand Down

0 comments on commit dd1dbc1

Please sign in to comment.