File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 18
18
experimental : true
19
19
20
20
steps :
21
- - uses : actions/checkout@v3
21
+ - uses : actions/checkout@v4
22
22
23
23
- name : Set up PHP ${{ matrix.php-version }}
24
24
uses : shivammathur/setup-php@v2
80
80
mkdir -p output/screenshots
81
81
mkdir -p build/mails
82
82
chmod -R 777 output/screenshots build/mails
83
- ./bin/start-selenium > output/selenium.log 2>&1 &
83
+ docker run -d -p 4444:4444 selenium/standalone-chrome:latest
84
84
sleep 5
85
+ until curl --silent --fail http://localhost:4444/wd/hub/status | grep '"ready":true'; do
86
+ echo 'Waiting for Selenium to start...'
87
+ sleep 5
88
+ done
85
89
sudo php -S 0.0.0.0:80 -t public_html > /dev/null 2>&1 &
86
90
continue-on-error : ${{ matrix.experimental }}
87
91
Original file line number Diff line number Diff line change 3
3
require __DIR__ .'/bootstrap.php ' ;
4
4
5
5
use Behat \Behat \Context \Context ;
6
- use Behat \Gherkin \Node \TableNode ;
7
6
use Behat \Gherkin \Node \PyStringNode ;
8
7
use Behat \Behat \Hook \Scope \BeforeScenarioScope ;
9
8
@@ -25,10 +24,9 @@ public function beforeScenario(BeforeScenarioScope $scope)
25
24
26
25
/**
27
26
* @param string $list
28
- * @param array $table
29
- *
30
- * @Given /I have "(.*)" list with the following subscribers:/
27
+ * @param PyStringNode $stringNode
31
28
* @throws Exception
29
+ * @Given /I have "(.*)" list with the following subscribers:/
32
30
*/
33
31
public function iHaveSubscribersForList ($ list , PyStringNode $ stringNode )
34
32
{
You can’t perform that action at this time.
0 commit comments