Skip to content

Commit

Permalink
change ip
Browse files Browse the repository at this point in the history
  • Loading branch information
tsaridas committed Jun 22, 2024
1 parent 6dc9d85 commit 6fc7cfd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ghcr-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
done
- name: Run Docker Container
run: platform=${{ matrix.platform }} && ip a && docker network create --subnet=172.18.0.0/24 custom_network && docker run -d --network custom_network --ip 172.18.0.1 -p 8080:8080 -p 11470:11470 -e NO_CORS=1 -e CASTING_DISABLED=1 --platform ${{ matrix.platform }} ${{ env.TMP_LOCAL_IMAGE }}:${platform//\//-}
run: platform=${{ matrix.platform }} && ip a && docker network create --subnet=172.18.0.0/24 custom_network && docker run -d --network custom_network --ip 172.18.0.3 -p 8080:8080 -p 11470:11470 -e NO_CORS=1 -e CASTING_DISABLED=1 --platform ${{ matrix.platform }} ${{ env.TMP_LOCAL_IMAGE }}:${platform//\//-}

- uses: actions/setup-node@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions tests/e2e/settings.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { test, expect, request } from '@playwright/test';
test('api', async ({ page }) => {
// Create a context that will issue http requests.
const context = await request.newContext({
baseURL: 'http://172.18.0.1:11470',
baseURL: 'http://172.18.0.3:11470',
});
// Delete a repository.
const settings = await context.get(`/settings`, {});
Expand All @@ -20,12 +20,12 @@ test('api', async ({ page }) => {
});

test('settings', async ({ page }) => {
await page.goto('http://172.18.0.1:8080/#/settings');
await page.goto('http://172.18.0.3:8080/#/settings');
await page.getByTitle('Streaming').click();
await page.getByTitle('Configure server url').getByRole('img').click();
await page.getByPlaceholder('Enter a streaming server url').click();
await page.getByPlaceholder('Enter a streaming server url').press('Meta+a');
await page.getByPlaceholder('Enter a streaming server url').fill('http://172.18.0.1:11470/');
await page.getByPlaceholder('Enter a streaming server url').fill('http://172.18.0.3:11470/');
await page.getByText('Submit').click();
await expect(page.getByText('Online')).toHaveText('Online');
});

0 comments on commit 6fc7cfd

Please sign in to comment.