Skip to content

Commit

Permalink
ignored accessibility test and hook to start web
Browse files Browse the repository at this point in the history
  • Loading branch information
antk43 committed Jul 30, 2024
1 parent 9a2892e commit e997754
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
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 @@ -21,22 +21,22 @@ public SpecFlowHooks(ITestOutputHelper logger)
[Before]
public void Before()
{
var workingDir = Directory.GetCurrentDirectory();
_logger.WriteLine(workingDir);


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);
//var workingDir = Directory.GetCurrentDirectory();
//_logger.WriteLine(workingDir);
//
//
//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 e997754

Please sign in to comment.