mirror of https://github.com/MarceauKa/shaark.git
🔧 LinkForm test 🔧 CI build with PHP 7.2 and 7.3
This commit is contained in:
parent
2ffaddf24c
commit
5879350a34
|
@ -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
|
||||
|
|
|
@ -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.');
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue