Skip to content
Snippets Groups Projects

Resolve #3437633 "Release notes"

Merged Ted Bowman requested to merge issue/automatic_updates-3437633:3437633-release-notes into 3.0.x
1 unresolved thread
@@ -33,9 +33,9 @@ trait FormTestTrait {
$assert->elementTextContains('css', $row_selector . ' td:nth-of-type(2)', $expected_project_title);
$assert->elementTextContains('css', $row_selector . ' td:nth-of-type(3)', $expected_installed_version);
$target_selector = $row_selector . ' td:nth-of-type(4)';
$assert->elementTextContains('css', $target_selector, $expected_target_version);
$assert->elementTextContains('css', "$target_selector a", 'Release notes');
$assert->elementAttributeContains('css', "$target_selector a", 'href', str_replace('.', '-', $expected_target_version) . '-release');
$cell = $assert->elementExists('css', $target_selector);
$link_url = $assert->elementExists('named', ['link', 'Release notes'], $cell)->getAttribute('href');
$this->assertStringContainsString(str_replace('.', '-', $expected_target_version) . '-release', $link_url);
}
/**
Loading