mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 08:11:30 +03:00
15 lines
405 B
TypeScript
15 lines
405 B
TypeScript
|
/** @file Test the user menu. */
|
||
|
import * as test from '@playwright/test'
|
||
|
|
||
|
import * as actions from './actions'
|
||
|
import * as api from './api'
|
||
|
|
||
|
test.test('user menu', async ({ page }) => {
|
||
|
await api.mockApi(page)
|
||
|
await actions.login(page)
|
||
|
|
||
|
// Screenshot #1: User menu
|
||
|
await actions.locateUserMenuButton(page).click()
|
||
|
await test.expect(actions.locateUserMenu(page)).toHaveScreenshot()
|
||
|
})
|