Skip to content

Commit

Permalink
fix: update configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ieow committed May 23, 2022
1 parent 0783bd9 commit 5d84f43
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
12 changes: 10 additions & 2 deletions playwright-browserstack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { devices, PlaywrightTestConfig } from "@playwright/test";

const config: PlaywrightTestConfig = {
timeout: 80_000,
testDir: "tests/e2e/activity",
testDir: "tests/e2e",
globalSetup: "tests/e2e/browserstack-setup.ts",
globalTeardown: "tests/e2e/browserstack-teardown.ts",
use: {
Expand All @@ -29,9 +29,17 @@ const config: PlaywrightTestConfig = {
name: "playwright-webkit@latest:OSX Big Sur@browserstack",
use: {
browserName: "webkit",
...devices["iPhone 12 Pro Max"],
...devices["Desktop Safari"],
// channel: "chrome",
},
},
// {
// name: "playwright-webkit@latest:OSX Big Sur@browserstack",
// use: {
// browserName: "webkit",
// ...devices["iPhone 12 Pro Max"],
// },
// },
],
};
export default config;
16 changes: 8 additions & 8 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import { devices, PlaywrightTestConfig } from "@playwright/test";

const config: PlaywrightTestConfig = {
timeout: 30_000,
testDir: "tests/e2e/transfer",
testDir: "tests/e2e",
projects: [
// {
// name: "Chrome Stable",
// use: {
// browserName: "chromium",
// channel: "chrome",
// },
// },
{
name: "Chrome Stable",
use: {
browserName: "chromium",
channel: "chrome",
},
},
{
name: "iOS Safari",
use: {
Expand Down

0 comments on commit 5d84f43

Please sign in to comment.