🔧 LinkForm test 🔧 CI build with PHP 7.2 and 7.3

This commit is contained in:
MarceauKa 2019-11-26 09:27:32 +01:00
parent 2ffaddf24c
commit 5879350a34
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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.');
});