* feat: Total ids on IESG dashboard * IESG I-D code comments * Using Robert's query forIESG dashboard total_ids * Hiding columns in later IESG Dashboard tables * Changing IESG dashboard var name to match column table * Updating IESG pre_pubreqquery * IESG dashboard prepub req safeParser and graphs * IESG dashboard fixing Playwright API usage * IESG dashboard fixing Playwright API usage (2) * Updating .gitignore for /geckodriver.log * IESG ad test title * feat: pages left to ballot on [WIP] * Adding geckodriver.log to gitignore * [WIP] pages left to ballot on * integrating pages left to ballot on WIP * Tests for ad pages remaining * Setting states to test ballot items * refactor ad_pages_left_to_ballot_on count logic * WIP tests for pages left to ballot on * chore: remove whitespace change * fix: look into the BallotPositionDocEventObject * chore: remove prints * fix: restructure test * style: fix js code styling * fix: only show graph for ADs/Secretariat --------- Co-authored-by: Matthew Holloway <Matthew Holloway> Co-authored-by: holloway <matthew@holloway.co.nz> Co-authored-by: Nicolas Giard <github@ngpixel.com> Co-authored-by: Matthew Holloway <matthew@staff.ietf.org>
27 lines
860 B
JavaScript
27 lines
860 B
JavaScript
const { test, expect } = require('@playwright/test')
|
|
const viewports = require('../../helpers/viewports')
|
|
|
|
// ====================================================================
|
|
// IESG Dashboard
|
|
// ====================================================================
|
|
|
|
test.describe('/doc/ad/', () => {
|
|
test.beforeEach(async ({ page }) => {
|
|
await page.setViewportSize({
|
|
width: viewports.desktop[0],
|
|
height: viewports.desktop[1]
|
|
})
|
|
|
|
await page.goto('/doc/ad/')
|
|
})
|
|
|
|
test('Pre pubreq', async ({ page }) => {
|
|
const tablesLocator = page.locator('table')
|
|
const tablesCount = await tablesLocator.count()
|
|
expect(tablesCount).toBeGreaterThan(0)
|
|
const firstTable = tablesLocator.nth(0)
|
|
const theadTexts = await firstTable.locator('thead').allInnerTexts()
|
|
expect(theadTexts.join('')).toContain('Pre pubreq')
|
|
})
|
|
})
|