Skip to content

Commit

Permalink
turn off old tests that were flagged as false for iap flag
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdavis2001 committed Dec 10, 2024
1 parent c6dcef3 commit a2729b9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
11 changes: 0 additions & 11 deletions service-front/app/features/context/UI/ViewerContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -829,17 +829,6 @@ public function iCanSeeTheLPAHasNoInstructionsAndPreferencesInSummary()
$this->ui->assertElementContainsText('dd[data-field-name="instructions_and_preferences"]', 'No');
}

/**
* @Then /^I can clearly see the lpa has instructions andor preferences$/
*/
public function iCanClearlySeeTheLPAHasInstructionsAndOrPreferences()
{
$this->ui->assertElementContainsText('div.govuk-panel', 'This LPA has preferences and/or instructions');
$this->ui->assertElementNotOnPage('.iap-loader');
$this->ui->assertPageNotContainsText('A scanned image of the donor’s preferences will appear here soon');
$this->ui->assertPageNotContainsText('We cannot show the instructions for this LPA. Until we can fix this problem');
}

/**
* @When /^I give an invalid (.*) and (.*)$/
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,6 @@ Feature: View an LPA via sharecode
And preferences will show “no”
And instructions will show “no”

@ui @ff:instructions_and_preferences:false
Scenario: Instructions and preferences information shows for older LPAs
Given The LPA has instructions and preferences and is signed before 2016
When I enter an organisation name and confirm the LPA is correct
Then I can see the full details of the valid LPA
And I can clearly see the lpa has instructions andor preferences

@ui @ff:instructions_and_preferences:false
Scenario: Instructions and preferences summary information shows for older LPAs
Given The LPA has instructions and preferences and is signed before 2016
When I enter an organisation name and confirm the LPA is correct
Then I can see the full details of the valid LPA
And I can see the lpa has instructions and preferences set in summary

@ui @ff:instructions_and_preferences:false
Scenario: Older LPAs with no instructions and preferences do not show anything in the summary
Given The LPA has no instructions or preferences and is signed before 2016
When I enter an organisation name and confirm the LPA is correct
Then I can see the full details of the valid LPA
And I can see the lpa has no instructions and preferences set in summary

@ui
Scenario: The viewer can see waiting message and image for instructions and preferences images that aren't ready yet
Given The LPA has instructions and preferences for which images aren't yet ready
Expand Down

0 comments on commit a2729b9

Please sign in to comment.