From 2cf3e5de2e606eff9d1ff2920d733fc8e5c3868c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=BDeljko=20Filipin?= Date: Wed, 2 Oct 2024 11:50:18 +0200 Subject: [PATCH] selenium: Document when, how and why a test is skipped Bug: T280652 Change-Id: I8d9455341240df8517498f2cf7071c1950abc437 --- repo/tests/selenium/specs/item.js | 1 + repo/tests/selenium/specs/tainted-ref.js | 1 + 2 files changed, 2 insertions(+) diff --git a/repo/tests/selenium/specs/item.js b/repo/tests/selenium/specs/item.js index 79863dfdbb7..885acd4212a 100644 --- a/repo/tests/selenium/specs/item.js +++ b/repo/tests/selenium/specs/item.js @@ -70,6 +70,7 @@ describe( 'item', () => { await expect( $( `#${propertyId}` ) ).toExist(); } ); + // Skipped on 2023-08-16 in 949508 because of T343886 it.skip( 'old revisions do not have an edit link', async () => { const itemId = await WikibaseApi.createItem( Util.getTestString( 'T95406-' ) ); const item = await WikibaseApi.getEntity( itemId ); diff --git a/repo/tests/selenium/specs/tainted-ref.js b/repo/tests/selenium/specs/tainted-ref.js index ada4ab74916..e51710a85bf 100644 --- a/repo/tests/selenium/specs/tainted-ref.js +++ b/repo/tests/selenium/specs/tainted-ref.js @@ -36,6 +36,7 @@ describe( 'the Tainted icon', () => { } ); // Skipped because of frequent failures, see T266706 + // Skipped on 2023-12-15 in 983473 because of T266706 it.skip( 'should appear and disappear correctly', async () => { await ItemPage.open( itemId );