forked from LambdaTest/playwright-sample
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProgram.cs
31 lines (30 loc) · 1.03 KB
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
using System.Collections.Generic;
namespace PlaywrightTesting
{
class Program
{
public static async Task Main(string[] args)
{
switch (args[0])
{
case "single":
Console.WriteLine("Running Playwright Single Test on LambdaTest");
await PlaywrightTestSingle.main(args);
break;
case "iphonetest":
Console.WriteLine("Running Playwright Test with iPhone Emulation");
await PlaywrightTestonIPhone.main(args);
break;
case "ipadtest":
Console.WriteLine("Running Playwright Test with iPad Emulation");
await PlaywrightTestonIPad.main(args);
break;
default:
Console.WriteLine("Running Playwright Single Test on LambdaTest");
await PlaywrightTestSingle.main(args);
break;
}
}
}
}