зеркало из https://github.com/github/docs.git
lump Playwright tests about nav in different viewports (#37121)
This commit is contained in:
Родитель
d562087c45
Коммит
8d9ce669ce
|
@ -221,6 +221,7 @@ test('hovercards', async ({ page }) => {
|
|||
await expect(page.getByText("This page doesn't really have an intro")).toBeVisible()
|
||||
})
|
||||
|
||||
test.describe('test nav at different viewports', () => {
|
||||
test('x-large viewports - 1280+', async ({ page }) => {
|
||||
page.setViewportSize({
|
||||
width: 1300,
|
||||
|
@ -351,6 +352,7 @@ test('small viewports - 544-767', async ({ page }) => {
|
|||
await page.getByTestId('sidebar-hamburger').click()
|
||||
await expect(page.getByTestId('sidebar-product-dialog')).toBeVisible()
|
||||
})
|
||||
})
|
||||
|
||||
test.describe('survey', () => {
|
||||
test('happy path, thumbs up and enter email', async ({ page }) => {
|
||||
|
|
Загрузка…
Ссылка в новой задаче