Skip to content

Commit

Permalink
Switch to faster static version of demo-form
Browse files Browse the repository at this point in the history
  • Loading branch information
LewisW committed Aug 11, 2023
1 parent 1809831 commit 6c77152
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/ExampleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected function onNotSuccessfulTest(Throwable $t): void
public function testSelectBirthdayFromTheDropdown()
{
self::$carbonate->load(
'https://carbonate.dev/demo-form'
'https://carbonate.dev/demo-form.html'
);

self::$carbonate->action('select Birthday from the event type dropdown');
Expand All @@ -67,6 +67,10 @@ public function testSelectBirthdayFromTheDropdown()

public function testSelectBirthdayFromTheDropdownAdvanced()
{
self::$carbonate->load(
'https://carbonate.dev/demo-form.html'
);

$select = new WebDriverSelect(self::$carbonate->lookup('the event type dropdown'));

$select->selectByVisibleText('Birthday');
Expand All @@ -76,4 +80,4 @@ public function testSelectBirthdayFromTheDropdownAdvanced()
$select->getFirstSelectedOption()->getAttribute('value')
);
}
}
}

0 comments on commit 6c77152

Please sign in to comment.