Skip to content

Commit

Permalink
ACMS-3354: Updated failing PHPUnit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalkhode1 authored and chandan-singh7929 committed Dec 5, 2023
1 parent 6356bdf commit 0213f28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/src/ExistingSiteJavascript/GoogleMapComponentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ public function testComponent(): void {
$edit_form = $this->getLayoutCanvas()->add('Google map')->edit();
$this->assertSession()->elementExists('xpath', '//button[span[text()="Map marker"]]')->click();
/** @var \Behat\Mink\Element\TraversableElement $edit_form */
$edit_form->fillField('Address', 'Test Address');
$edit_form->fillField('Latitude', '22.52138');
$edit_form->fillField('Longitude', '88.294324');
$edit_form->find('css', 'input[id$="address"]')->setValue('Test Address');
$edit_form->fillField('lat', '22.52138');
$edit_form->fillField('lng', '88.294324');

$this->getSession()->getPage()->clickLink('Layout and style');

Expand Down

0 comments on commit 0213f28

Please sign in to comment.