playwright project
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -11,6 +11,7 @@ namespace PageObjects.PageObjects
|
||||
{
|
||||
// locators
|
||||
IWebElement TextArea => driver.FindElement(By.Name("my-textarea"));
|
||||
IWebElement SubmitBtn => driver.FindElement(By.TagName("button"));
|
||||
|
||||
|
||||
IWebDriver driver;
|
||||
|
@ -6,10 +6,6 @@
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Tests\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.1" />
|
||||
<PackageReference Include="NUnit" Version="3.13.3" />
|
||||
|
@ -1,12 +1,23 @@
|
||||
using System;
|
||||
using NUnit.Framework;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Tests.Common;
|
||||
|
||||
namespace Tests.Tests
|
||||
{
|
||||
internal class WebFormTests
|
||||
internal class WebFormTests : TestBase
|
||||
{
|
||||
[Test]
|
||||
public void WriteToTextAreaTest()
|
||||
{
|
||||
var text = Guid.NewGuid().ToString();
|
||||
|
||||
WebForm
|
||||
.WriteTextToTextArea(text);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user