Skip to content

Commit

Permalink
ci: changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
morganney committed Jan 16, 2024
1 parent df1d9da commit 9fa8664
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install docker
run: |
brew install docker
colima start
- name: Apt Pkgs
if: runner.os == 'ubuntu'
uses: awalsh128/cache-apt-pkgs-action@latest
Expand Down
5 changes: 2 additions & 3 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ export default defineConfig({
/* Configure projects for major browsers */
projects: [
{
name: 'Google Chrome',
use: { ...devices['Desktop Chrome'], channel: 'chrome' }
name: 'chromium',
use: { ...devices['Desktop Chrome'] }
},

{
Expand All @@ -47,7 +47,6 @@ export default defineConfig({
name: 'Mobile Chrome',
use: { ...devices['Pixel 5'] }
},

{
name: 'Mobile Safari',
use: { ...devices['iPhone 12'] }
Expand Down
5 changes: 1 addition & 4 deletions tests/basic.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import { test, expect } from '@playwright/test'

test('has title', async ({ browser }) => {
const ctx = await browser.newContext({ ignoreHTTPSErrors: true })
const page = await ctx.newPage()

test('has title', async ({ page }) => {
await page.goto('/')
await expect(page).toHaveTitle(/Busmap/)
})

0 comments on commit 9fa8664

Please sign in to comment.