Skip to content

test: process APP_NAME when deciding what apps to disable#41540

Merged
phil-davis merged 1 commit intomasterfrom
handle-disable-app-in-acceptance-tests
Apr 24, 2026
Merged

test: process APP_NAME when deciding what apps to disable#41540
phil-davis merged 1 commit intomasterfrom
handle-disable-app-in-acceptance-tests

Conversation

@phil-davis
Copy link
Copy Markdown
Contributor

When running acceptance tests, we disable the firstrunwizard and notifications app by default. These apps are often provided in a bundled ownCloud core tarball. But they can get in the way of webUI tests, because:

  • the firstrunwizard might display itself at the very start of testing
  • notifications can appear at the top of the webUI, and might obscure things that are being tested.

But if we are actually testing one of these apps, then we don't want to disable the app.

The logic in acceptance test run.sh is enhanced to avoid disabling the app when it is the app-under-test.

When running acceptance tests, we disable the firstrunwizard
and notifications app by default. These apps are often provided
in a bundled ownCloud core tarball. But they can get in the way
of webUI tests, because:

- the firstrunwizard might display itself at the very start of testing
- notifications can appear at the top of the webUI, and might obscure
  things that are being tested.

But if we are actually testing one of these apps, then we don't want
to disable the app.

The logic in acceptance ytetst run.sh is enhanced to avoid disabling
the app when it is the app-under-test.
@phil-davis phil-davis requested a review from saw-jan April 24, 2026 11:01
@phil-davis phil-davis self-assigned this Apr 24, 2026
@phil-davis
Copy link
Copy Markdown
Contributor Author

Tried in PRs owncloud/notifications#394
and owncloud/firstrunwizard#191

It works, avoiding “accidentally” disabling the app-under-test when the acceptance tests are starting.

@phil-davis phil-davis merged commit b361ff7 into master Apr 24, 2026
12 checks passed
@phil-davis phil-davis deleted the handle-disable-app-in-acceptance-tests branch April 24, 2026 11:12
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