@W-21532895 Additional UI test automation for authentication#4004
Open
wmathurin wants to merge 10 commits intoforcedotcom:devfrom
Open
@W-21532895 Additional UI test automation for authentication#4004wmathurin wants to merge 10 commits intoforcedotcom:devfrom
wmathurin wants to merge 10 commits intoforcedotcom:devfrom
Conversation
…cyLoginTestsNotHybrid
- login with invalid client id in dynamic configuration - login with invalid scope in dynamic configuration
…erver) Using accessibility identifier to auth flow type toggles
Import button to set auth flow types by providing a JSON string (toggling was not working all the time)
|
||||||||||||||||||
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #4004 +/- ##
==========================================
+ Coverage 66.85% 66.91% +0.05%
==========================================
Files 254 254
Lines 22427 22462 +35
==========================================
+ Hits 14994 15030 +36
+ Misses 7433 7432 -1
🚀 New features to boost your workflow:
|
|
||||||||||||||||||||||||
|
||||||||||||||||
Contributor
Author
- Add check_retries: false to prevent counting retried tests separately - Add group_suite: true to group tests by test suite in report - Ensures test counts show actual test count (71) not inflated retry counts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

New test coverage
testLogoutUserWithDynamicConfig_OtherUserUnaffected,testDifferentAppTypes_LogoutCaUser_EcaUserUnaffectedtestDynamicConfigurationWithInvalidClientIdtestDynamicConfigurationWithInvalidScopetestMigrateCAUserAgentToECAWebServertestMigrateCAUserAgentToBeaconWebServerAlso renamed existing revocation tests for clarity:
testRevokeUserWithDynamicConfig_OtherUserUnaffected-->testRevokeAccessForUserWithDynamicConfig_OtherUserUnaffectedtestDifferentAppTypes_RevokeCaUser_EcaUserUnaffected-->testDifferentAppTypes_RevokeAccessForCaUser_EcaUserUnaffectedOther changes
Auth Flow Types Configuration
AuthFlowTypesViewwith JSON-based configuration (similar toBootConfigEditor)AuthFlowTypesPageObjectto encapsulate auth flow type interactionsAuthFlowTypesViewin the "Change Key" sheet (used to migrate refresh token)More balanced test suites (for faster parallel execution)
LegacyLoginTestsintoLegacyLoginTestsandLegacyLoginTestsNotHbyridUI Testing Environment Variable
IS_UI_TESTINGenvironment variable to conditionally show/hide UI elements during testsDiscoveryResultEditornow only visible during automated tests, hidden from production usersBaseAuthFlowTester.launch()viaapp.launchEnvironment["IS_UI_TESTING"] = "1"