-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test: implement workaround to improve `RadioButtons` performance Setting values using the Geb `RadioButtons` module currently takes over 2 minutes, significantly slowing down integration tests. This commit introduces a temporary workaround to speed up the tests while awaiting a proper fix for the `RadioButtons` module. * test: remove unnecessary `@Stepwise` annotations Removed `@Stepwise` annotations in test classes where they had no observable impact on test execution. This simplifies the test setup and avoids potential confusion. * test: remove redundant `@DirtiesContext` annotations Eliminated `@DirtiesContext` annotations from test classes and methods where they were unnecessary, improving test execution time and reducing context reload overhead. * test: remove `@PendingFeature` from passing test * chore(test): cleanup * test: fix and cleanup test suites
- Loading branch information
Showing
91 changed files
with
1,240 additions
and
1,345 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
13 changes: 5 additions & 8 deletions
13
examples/extended/src/integration-test/groovy/page/profile/ProfileListPage.groovy
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
package page.profile | ||
|
||
import geb.module.Select | ||
import geb.module.TextInput | ||
import page.AbstractSecurityPage | ||
|
||
class ProfileListPage extends AbstractSecurityPage { | ||
|
||
static at = { title == 'Profile List' } | ||
|
||
|
||
static url = 'profile' | ||
|
||
|
||
static at = { title == 'Profile List' } | ||
static content = { | ||
|
||
profileEditLink { String username -> $('a', text: "User(username:$username)").parent().parent().children().first().children('a') } | ||
} | ||
|
||
void editProfile(String username) { | ||
profileEditLink(username).click() | ||
} | ||
} |
This file contains 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
11 changes: 4 additions & 7 deletions
11
examples/extended/src/integration-test/groovy/page/register/RegisterPage.groovy
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,19 @@ | ||
package page.register | ||
|
||
import geb.module.PasswordInput | ||
import geb.module.TextInput | ||
import page.AbstractSecurityPage | ||
|
||
class RegisterPage extends AbstractSecurityPage { | ||
|
||
static url = 'register' | ||
|
||
static at = { title == 'Register' } | ||
|
||
static content = { | ||
form { $('registerForm') } | ||
|
||
username { $(name: 'username').module(TextInput) } | ||
email { $(name: 'email').module(TextInput) } | ||
password { $(name: 'password').module(TextInput) } | ||
password2 { $(name: 'password2').module(TextInput) } | ||
|
||
submit { $('a', id: 'submit') } | ||
password { $(name: 'password').module(PasswordInput) } | ||
password2 { $(name: 'password2').module(PasswordInput) } | ||
submitBtn { $('a', id: 'submit') } | ||
} | ||
} |
10 changes: 4 additions & 6 deletions
10
examples/extended/src/integration-test/groovy/page/register/ResetPasswordPage.groovy
This file contains 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
Oops, something went wrong.