Skip to content

Commit

Permalink
Fix test for missing content text (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-cox authored Oct 4, 2021
1 parent 12d0a8e commit e27e187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/Functional/LocalGovUpdateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function testUpdate() {
// Test Step by step overview page: Request support for an adult.
$this->drupalGet('/adult-health-and-social-care/step-by-step/request-support-adult-step-step');
$this->assertSession()->elementTextContains('css', 'header h1', 'Request support for an adult: step by step');
$this->assertSession()->elementTextContains('css', 'main article .alert-info', 'Appointments with adult social care staff are now happening on the telephone.');
$this->assertSession()->elementTextContains('css', 'main article .alert-info', 'Important update');
$this->assertSession()->elementTextContains('css', 'main article .callout-danger', 'For urgent help');
$this->assertSession()->elementTextContains('css', '.step-list', 'Find out what support we offer');
$this->assertSession()->elementTextContains('css', '.step-list', 'Contact the support team');
Expand Down

0 comments on commit e27e187

Please sign in to comment.