mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Unskip dashboard and dashboard panel a11y tests (#115102)
This commit is contained in:
parent
eb2b886a39
commit
c12554b7a6
4 changed files with 8 additions and 7 deletions
|
@ -15,8 +15,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
const testSubjects = getService('testSubjects');
|
||||
const listingTable = getService('listingTable');
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/105171
|
||||
describe.skip('Dashboard', () => {
|
||||
describe('Dashboard', () => {
|
||||
const dashboardName = 'Dashboard Listing A11y';
|
||||
const clonedDashboardName = 'Dashboard Listing A11y Copy';
|
||||
|
||||
|
|
|
@ -14,8 +14,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
const testSubjects = getService('testSubjects');
|
||||
const inspector = getService('inspector');
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/112920
|
||||
describe.skip('Dashboard Panel', () => {
|
||||
describe('Dashboard Panel', () => {
|
||||
before(async () => {
|
||||
await PageObjects.common.navigateToApp('dashboard');
|
||||
await testSubjects.click('dashboardListingTitleLink-[Flights]-Global-Flight-Dashboard');
|
||||
|
|
|
@ -92,8 +92,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
await PageObjects.discover.saveCurrentSavedQuery();
|
||||
});
|
||||
|
||||
// issue - https://github.com/elastic/kibana/issues/78488
|
||||
it.skip('a11y test on saved queries list panel', async () => {
|
||||
it('a11y test on saved queries list panel', async () => {
|
||||
await PageObjects.discover.clickSavedQueriesPopOver();
|
||||
await testSubjects.moveMouseTo(
|
||||
'saved-query-list-item load-saved-query-test-button saved-query-list-item-selected saved-query-list-item-selected'
|
||||
|
|
|
@ -13,6 +13,7 @@ export class HomePageObject extends FtrService {
|
|||
private readonly retry = this.ctx.getService('retry');
|
||||
private readonly find = this.ctx.getService('find');
|
||||
private readonly common = this.ctx.getPageObject('common');
|
||||
private readonly log = this.ctx.getService('log');
|
||||
|
||||
async clickSynopsis(title: string) {
|
||||
await this.testSubjects.click(`homeSynopsisLink${title}`);
|
||||
|
@ -27,7 +28,10 @@ export class HomePageObject extends FtrService {
|
|||
}
|
||||
|
||||
async isSampleDataSetInstalled(id: string) {
|
||||
return !(await this.testSubjects.exists(`addSampleDataSet${id}`));
|
||||
const sampleDataCard = await this.testSubjects.find(`sampleDataSetCard${id}`);
|
||||
const sampleDataCardInnerHTML = await sampleDataCard.getAttribute('innerHTML');
|
||||
this.log.debug(sampleDataCardInnerHTML);
|
||||
return sampleDataCardInnerHTML.includes('removeSampleDataSet');
|
||||
}
|
||||
|
||||
async isWelcomeInterstitialDisplayed() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue