11import { test } from '@fixtures'
22import { expect } from '@services/expect-decorator'
33import { PortalPage } from '@portal/pages/PortalPage'
4- import { SHORT_EXPECT , SHORT_TIMEOUT , TICKET_BASE_URL } from '@test-setup'
4+ import { OUTDATED_NOTIFICATION_FLAKY_TEST_ANNOTATION , SHORT_EXPECT , SHORT_TIMEOUT , TICKET_BASE_URL } from '@test-setup'
55import { VERSION_OPERATIONS_TAB_REST } from '@portal/entities'
66import { D_REV_VAR , V_P_DSH_REV_1_N } from '@test-data/portal'
77
@@ -12,8 +12,11 @@ test.describe('13.1.2.2 Dashboard revisions (Outdated revision notification)', (
1212
1313 test ( '[P-CODR-3.1] Outdated revision notification on the "Operations" tab' ,
1414 {
15- tag : '@smoke' ,
16- annotation : { type : 'Test Case' , description : `${ TICKET_BASE_URL } TestCase-A-8423` } ,
15+ tag : [ '@smoke' , '@flaky' ] ,
16+ annotation : [
17+ { type : 'Test Case' , description : `${ TICKET_BASE_URL } TestCase-A-8423` } ,
18+ { type : 'Flaky' , description : OUTDATED_NOTIFICATION_FLAKY_TEST_ANNOTATION } ,
19+ ] ,
1720 } ,
1821 async ( { sysadminPage : page , apihubTDM } ) => {
1922
@@ -56,9 +59,12 @@ test.describe('13.1.2.2 Dashboard revisions (Outdated revision notification)', (
5659
5760 test . skip ( '[P-CODR-3.2] Outdated revision notification on the "API Changes" tab' ,
5861 {
62+ tag : [ '@flaky' ] ,
5963 annotation : [
6064 { type : 'Test Case' , description : `${ TICKET_BASE_URL } TestCase-A-8423` } ,
61- { type : 'Issue' , description : `${ TICKET_BASE_URL } TestCase-B-977` } ] ,
65+ { type : 'Issue' , description : `${ TICKET_BASE_URL } TestCase-B-977` } ,
66+ { type : 'Flaky' , description : OUTDATED_NOTIFICATION_FLAKY_TEST_ANNOTATION } ,
67+ ] ,
6268 } ,
6369 async ( { sysadminPage : page , apihubTDM } ) => {
6470
@@ -101,9 +107,12 @@ test.describe('13.1.2.2 Dashboard revisions (Outdated revision notification)', (
101107
102108 test . skip ( '[P-CODR-3.3] Outdated revision notification on the "Deprecated" tab' ,
103109 {
110+ tag : [ '@flaky' ] ,
104111 annotation : [
105112 { type : 'Test Case' , description : `${ TICKET_BASE_URL } TestCase-A-8423` } ,
106- { type : 'Issue' , description : `${ TICKET_BASE_URL } TestCase-B-976` } ] ,
113+ { type : 'Issue' , description : `${ TICKET_BASE_URL } TestCase-B-976` } ,
114+ { type : 'Flaky' , description : OUTDATED_NOTIFICATION_FLAKY_TEST_ANNOTATION } ,
115+ ] ,
107116 } ,
108117 async ( { sysadminPage : page , apihubTDM } ) => {
109118
@@ -146,7 +155,11 @@ test.describe('13.1.2.2 Dashboard revisions (Outdated revision notification)', (
146155
147156 test ( '[P-CODR-3.4] Outdated revision notification on the "Documents" tab' ,
148157 {
149- annotation : { type : 'Test Case' , description : `${ TICKET_BASE_URL } TestCase-A-8423` } ,
158+ tag : [ '@flaky' ] ,
159+ annotation : [
160+ { type : 'Test Case' , description : `${ TICKET_BASE_URL } TestCase-A-8423` } ,
161+ { type : 'Flaky' , description : OUTDATED_NOTIFICATION_FLAKY_TEST_ANNOTATION } ,
162+ ] ,
150163 } ,
151164 async ( { sysadminPage : page , apihubTDM } ) => {
152165
@@ -189,7 +202,11 @@ test.describe('13.1.2.2 Dashboard revisions (Outdated revision notification)', (
189202
190203 test ( '[P-CODR-3.5] Outdated revision notification on the "Overview" tab' ,
191204 {
192- annotation : { type : 'Test Case' , description : `${ TICKET_BASE_URL } TestCase-A-8423` } ,
205+ tag : [ '@flaky' ] ,
206+ annotation : [
207+ { type : 'Test Case' , description : `${ TICKET_BASE_URL } TestCase-A-8423` } ,
208+ { type : 'Flaky' , description : OUTDATED_NOTIFICATION_FLAKY_TEST_ANNOTATION } ,
209+ ] ,
193210 } ,
194211 async ( { sysadminPage : page , apihubTDM } ) => {
195212
@@ -242,8 +259,11 @@ test.describe('13.1.2.2 Dashboard revisions (Outdated revision notification)', (
242259
243260 test ( '[P-CODR-3.6] Outdated revision notification on the "Settings" page' ,
244261 {
245- tag : '@smoke' ,
246- annotation : { type : 'Test Case' , description : `${ TICKET_BASE_URL } TestCase-A-8423` } ,
262+ tag : [ '@smoke' , '@flaky' ] ,
263+ annotation : [
264+ { type : 'Test Case' , description : `${ TICKET_BASE_URL } TestCase-A-8423` } ,
265+ { type : 'Flaky' , description : OUTDATED_NOTIFICATION_FLAKY_TEST_ANNOTATION } ,
266+ ] ,
247267 } ,
248268 async ( { sysadminPage : page , apihubTDM } ) => {
249269
@@ -268,8 +288,11 @@ test.describe('13.1.2.2 Dashboard revisions (Outdated revision notification)', (
268288
269289 test ( '[P-CODR-3.7] Outdated revision notification on the "Comparison" page' ,
270290 {
271- tag : '@smoke' ,
272- annotation : { type : 'Test Case' , description : `${ TICKET_BASE_URL } TestCase-A-8423` } ,
291+ tag : [ '@smoke' , '@flaky' ] ,
292+ annotation : [
293+ { type : 'Test Case' , description : `${ TICKET_BASE_URL } TestCase-A-8423` } ,
294+ { type : 'Flaky' , description : OUTDATED_NOTIFICATION_FLAKY_TEST_ANNOTATION } ,
295+ ] ,
273296 } ,
274297 async ( { sysadminPage : page , apihubTDM } ) => {
275298
0 commit comments