This commit is contained in:
Lukáš Kaňka 2023-08-23 09:30:40 +02:00
parent 315b2d1fb8
commit 4a21d47f48
12 changed files with 133 additions and 1 deletions

View File

@ -0,0 +1,2 @@
**Projekt VisualStudio 2022**
NUnit Page Object Model

View File

@ -40,6 +40,10 @@
"net7.0": { "net7.0": {
"targetAlias": "net7.0", "targetAlias": "net7.0",
"dependencies": { "dependencies": {
"DotNetSeleniumExtras.PageObjects.Core": {
"target": "Package",
"version": "[4.3.0, )"
},
"Microsoft.NET.Test.Sdk": { "Microsoft.NET.Test.Sdk": {
"target": "Package", "target": "Package",
"version": "[17.6.0, )" "version": "[17.6.0, )"
@ -56,6 +60,14 @@
"target": "Package", "target": "Package",
"version": "[4.4.2, )" "version": "[4.4.2, )"
}, },
"Selenium.Support": {
"target": "Package",
"version": "[4.11.0, )"
},
"Selenium.WebDriver": {
"target": "Package",
"version": "[4.11.0, )"
},
"coverlet.collector": { "coverlet.collector": {
"target": "Package", "target": "Package",
"version": "[3.2.0, )" "version": "[3.2.0, )"

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?> <?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)selenium.webdriver\4.11.0\buildTransitive\Selenium.WebDriver.targets" Condition="Exists('$(NuGetPackageRoot)selenium.webdriver\4.11.0\buildTransitive\Selenium.WebDriver.targets')" />
<Import Project="$(NuGetPackageRoot)netstandard.library\2.0.0\build\netstandard2.0\NETStandard.Library.targets" Condition="Exists('$(NuGetPackageRoot)netstandard.library\2.0.0\build\netstandard2.0\NETStandard.Library.targets')" /> <Import Project="$(NuGetPackageRoot)netstandard.library\2.0.0\build\netstandard2.0\NETStandard.Library.targets" Condition="Exists('$(NuGetPackageRoot)netstandard.library\2.0.0\build\netstandard2.0\NETStandard.Library.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.codecoverage\17.6.0\build\netstandard2.0\Microsoft.CodeCoverage.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.codecoverage\17.6.0\build\netstandard2.0\Microsoft.CodeCoverage.targets')" /> <Import Project="$(NuGetPackageRoot)microsoft.codecoverage\17.6.0\build\netstandard2.0\Microsoft.CodeCoverage.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.codecoverage\17.6.0\build\netstandard2.0\Microsoft.CodeCoverage.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.net.test.sdk\17.6.0\build\netcoreapp3.1\Microsoft.NET.Test.Sdk.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.net.test.sdk\17.6.0\build\netcoreapp3.1\Microsoft.NET.Test.Sdk.targets')" /> <Import Project="$(NuGetPackageRoot)microsoft.net.test.sdk\17.6.0\build\netcoreapp3.1\Microsoft.NET.Test.Sdk.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.net.test.sdk\17.6.0\build\netcoreapp3.1\Microsoft.NET.Test.Sdk.targets')" />

View File

@ -8,6 +8,18 @@
"build/netstandard1.0/coverlet.collector.targets": {} "build/netstandard1.0/coverlet.collector.targets": {}
} }
}, },
"DotNetSeleniumExtras.PageObjects.Core/4.3.0": {
"type": "package",
"dependencies": {
"Selenium.WebDriver": "4.3.0"
},
"compile": {
"lib/net5.0/SeleniumExtras.PageObjects.dll": {}
},
"runtime": {
"lib/net5.0/SeleniumExtras.PageObjects.dll": {}
}
},
"Microsoft.CodeCoverage/17.6.0": { "Microsoft.CodeCoverage/17.6.0": {
"type": "package", "type": "package",
"compile": { "compile": {
@ -369,6 +381,33 @@
"build/netcoreapp3.1/NUnit3TestAdapter.props": {} "build/netcoreapp3.1/NUnit3TestAdapter.props": {}
} }
}, },
"Selenium.Support/4.11.0": {
"type": "package",
"dependencies": {
"Selenium.WebDriver": "4.11.0"
},
"compile": {
"lib/net6.0/WebDriver.Support.dll": {}
},
"runtime": {
"lib/net6.0/WebDriver.Support.dll": {}
}
},
"Selenium.WebDriver/4.11.0": {
"type": "package",
"dependencies": {
"Newtonsoft.Json": "13.0.1"
},
"compile": {
"lib/net6.0/WebDriver.dll": {}
},
"runtime": {
"lib/net6.0/WebDriver.dll": {}
},
"build": {
"buildTransitive/Selenium.WebDriver.targets": {}
}
},
"System.Reflection.Metadata/1.6.0": { "System.Reflection.Metadata/1.6.0": {
"type": "package", "type": "package",
"compile": { "compile": {
@ -438,6 +477,21 @@
"coverlet.collector.nuspec" "coverlet.collector.nuspec"
] ]
}, },
"DotNetSeleniumExtras.PageObjects.Core/4.3.0": {
"sha512": "ZqD0Rx5On7NvcwAQbnNnnUy1czifVYin17TN4jnWCIKkKofBJLMK0a0aR/uQ7sF9atUlOKHJRLjs6mZQ9shbTw==",
"type": "package",
"path": "dotnetseleniumextras.pageobjects.core/4.3.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE",
"dotnetseleniumextras.pageobjects.core.4.3.0.nupkg.sha512",
"dotnetseleniumextras.pageobjects.core.nuspec",
"lib/net462/SeleniumExtras.PageObjects.dll",
"lib/net5.0/SeleniumExtras.PageObjects.dll",
"lib/netstandard2.0/SeleniumExtras.PageObjects.dll"
]
},
"Microsoft.CodeCoverage/17.6.0": { "Microsoft.CodeCoverage/17.6.0": {
"sha512": "5v2GwzpR7JEuQUzupjx3zLwn2FutADW/weLzLt726DR3WXxsM+ICPoJG6pxuKFsumtZp890UrVuudTUhsE8Qyg==", "sha512": "5v2GwzpR7JEuQUzupjx3zLwn2FutADW/weLzLt726DR3WXxsM+ICPoJG6pxuKFsumtZp890UrVuudTUhsE8Qyg==",
"type": "package", "type": "package",
@ -956,6 +1010,51 @@
"nunit_256.png" "nunit_256.png"
] ]
}, },
"Selenium.Support/4.11.0": {
"sha512": "PR7ssrG9peQ5AqPSNvOJ846FFOX1wSv5eV3/8zvYwf0jhNx2bEprBZbtYMSWtht+HXtC5xb6atRQLlpKD+FETQ==",
"type": "package",
"path": "selenium.support/4.11.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"images/icon.png",
"lib/net45/WebDriver.Support.dll",
"lib/net46/WebDriver.Support.dll",
"lib/net47/WebDriver.Support.dll",
"lib/net48/WebDriver.Support.dll",
"lib/net5.0/WebDriver.Support.dll",
"lib/net6.0/WebDriver.Support.dll",
"lib/netstandard2.0/WebDriver.Support.dll",
"lib/netstandard2.1/WebDriver.Support.dll",
"selenium.support.4.11.0.nupkg.sha512",
"selenium.support.nuspec"
]
},
"Selenium.WebDriver/4.11.0": {
"sha512": "V8o+Nvi9/3Ix12ZzMGg+fI7sfu+HrflZkMGq8Orr+j0INbfpEEyM6KR9oaaHlm0WUXcn7dTYwyWrJxYsi6eniw==",
"type": "package",
"path": "selenium.webdriver/4.11.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"build/Selenium.WebDriver.targets",
"buildTransitive/Selenium.WebDriver.targets",
"images/icon.png",
"lib/net45/WebDriver.dll",
"lib/net46/WebDriver.dll",
"lib/net47/WebDriver.dll",
"lib/net48/WebDriver.dll",
"lib/net5.0/WebDriver.dll",
"lib/net6.0/WebDriver.dll",
"lib/netstandard2.0/WebDriver.dll",
"lib/netstandard2.1/WebDriver.dll",
"manager/linux/selenium-manager",
"manager/macos/selenium-manager",
"manager/windows/selenium-manager.exe",
"selenium.webdriver.4.11.0.nupkg.sha512",
"selenium.webdriver.nuspec"
]
},
"System.Reflection.Metadata/1.6.0": { "System.Reflection.Metadata/1.6.0": {
"sha512": "COC1aiAJjCoA5GBF+QKL2uLqEBew4JsCkQmoHKbN3TlOZKa2fKLz5CpiRQKDz0RsAOEGsVKqOD5bomsXq/4STQ==", "sha512": "COC1aiAJjCoA5GBF+QKL2uLqEBew4JsCkQmoHKbN3TlOZKa2fKLz5CpiRQKDz0RsAOEGsVKqOD5bomsXq/4STQ==",
"type": "package", "type": "package",
@ -980,10 +1079,13 @@
}, },
"projectFileDependencyGroups": { "projectFileDependencyGroups": {
"net7.0": [ "net7.0": [
"DotNetSeleniumExtras.PageObjects.Core >= 4.3.0",
"Microsoft.NET.Test.Sdk >= 17.6.0", "Microsoft.NET.Test.Sdk >= 17.6.0",
"NUnit >= 3.13.3", "NUnit >= 3.13.3",
"NUnit.Analyzers >= 3.6.1", "NUnit.Analyzers >= 3.6.1",
"NUnit3TestAdapter >= 4.4.2", "NUnit3TestAdapter >= 4.4.2",
"Selenium.Support >= 4.11.0",
"Selenium.WebDriver >= 4.11.0",
"coverlet.collector >= 3.2.0" "coverlet.collector >= 3.2.0"
] ]
}, },
@ -1026,6 +1128,10 @@
"net7.0": { "net7.0": {
"targetAlias": "net7.0", "targetAlias": "net7.0",
"dependencies": { "dependencies": {
"DotNetSeleniumExtras.PageObjects.Core": {
"target": "Package",
"version": "[4.3.0, )"
},
"Microsoft.NET.Test.Sdk": { "Microsoft.NET.Test.Sdk": {
"target": "Package", "target": "Package",
"version": "[17.6.0, )" "version": "[17.6.0, )"
@ -1042,6 +1148,14 @@
"target": "Package", "target": "Package",
"version": "[4.4.2, )" "version": "[4.4.2, )"
}, },
"Selenium.Support": {
"target": "Package",
"version": "[4.11.0, )"
},
"Selenium.WebDriver": {
"target": "Package",
"version": "[4.11.0, )"
},
"coverlet.collector": { "coverlet.collector": {
"target": "Package", "target": "Package",
"version": "[3.2.0, )" "version": "[3.2.0, )"

View File

@ -1,10 +1,11 @@
{ {
"version": 2, "version": 2,
"dgSpecHash": "PypHRikcBD+tSs12PXS45sxpQMagV0mDHtrlGxR5IS2GCV/bvs/ilBZkhViMeNhmktyTPLJ4n+34ySWOg6sCzQ==", "dgSpecHash": "P4pytMbX75gD5U2BBp8F8hvq8eJRva4Ei7yEW7XMllYqtOX7sLuHV5v7XB/sNVVN7AqE7MNVSVnXvgx61bKJCA==",
"success": true, "success": true,
"projectFilePath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\NUnitPageObjectModel\\NUnitPageObjectModel\\NUnitPageObjectModel.csproj", "projectFilePath": "C:\\Users\\lukas\\Nextcloud\\GitHub\\.Net_C.Sharp_Test\\NUnitPageObjectModel\\NUnitPageObjectModel\\NUnitPageObjectModel.csproj",
"expectedPackageFiles": [ "expectedPackageFiles": [
"C:\\Users\\lukas\\.nuget\\packages\\coverlet.collector\\3.2.0\\coverlet.collector.3.2.0.nupkg.sha512", "C:\\Users\\lukas\\.nuget\\packages\\coverlet.collector\\3.2.0\\coverlet.collector.3.2.0.nupkg.sha512",
"C:\\Users\\lukas\\.nuget\\packages\\dotnetseleniumextras.pageobjects.core\\4.3.0\\dotnetseleniumextras.pageobjects.core.4.3.0.nupkg.sha512",
"C:\\Users\\lukas\\.nuget\\packages\\microsoft.codecoverage\\17.6.0\\microsoft.codecoverage.17.6.0.nupkg.sha512", "C:\\Users\\lukas\\.nuget\\packages\\microsoft.codecoverage\\17.6.0\\microsoft.codecoverage.17.6.0.nupkg.sha512",
"C:\\Users\\lukas\\.nuget\\packages\\microsoft.net.test.sdk\\17.6.0\\microsoft.net.test.sdk.17.6.0.nupkg.sha512", "C:\\Users\\lukas\\.nuget\\packages\\microsoft.net.test.sdk\\17.6.0\\microsoft.net.test.sdk.17.6.0.nupkg.sha512",
"C:\\Users\\lukas\\.nuget\\packages\\microsoft.netcore.platforms\\1.1.0\\microsoft.netcore.platforms.1.1.0.nupkg.sha512", "C:\\Users\\lukas\\.nuget\\packages\\microsoft.netcore.platforms\\1.1.0\\microsoft.netcore.platforms.1.1.0.nupkg.sha512",
@ -16,6 +17,8 @@
"C:\\Users\\lukas\\.nuget\\packages\\nunit\\3.13.3\\nunit.3.13.3.nupkg.sha512", "C:\\Users\\lukas\\.nuget\\packages\\nunit\\3.13.3\\nunit.3.13.3.nupkg.sha512",
"C:\\Users\\lukas\\.nuget\\packages\\nunit.analyzers\\3.6.1\\nunit.analyzers.3.6.1.nupkg.sha512", "C:\\Users\\lukas\\.nuget\\packages\\nunit.analyzers\\3.6.1\\nunit.analyzers.3.6.1.nupkg.sha512",
"C:\\Users\\lukas\\.nuget\\packages\\nunit3testadapter\\4.4.2\\nunit3testadapter.4.4.2.nupkg.sha512", "C:\\Users\\lukas\\.nuget\\packages\\nunit3testadapter\\4.4.2\\nunit3testadapter.4.4.2.nupkg.sha512",
"C:\\Users\\lukas\\.nuget\\packages\\selenium.support\\4.11.0\\selenium.support.4.11.0.nupkg.sha512",
"C:\\Users\\lukas\\.nuget\\packages\\selenium.webdriver\\4.11.0\\selenium.webdriver.4.11.0.nupkg.sha512",
"C:\\Users\\lukas\\.nuget\\packages\\system.reflection.metadata\\1.6.0\\system.reflection.metadata.1.6.0.nupkg.sha512" "C:\\Users\\lukas\\.nuget\\packages\\system.reflection.metadata\\1.6.0\\system.reflection.metadata.1.6.0.nupkg.sha512"
], ],
"logs": [] "logs": []