mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-04 04:56:52 +00:00
test: Adapt playwright test to new office selector
Signed-off-by: Julius Knorr <jus@bitgrid.net>
This commit is contained in:
parent
d74efd9808
commit
0a650d1360
1 changed files with 2 additions and 2 deletions
|
|
@ -32,12 +32,12 @@ test('Initial setup', async ({ page: setupPage }) => {
|
|||
await containersPage.locator('#talk').uncheck();
|
||||
await containersPage.getByRole('checkbox', { name: 'Whiteboard' }).uncheck();
|
||||
await containersPage.getByRole('checkbox', { name: 'Imaginary' }).uncheck();
|
||||
await containersPage.getByRole('checkbox', { name: 'Collabora' }).uncheck();
|
||||
await containersPage.getByText('Disable office suite').click();
|
||||
await containersPage.getByRole('button', { name: 'Save changes' }).click();
|
||||
await expect(containersPage.locator('#talk')).not.toBeChecked()
|
||||
await expect(containersPage.getByRole('checkbox', { name: 'Whiteboard' })).not.toBeChecked()
|
||||
await expect(containersPage.getByRole('checkbox', { name: 'Imaginary' })).not.toBeChecked()
|
||||
await expect(containersPage.getByRole('checkbox', { name: 'Collabora' })).not.toBeChecked()
|
||||
await expect(containersPage.locator('#office-none')).toBeChecked()
|
||||
|
||||
// Reject invalid time zones
|
||||
await containersPage.locator('#timezone').click();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue