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

Speed up contact page test #2177

Merged
merged 1 commit into from
Oct 10, 2021
Merged

Speed up contact page test #2177

merged 1 commit into from
Oct 10, 2021

Conversation

mark-dce
Copy link
Contributor

The previous test loaded and executed remote javascript from the
libwizard site. While it's useful to know that this code is running
successfully and inserting the expected iframe form into the ETD Help
page, the test takes a very long time to run and the javascript does
not always load from the remote site before the test times out.

This change flags that test as a smoke_test that is not run during
regular runs of the test suite. It also adds a view test that ensures
the default Hyrax contact form is replaced by the local form which
embeds the expected libwizard script.

The previous test loaded and executed remote javascript from the
libwizard site.  While it's useful to know that this code is running
successfully and inserting the expected iframe form into the ETD Help
page, the test takes a very long time to run and the javascript does
not always load from the remote site before the test times out.

This change flags that test as a smoke_test that is not run during
regular runs of the test suite.  It also adds a view test that ensures
the default Hyrax contact form is replaced by the local form which
embeds the expected libwizard script.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.06%) to 92.119% when pulling 3f6f7cd on fix_flaky_contact into 51c6192 on main.

@mark-dce mark-dce merged commit b85fa17 into main Oct 10, 2021
@mark-dce mark-dce deleted the fix_flaky_contact branch October 10, 2021 15:14
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