Resolve #3437633 "Release notes"
1 unresolved thread
Closes #3437633
Merge request reports
Activity
added 1 commit
- be417019 - update xml to use same pattern for release_link
32 32 $row_selector = ".update-recommended tr:nth-of-type($row)"; 33 33 $assert->elementTextContains('css', $row_selector . ' td:nth-of-type(2)', $expected_project_title); 34 34 $assert->elementTextContains('css', $row_selector . ' td:nth-of-type(3)', $expected_installed_version); 35 $assert->elementTextContains('css', $row_selector . ' td:nth-of-type(4)', $expected_target_version); 35 $target_selector = $row_selector . ' td:nth-of-type(4)'; 36 $assert->elementTextContains('css', $target_selector, $expected_target_version); 37 $assert->elementTextContains('css', "$target_selector a", 'Release notes'); 38 $assert->elementAttributeContains('css', "$target_selector a", 'href', str_replace('.', '-', $expected_target_version) . '-release'); - Comment on lines +36 to +38
This could be more robust.
$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);
changed this line in version 3 of the diff
added 6 commits
-
2d0f0835...b5cf0c88 - 2 commits from branch
project:3.0.x
- 24ee38ce - provide release notes link
- c3c1adb8 - assert the release notes link exists
- 89b34565 - update xml to use same pattern for release_link
- 70646e90 - make link check better
Toggle commit list-
2d0f0835...b5cf0c88 - 2 commits from branch
Please register or sign in to reply