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

Switch test suite to default Rack Test #82

Merged
merged 2 commits into from
Jun 4, 2024
Merged

Conversation

strouptl
Copy link
Collaborator

@strouptl strouptl commented Jun 4, 2024

The test suite utilizes the cuprite driver, which causes compatibility issues with the Warden redirect solution in PR #80 (produces a "Chrome data error" when querying the current_url). In addition, the current testing approach does not test the actual content of the recovery codes download (only that something was downloaded).

This PR switches the test suite to the default rack_test driver, which resolves the test failures in PR #80, adds tests for the actual content of the recovery codes download, and simplifies the codebase by removing the custom Capybara coniguration and DowloadHelper module.

strouptl added 2 commits June 4, 2024 11:08
… download URL and content directly via default :rack_test functionality; remove custom driver and download helper (no longer needed);
…e already the defaults); remove cuprite from gemspec;
@strouptl strouptl mentioned this pull request Jun 4, 2024
@strzibny strzibny merged commit 2376e15 into wmlele:master Jun 4, 2024
1 check passed
@strouptl strouptl deleted the rack_test branch June 4, 2024 11:47
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.

2 participants