Skip to content

test: pass timeout_msec through to waitTillElementIsNotNull on VerificationPage#335

Open
phil-davis wants to merge 1 commit into
masterfrom
acceptance-tests-20260710
Open

test: pass timeout_msec through to waitTillElementIsNotNull on VerificationPage#335
phil-davis wants to merge 1 commit into
masterfrom
acceptance-tests-20260710

Conversation

@phil-davis

Copy link
Copy Markdown
Contributor

The timeout_msec parameter to waitTillPageIsLoaded was being ignored. Now it is passed on.

A few other minor grammar changes were also made.

…cationPage

The timeout_msec parameter to waitTillPageIsLoaded was being ignored.
Now it is passed on.

A few other minor grammar changes were also made.
@phil-davis phil-davis requested a review from a team as a code owner July 10, 2026 09:30
@phil-davis

Copy link
Copy Markdown
Contributor Author

There might be some interaction with the strict checking of the guest app whitelist that was merged in the guests app a few days ago:
owncloud/guests#618

I will investigate locally.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes an acceptance-test page-object behavior where the timeout_msec argument on VerificationPage::waitTillPageIsLoaded() was previously ignored, by passing that timeout through to the underlying element-wait helper. It also includes a couple of small grammar/spelling corrections in acceptance-test assets.

Changes:

  • Pass timeout_msec through to waitTillElementIsNotNull() in VerificationPage::waitTillPageIsLoaded().
  • Fix typo in a Gherkin scenario name (“mutiple” → “multiple”).
  • Adjust docblock wording (“two factor” → “two-factor”).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
tests/acceptance/features/webUIcliTwoFactorTOTP/deleteSecret.feature Fixes a scenario title typo to improve readability of acceptance specs.
tests/acceptance/features/lib/VerificationPage.php Ensures timeout_msec is honored by passing it to the element wait helper.
tests/acceptance/features/bootstrap/TwoFactorTOTPContext.php Minor docblock grammar update.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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