mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-22 15:50:32 +00:00
feat: add playwright base url
This commit is contained in:
2
.github/workflows/e2e.yml
vendored
2
.github/workflows/e2e.yml
vendored
@@ -57,6 +57,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: npm run test:e2e
|
run: npm run test:e2e
|
||||||
|
env:
|
||||||
|
PLAYWRIGHT_TEST_BASE_URL: ${{ needs.test_setup.outputs.preview_url }}
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ const config: PlaywrightTestConfig = {
|
|||||||
// contextOptions: {
|
// contextOptions: {
|
||||||
// ignoreHTTPSErrors: true,
|
// ignoreHTTPSErrors: true,
|
||||||
// },
|
// },
|
||||||
baseURL: 'http://localhost:4000',
|
baseURL: process.env.PLAYWRIGHT_TEST_BASE_URL || 'http://localhost:4000',
|
||||||
},
|
},
|
||||||
projects: [
|
projects: [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user