Closed (fixed)
Project:
Cloud
Version:
7.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Mar 2024 at 11:16 UTC
Updated:
19 Mar 2024 at 10:14 UTC
Jump to comment: Most recent
TypeError: 'Behat\Mink\Element\TraversableElement::findButton(): Argument #1 ($locator) must be of type string, Drupal\Core\StringTranslation\TranslatableMarkup given
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
yasComment #4
yas@baldwinlouie
Can you please review the patch? Thanks!
Comment #5
baldwinlouie commented@yas, I started to add comments to the code. But since my idea applies to all the changes, I will post it here.
Instead of casting the to
(string) $this->t('Save'), would it be better to use the following$this->t('Save')->render()?What do you think?
Comment #6
yas@baldwinlouie
Thank you for your review and suggestion. I changed from casting
(string)to using->render(). Can you review the patch again? ThanksComment #7
baldwinlouie commented@yas, thank you for the updated patch. It looks good to me now.
Comment #8
yas@baldwinlouie
Thank you for your review. I'll merge the patch to
7.x, and close this issue as Fixed.Comment #10
yasComment #12
yas@baldwinlouie
I found there are some uncovered codes for
->render(), so I'll merge the hotfix to7.x, and close this issue as Fixed.Comment #14
yas@baldwinlouie
I found there are some uncovered codes for
->render(), so I'll merge the hotfix to7.x, and close this issue as Fixed.