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

Add selenium / system_test #4679

Merged
merged 7 commits into from
Nov 27, 2024
Merged

Add selenium / system_test #4679

merged 7 commits into from
Nov 27, 2024

Conversation

inulty-dfe
Copy link
Contributor

@inulty-dfe inulty-dfe commented Nov 13, 2024

Context

  • Bundle selenium-webdriver to enable system tests to launch in the browser.
  • Add starter tests for each service.

Issues

Cannot yet run javascript tests in CI. Have not yet figured out how the chromedriver gets automatically installed by Selenium Manager.

Changes proposed in this pull request

Guidance to review

How can we get js tests running in CI?

@Nitemaeric
Copy link
Contributor

@inulty-dfe
Copy link
Contributor Author

This file from Funding Mentors adds in mock OAuth https://github.com/DFE-Digital/itt-mentor-services/blob/main/spec/support/dfe_sign_in_user_helper.rb

Nice one, thanks! I didn't understand how the OmniAuth mock was supposed to be used 👍

@inulty-dfe inulty-dfe force-pushed the im/add-selenium-system-tests branch from 69e837f to fd352df Compare November 14, 2024 12:39
@inulty-dfe inulty-dfe marked this pull request as ready for review November 14, 2024 12:48
@inulty-dfe inulty-dfe requested a review from a team as a code owner November 14, 2024 12:48
Copy link
Contributor

@Nitemaeric Nitemaeric left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful! 🚀

Copy link
Contributor

@tomas-stefano tomas-stefano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@inulty-dfe inulty-dfe force-pushed the im/add-selenium-system-tests branch from a2e5f47 to b0e949c Compare November 27, 2024 09:51
@inulty-dfe inulty-dfe force-pushed the im/add-selenium-system-tests branch from b0e949c to 2091ff3 Compare November 27, 2024 14:27
@inulty-dfe inulty-dfe merged commit dae006e into main Nov 27, 2024
19 checks passed
@inulty-dfe inulty-dfe deleted the im/add-selenium-system-tests branch November 27, 2024 14:45
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.

3 participants