-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #115 from LambdaTest/develop
Added android test cases
- Loading branch information
Showing
7 changed files
with
108 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,6 +106,7 @@ dist | |
|
||
# IDE files | ||
.idea/ | ||
.vscode | ||
|
||
**/target/ | ||
**/.DS_Store | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
const { devices } = require('@playwright/test') | ||
|
||
// Playwright config to run tests on LambdaTest platform and local | ||
const config = { | ||
testDir: 'tests', | ||
testMatch: '**/*.spec.js', | ||
timeout: 60000, | ||
workers: 4, | ||
use: {}, | ||
projects: [ | ||
// -- LambdaTest Config -- | ||
// name in the format: deviceName:platformVersion:platformName@lambdatest | ||
// Use additional configuration options provided by Playwright if required: https://playwright.dev/docs/api/class-testconfig | ||
{ | ||
name: 'Pixel 5:12:android@lambdatest', | ||
use: {} | ||
}, | ||
{ | ||
// Regex device name | ||
name: 'Galaxy*:12:android@lambdatest', | ||
use: {} | ||
}, | ||
|
||
// Config for running tests in local | ||
// { | ||
// name: "chrome", | ||
// use: { | ||
// browserName: "chromium", | ||
// channel: "chrome", | ||
// }, | ||
// }, | ||
// { | ||
// name: "safari", | ||
// use: { | ||
// browserName: "webkit", | ||
// viewport: { width: 1200, height: 750 }, | ||
// }, | ||
// }, | ||
// { | ||
// name: "firefox", | ||
// use: { | ||
// browserName: "firefox", | ||
// viewport: { width: 800, height: 600 }, | ||
// }, | ||
// }, | ||
// // Test in mobile viewport. | ||
// { | ||
// name: "chrome@pixel5", | ||
// use: { | ||
// ...devices['iPhone 12 Pro Max'], | ||
// } | ||
// }, | ||
] | ||
} | ||
|
||
module.exports = config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters