Problem/Motivation
As is identified in a review of MR5:
Is this supposed to be asserting something? This doesn't actually prove anything, it just returns a boolean. I suspect you want this:
- $this->page->hasField('rum_instrumentation'); + $this->assertSession()->fieldExists('rum_instrumentation');You probably want to change this for the rest of this test, too, in another issue.
This issue is created as a follow-up issue.
Proposed resolution
Update AdminUiTest::testSettingsPage() to assert ->fieldExists().
Remaining tasks
Open MR
User interface changes
None
API changes
None
Data model changes
None
Issue fork new_relic_rpm-3459804
Show commands
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 #4
sarwan_verma commentedHi @Chris Burge.
I have created MR!9 for the above issue, Please review it once.
Comment #5
chris burge commentedNeeded to run tests. Maintainers should feel free to remove .gitlab-ci.yml file prior to merging and merge #3446404: Switch from Drupal CI to GitLab CI separately.
Comment #7
steven jones commentedLGTM.
Comment #9
steven jones commented