Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpecFlow structure added and initial accessibility test created #13

Closed
wants to merge 4 commits into from

Conversation

antk43
Copy link
Collaborator

@antk43 antk43 commented Jul 9, 2024

Overview

This PR adds SpecFlow to the Web.Tests project along with an initial accessibility test on the homepage.

Major changes

  • Axe Core, Fluent Assertions, Selenium WebDriver Chrome, and SpecFlow packages added to Web.Test.
  • Features directory with respective AccessbilityTests.feature file containing accessibility scenario and test steps.
  • Steps directory with respective AccessibilitySteps.cs step definition file containing code for test steps.
  • Hooks directory with respective SpecFlowHooks.cs for setting up and tearing down the web app and the WebDriver.
  • build.yml updated to run-on: windows-latest to be able to run Selenium.

ToDo

Next round of work to possibly include the following:

  • Currently we start the web app through starting the .exe in SpecFlowHooks.cs - is there a better way to run the app?
  • Add Selenium options including running in Headless et al.
  • Add AccessibilityOptions.cs as per SD test project.
  • Add logging of accessibility test to output file.

@antk43 antk43 marked this pull request as draft July 15, 2024 10:47
@antk43 antk43 closed this Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant