Skip to content

Commit

Permalink
finalize configs for local
Browse files Browse the repository at this point in the history
  • Loading branch information
shamilovtim committed Dec 3, 2023
1 parent c1bbc5a commit 6d83857
Show file tree
Hide file tree
Showing 9 changed files with 53 additions and 135 deletions.
20 changes: 5 additions & 15 deletions packages/agent/web-test-runner.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,8 @@ const playwrightLauncher =
* @type {import('@web/test-runner').TestRunnerConfig}
*/
module.exports = {
files : 'tests/compiled/**/*.spec.js',
playwright : true,
nodeResolve : true,
browsers : [
playwrightLauncher({
product: 'chromium',
}),
playwrightLauncher({
product: 'firefox',
}),
playwrightLauncher({
product: 'webkit',
}),
],
playwright : true,
nodeResolve : true,
testsFinishTimeout : 300000,
concurrentBrowsers : 2,
testFramework : {
Expand All @@ -30,6 +18,7 @@ module.exports = {
groups: [
{
name : 'chromium',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'chromium',
Expand All @@ -38,6 +27,7 @@ module.exports = {
},
{
name : 'firefox',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'firefox',
Expand All @@ -46,6 +36,7 @@ module.exports = {
},
{
name : 'webkit',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'webkit',
Expand All @@ -54,4 +45,3 @@ module.exports = {
},
],
};

21 changes: 6 additions & 15 deletions packages/api/web-test-runner.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,19 @@ const playwrightLauncher =
* @type {import('@web/test-runner').TestRunnerConfig}
*/
module.exports = {
files : 'tests/compiled/**/*.spec.js',
playwright : true,
nodeResolve : true,
browsers : [
playwrightLauncher({
product: 'chromium',
}),
playwrightLauncher({
product: 'firefox',
}),
playwrightLauncher({
product: 'webkit',
}),
],
playwright : true,
nodeResolve : true,
testsFinishTimeout : 300000,
concurrentBrowsers : 2,
testFramework : {
config: {
timeout: '15000',
timeout: '30000',
},
},
groups: [
{
name : 'chromium',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'chromium',
Expand All @@ -38,6 +27,7 @@ module.exports = {
},
{
name : 'firefox',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'firefox',
Expand All @@ -46,6 +36,7 @@ module.exports = {
},
{
name : 'webkit',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'webkit',
Expand Down
21 changes: 6 additions & 15 deletions packages/common/web-test-runner.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,19 @@ const playwrightLauncher =
* @type {import('@web/test-runner').TestRunnerConfig}
*/
module.exports = {
files : 'tests/compiled/**/*.spec.js',
playwright : true,
nodeResolve : true,
browsers : [
playwrightLauncher({
product: 'chromium',
}),
playwrightLauncher({
product: 'firefox',
}),
playwrightLauncher({
product: 'webkit',
}),
],
playwright : true,
nodeResolve : true,
testsFinishTimeout : 300000,
concurrentBrowsers : 2,
testFramework : {
config: {
timeout: '15000',
timeout: '30000',
},
},
groups: [
{
name : 'chromium',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'chromium',
Expand All @@ -38,6 +27,7 @@ module.exports = {
},
{
name : 'firefox',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'firefox',
Expand All @@ -46,6 +36,7 @@ module.exports = {
},
{
name : 'webkit',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'webkit',
Expand Down
21 changes: 6 additions & 15 deletions packages/credentials/web-test-runner.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,19 @@ const playwrightLauncher =
* @type {import('@web/test-runner').TestRunnerConfig}
*/
module.exports = {
files : 'tests/compiled/**/*.spec.js',
playwright : true,
nodeResolve : true,
browsers : [
playwrightLauncher({
product: 'chromium',
}),
playwrightLauncher({
product: 'firefox',
}),
playwrightLauncher({
product: 'webkit',
}),
],
playwright : true,
nodeResolve : true,
testsFinishTimeout : 300000,
concurrentBrowsers : 2,
testFramework : {
config: {
timeout: '15000',
timeout: '30000',
},
},
groups: [
{
name : 'chromium',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'chromium',
Expand All @@ -38,6 +27,7 @@ module.exports = {
},
{
name : 'firefox',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'firefox',
Expand All @@ -46,6 +36,7 @@ module.exports = {
},
{
name : 'webkit',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'webkit',
Expand Down
21 changes: 6 additions & 15 deletions packages/crypto/web-test-runner.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,19 @@ const playwrightLauncher =
* @type {import('@web/test-runner').TestRunnerConfig}
*/
module.exports = {
files : 'tests/compiled/**/*.spec.js',
playwright : true,
nodeResolve : true,
browsers : [
playwrightLauncher({
product: 'chromium',
}),
playwrightLauncher({
product: 'firefox',
}),
playwrightLauncher({
product: 'webkit',
}),
],
playwright : true,
nodeResolve : true,
testsFinishTimeout : 300000,
concurrentBrowsers : 2,
testFramework : {
config: {
timeout: '15000',
timeout: '30000',
},
},
groups: [
{
name : 'chromium',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'chromium',
Expand All @@ -38,6 +27,7 @@ module.exports = {
},
{
name : 'firefox',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'firefox',
Expand All @@ -46,6 +36,7 @@ module.exports = {
},
{
name : 'webkit',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'webkit',
Expand Down
21 changes: 6 additions & 15 deletions packages/dids/web-test-runner.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,19 @@ const playwrightLauncher =
* @type {import('@web/test-runner').TestRunnerConfig}
*/
module.exports = {
files : 'tests/compiled/**/*.spec.js',
playwright : true,
nodeResolve : true,
browsers : [
playwrightLauncher({
product: 'chromium',
}),
playwrightLauncher({
product: 'firefox',
}),
playwrightLauncher({
product: 'webkit',
}),
],
playwright : true,
nodeResolve : true,
testsFinishTimeout : 300000,
concurrentBrowsers : 2,
testFramework : {
config: {
timeout: '15000',
timeout: '30000',
},
},
groups: [
{
name : 'chromium',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'chromium',
Expand All @@ -38,6 +27,7 @@ module.exports = {
},
{
name : 'firefox',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'firefox',
Expand All @@ -46,6 +36,7 @@ module.exports = {
},
{
name : 'webkit',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'webkit',
Expand Down
21 changes: 6 additions & 15 deletions packages/identity-agent/web-test-runner.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,19 @@ const playwrightLauncher =
* @type {import('@web/test-runner').TestRunnerConfig}
*/
module.exports = {
files : 'tests/compiled/**/*.spec.js',
playwright : true,
nodeResolve : true,
browsers : [
playwrightLauncher({
product: 'chromium',
}),
playwrightLauncher({
product: 'firefox',
}),
playwrightLauncher({
product: 'webkit',
}),
],
playwright : true,
nodeResolve : true,
testsFinishTimeout : 300000,
concurrentBrowsers : 2,
testFramework : {
config: {
timeout: '15000',
timeout: '30000',
},
},
groups: [
{
name : 'chromium',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'chromium',
Expand All @@ -38,6 +27,7 @@ module.exports = {
},
{
name : 'firefox',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'firefox',
Expand All @@ -46,6 +36,7 @@ module.exports = {
},
{
name : 'webkit',
files : 'tests/compiled/**/*.spec.js',
browsers : [
playwrightLauncher({
product: 'webkit',
Expand Down
Loading

0 comments on commit 6d83857

Please sign in to comment.