Skip to content

Commit

Permalink
experimentation of dotnet run for accessibility test in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
antk43 committed Jul 30, 2024
1 parent 8e3a1db commit b392aed
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
Feature: AccessibilityTests

@ignore
Scenario: Homepage accessibility
When the user views the home page
Then the home page is accessible

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ public void Before()
_logger.WriteLine(workingDir);


//var process = new Process
//{
// StartInfo =
// {
// //FileName = "Dfe.Data.SearchPrototype.Web.exe",
// //WorkingDirectory = workingDir,
// //FileName = "dotnet",
// //Arguments = "run --urls=http://localhost:5000"
// }
//};
//process.Start();
//Thread.Sleep(4000);
var process = new Process
{
StartInfo =
{
//FileName = "Dfe.Data.SearchPrototype.Web.exe",
WorkingDirectory = Path.GetFullPath(Path.Combine(Directory.GetCurrentDirectory(), @"..\..\..\..\")),
FileName = "dotnet",
Arguments = "run --urls=http://localhost:5000"
}
};
process.Start();
Thread.Sleep(1000);
}

[BeforeTestRun]
Expand Down

0 comments on commit b392aed

Please sign in to comment.