Skip to content

Commit da593df

Browse files
committed
[wip] adjustments
Signed-off-by: Maksim Sukharev <[email protected]>
1 parent cac5f41 commit da593df

File tree

2 files changed

+16
-11
lines changed

2 files changed

+16
-11
lines changed

.github/workflows/playwright-test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@ jobs:
127127
./occ app:enable --force ${{ env.APP_NAME }}
128128
./occ app:enable --force notifications
129129
130+
- name: Run Nextcloud
131+
# Only run if phpunit integration config file exists
132+
if: steps.checkout.outcome == 'success'
133+
run: php -S localhost:8080 &
134+
130135
- name: Read package.json node and npm engines version
131136
if: steps.checkout.outcome == 'success'
132137
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3

playwright.config.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default defineConfig({
2626
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
2727
use: {
2828
/* Base URL to use in actions like `await page.goto('/')`. */
29-
baseURL: 'https://nextcloud.local/index.php/',
29+
baseURL: 'http://localhost:8080/index.php/',
3030

3131
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
3232
trace: 'on-first-retry',
@@ -41,16 +41,16 @@ export default defineConfig({
4141
name: 'chromium',
4242
use: { ...devices['Desktop Chrome'] },
4343
},
44-
45-
{
46-
name: 'firefox',
47-
use: { ...devices['Desktop Firefox'] },
48-
},
49-
50-
{
51-
name: 'webkit',
52-
use: { ...devices['Desktop Safari'] },
53-
},
44+
//
45+
// {
46+
// name: 'firefox',
47+
// use: { ...devices['Desktop Firefox'] },
48+
// },
49+
//
50+
// {
51+
// name: 'webkit',
52+
// use: { ...devices['Desktop Safari'] },
53+
// },
5454

5555
/* Test against mobile viewports. */
5656
// {

0 commit comments

Comments
 (0)