Closed (fixed)
Project:
Drupal core
Version:
9.4.x-dev
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2021 at 08:10 UTC
Updated:
6 Mar 2022 at 10:49 UTC
Jump to comment: Most recent
Split from #3131807: [meta] Replace assertions involving calls to isset() with more appropriate assertions
- $relations_widget = $this->xpath("//details[@id='edit-relations']");
- $this->assertTrue(isset($relations_widget[0]), 'Relations widget element found.');
+ $this->assertSession()->elementExists('xpath', "//details[@id='edit-relations']");None
None
None
None
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mondrakeComment #4
mondrakerebased
Comment #5
longwaveOne nitpick about comment wording, when that is fixed this is good to go.
Comment #6
mondrakeThank you!
Comment #7
longwavePerfect!
Comment #8
alexpottNice clean up!
Committed and pushed 7ca36cfc98d to 10.0.x and a7a51e54dad to 9.4.x. Thanks!
Comment #11
mondrake