diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 03cb539..a9080d5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,6 +3,9 @@ on: [push] jobs: dusk-php: runs-on: ubuntu-latest + strategy: + matrix: + php: ['7.2', '7.3'] steps: - uses: actions/checkout@v1 - name: Prepare The Environment diff --git a/tests/Browser/LinkFormTest.php b/tests/Browser/LinkFormTest.php index 5b506aa..79157c8 100644 --- a/tests/Browser/LinkFormTest.php +++ b/tests/Browser/LinkFormTest.php @@ -23,7 +23,7 @@ class LinkFormTest extends DuskTestCase ->visitRoute('link.create') ->assertSee('URL') ->type('@link-form-url', url()->route('home')) - ->waitForText('Retrieving URL informations...') + ->waitForText('Retrieving URL informations...', 10) ->waitUntilVueIsNot('parsing', true, '@link-form', 10) ->assertDontSee('Retrieving URL informations...') ->type('@link-form-title', 'Custom link') @@ -39,7 +39,7 @@ class LinkFormTest extends DuskTestCase ->assertSee('testtag') ->visitRoute('link.create') ->type('@link-form-url', url()->route('home')) - ->waitForText('Retrieving URL informations...') + ->waitForText('Retrieving URL informations...', 10) ->waitUntilVueIsNot('parsing', true, '@link-form', 10) ->assertSee('The url has already been taken.'); });