Use Playwright `webServer` (#6720)

* Use Playwright `webServer`

* Try `jlpm start`

* Lint
Jeremy Tuloup 3 years ago committed by GitHub
parent ce9c16a01d
commit 61b2ad27ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -52,17 +52,6 @@ jobs:
jlpm --frozen-lockfile
jlpm playwright install
- name: Start Jupyter Notebook
run: |
cd ui-tests
jlpm start:detached
- name: Wait for Jupyter Notebook
uses: ifaxity/wait-on-action@v1
with:
resource: http-get://127.0.0.1:8888/
timeout: 360000
- name: Test
run: |
cd ui-tests

@ -6,5 +6,13 @@ module.exports = {
appPath: '',
video: 'retain-on-failure'
},
retries: 1
retries: 1,
webServer: [
{
command: 'jlpm start',
port: 8888,
timeout: 120 * 1000,
reuseExistingServer: true
}
]
};

Loading…
Cancel
Save