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

refactor two SAML tests to use page objects #2543

Merged
merged 7 commits into from
Nov 18, 2023
Merged

Conversation

swalchemist
Copy link
Contributor

@swalchemist swalchemist commented Oct 14, 2023

Convert 2 tests to use the page object strategy:
incorrectResponseFromSamlIDP_showErrorFromSaml
testSingleLogoutWithLogoutRedirect

@swalchemist swalchemist requested a review from a team October 14, 2023 02:02
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/186253006

The labels on this github issue will be updated when the story is started.

@swalchemist swalchemist force-pushed the samlTestRefactor branch 2 times, most recently from 3b1ca12 to 7f1cab0 Compare October 17, 2023 02:03
@hsinn0
Copy link
Contributor

hsinn0 commented Oct 18, 2023

@swalchemist, have you looked into the check failures yet?

@swalchemist
Copy link
Contributor Author

@swalchemist, have you looked into the check failures yet?

Checking.

@swalchemist swalchemist changed the title refactor three SAML tests to use page objects refactor two SAML tests to use page objects Oct 28, 2023
@swalchemist
Copy link
Contributor Author

I removed the problematic test. All looks good and ready for review.

…FromSaml and testSingleLogoutWithLogoutRedirect
This is no inheritance of these classes that need the constant to be accessible.
* Trying to indicate that the action after "_" in the names are the result, not an action taken directly by  the test.
* Naming pattern: action_resultingPage().
* Make it clearer that we're going to the logout.do service.
swalchemist and others added 3 commits November 3, 2023 16:48
* They're associated with web API endpoints, so they don't belong with the pages.
Co-authored-by: Bruce Ricard <bricard@vmware.com>
* Trying to reduce confusion - this gets the home url but never actually loads the home page html.
@swalchemist swalchemist merged commit 611f6fb into develop Nov 18, 2023
20 checks passed
@swalchemist swalchemist deleted the samlTestRefactor branch November 18, 2023 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

5 participants