Create playwright.yml #1
Annotations
1 error and 10 warnings
test
Process completed with exit code 1.
|
test:
BasePage.cs#L7
Non-nullable field '_context' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
test:
BasePage.cs#L8
Non-nullable field '_playwright' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
test:
BasePage.cs#L9
Non-nullable field '_browser' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
test:
BasePage.cs#L10
Non-nullable field '_page' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
test:
BuyTShirt_E2E.cs#L33
Non-nullable field '_productName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
test:
BuyTShirt_E2E.cs#L33
Non-nullable field '_productDescription' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
test:
BuyTShirt_E2E.cs#L33
Non-nullable field '_productPrice' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
test:
Cart.cs#L16
Unreachable code detected
|
test:
Cart.cs#L13
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
test:
BuyTShirt_E2E.cs#L14
The field 'BuyTShirtTests._productPrice' is never used
|