Skip to content

Add tests for the bot protection of the admin portal#1034

Open
mastastny wants to merge 1 commit into
3scale-qe:mainfrom
mastastny:bot_protection
Open

Add tests for the bot protection of the admin portal#1034
mastastny wants to merge 1 commit into
3scale-qe:mainfrom
mastastny:bot_protection

Conversation

@mastastny
Copy link
Copy Markdown
Collaborator

@mastastny mastastny commented May 11, 2026

build on top of PR #1033

@mastastny mastastny requested a review from a team as a code owner May 11, 2026 14:24
Copy link
Copy Markdown
Member

@mdujava mdujava left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR took subject from wrong commit

Comment thread testsuite/tests/toolbox/test_activedoc.py
@mastastny mastastny changed the title Fix mypy 2.0.0 var-annotated errors in toolbox tests Add tests for the bot protection of the admin portal May 11, 2026
mdujava
mdujava previously approved these changes May 12, 2026
@mastastny mastastny dismissed mdujava’s stale review May 12, 2026 11:47

The merge-base changed after approval.

@dhlavac
Copy link
Copy Markdown
Member

dhlavac commented May 12, 2026

@mastastny rebase pls

navigator.navigate(AdminBotProtection).disable_protection()


def test_admin_login_blocked_by_recaptcha(navigator):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not applicable to all versions of 3scale, please add for versions lower than 2.16

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this bot protection is different new in alpha, so no need for backporting to 2.16?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The feature has been there since 2.16.0, but we officially support it since 2.16.4, so from my point of view it can be backported, but it's not necessary.

@mdujava mdujava added the to_backport Commits to be backported to stable branches label May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

to_backport Commits to be backported to stable branches

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants