-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test cy.runCommand and cy.runOccCommand #731
Conversation
97ecee8
to
22ef885
Compare
cypress/e2e/occ.cy.ts
Outdated
cy.runOccCommand('app:list').then(output => { | ||
expect(output.stdout).to.contain('viewer') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Funny... passes locally for me but fails on CI because the app list does not include viewer.
Cotent of output.stdout in the failed test
Enabled:
- cloud_federation_api: 1.14.0
- comments: 1.21.0
- contactsinteraction: 1.12.0
- dashboard: 7.11.0
- dav: 1.32.0
- federatedfilesharing: 1.21.0
- federation: 1.21.0
- files: 2.3.0
- files_reminders: 1.4.0
- files_sharing: 1.23.0
- files_trashbin: 1.21.0
- files_versions: 1.24.0
- lookup_server_connector: 1.19.0
- oauth2: 1.19.0
- provisioning_api: 1.21.0
- settings: 1.14.0
- sharebymail: 1.21.0
- systemtags: 1.21.0
- theming: 2.6.0
- twofactor_backupcodes: 1.20.0
- updatenotification: 1.21.0
- user_status: 1.11.0
- weather_status: 1.11.0
- workflowengine: 2.13.0
Disabled:
- admin_audit: 1.21.0
- encryption: 2.19.0
- files_external: 1.23.0
- testing: 1.21.0
- user_ldap: 1.22.0
- webhook_listeners: 1.2.0'
Looks like something does not work during the setup of viewer on CI:
This seems unrelated to the PR so I will change this to check for files
and settings
which should always be around.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Max <[email protected]>
22ef885
to
fed018f
Compare
BRANCH is main in PRs against a main branch for example in apps that use that naming scheme and in `@nextcloud/cypress` itself. See #731 (review)
0047266
to
fed018f
Compare
0047266 was an attempt at a fix for the branch issue - but that should be discussed separately. So reverting this to the approved state to then merge ahead. |
No description provided.