@@ -18,7 +18,6 @@ import { test, expect, Page, type BrowserContext } from '@playwright/test';
1818import { Extensions } from './pages/extensions' ;
1919import { runAccessibilityTests } from './utils/accessibility' ;
2020import { ExtensionHelper } from './utils/helper' ;
21- import { skipIfLocales } from './utils/localeSkip' ;
2221import { ExtensionsMessages , getTranslations } from './utils/translations' ;
2322
2423/**
@@ -124,10 +123,10 @@ test.describe('Admin > Extensions', () => {
124123 test ( 'Verify support type filters in extensions' , async ( {
125124 browser : _browser ,
126125 } , testInfo ) => {
127- skipIfLocales (
128- testInfo ,
129- [ 'de' , 'es' ] ,
130- 'Missing badges in de/es - https://issues.redhat.com/browse/RHDHBUGS-2793 ' ,
126+ // Below can be removed after bug https://redhat.atlassian.net/browse/RHDHBUGS-2821 is fixed
127+ test . fixme (
128+ testInfo . project . name === 'es' || testInfo . project . name === 'de' ,
129+ 'Skip Spanish and German tests ' ,
131130 ) ;
132131 await extensions . selectDropdown ( `${ translations . search . supportType } ` ) ;
133132 await extensions . supportFilters ( ) ;
@@ -137,10 +136,10 @@ test.describe('Admin > Extensions', () => {
137136 test ( 'Verify certified badge in extensions' , async ( {
138137 browser : _browser ,
139138 } , testInfo ) => {
140- skipIfLocales (
141- testInfo ,
142- [ 'de' , 'es' ] ,
143- 'Missing badges in de/es - https://issues.redhat.com/browse/RHDHBUGS-2793 ' ,
139+ // Below can be removed after bug https://redhat.atlassian.net/browse/RHDHBUGS-2821 is fixed
140+ test . fixme (
141+ testInfo . project . name === 'es' || testInfo . project . name === 'de' ,
142+ 'Skip Spanish and German tests ' ,
144143 ) ;
145144 await extensions . selectDropdown ( `${ translations . search . supportType } ` ) ;
146145 await extensions . toggleOption ( translations . badges . certified ) ;
@@ -171,10 +170,10 @@ test.describe('Admin > Extensions', () => {
171170 test ( 'Verify Generally available badge in extensions' , async ( {
172171 browser : _browser ,
173172 } , testInfo ) => {
174- skipIfLocales (
175- testInfo ,
176- [ 'de' , 'es' ] ,
177- 'Missing badges in de/es - https://issues.redhat.com/browse/RHDHBUGS-2793 ' ,
173+ // Below can be removed after bug https://redhat.atlassian.net/browse/RHDHBUGS-2821 is fixed
174+ test . fixme (
175+ testInfo . project . name === 'es' || testInfo . project . name === 'de' ,
176+ 'Skip Spanish and German tests ' ,
178177 ) ;
179178 await extensions . selectSupportTypeFilter (
180179 translations . badges . generallyAvailable ,
@@ -208,10 +207,10 @@ test.describe('Admin > Extensions', () => {
208207 test ( 'Verify custom plugin badge in extensions' , async ( {
209208 browser : _browser ,
210209 } , testInfo ) => {
211- skipIfLocales (
212- testInfo ,
213- [ 'de' , 'es' ] ,
214- 'Missing badges in de/es - https://issues.redhat.com/browse/RHDHBUGS-2793 ' ,
210+ // Below can be removed after bug https://redhat.atlassian.net/browse/RHDHBUGS-2821 is fixed
211+ test . fixme (
212+ testInfo . project . name === 'es' || testInfo . project . name === 'de' ,
213+ 'Skip Spanish and German tests ' ,
215214 ) ;
216215 await extensions . selectSupportTypeFilter (
217216 translations . badges . customPlugin ,
@@ -238,10 +237,10 @@ test.describe('Admin > Extensions', () => {
238237 test ( 'Verify tech preview badge in extensions' , async ( {
239238 browser : _browser ,
240239 } , testInfo ) => {
241- skipIfLocales (
242- testInfo ,
243- [ 'de' , 'es' ] ,
244- 'Missing badges in de/es - https://issues.redhat.com/browse/RHDHBUGS-2793 ' ,
240+ // Below can be removed after bug https://redhat.atlassian.net/browse/RHDHBUGS-2821 is fixed
241+ test . fixme (
242+ testInfo . project . name === 'es' || testInfo . project . name === 'de' ,
243+ 'Skip Spanish and German tests ' ,
245244 ) ;
246245 await extensions . verifySupportTypeBadge ( {
247246 supportType : translations . badges . techPreview ,
@@ -255,11 +254,13 @@ test.describe('Admin > Extensions', () => {
255254 } ) ;
256255 } ) ;
257256
258- test ( 'Verify dev preview badge in extensions' , async ( { } , testInfo ) => {
259- skipIfLocales (
260- testInfo ,
261- [ 'de' , 'es' ] ,
262- 'Missing badges in de/es - https://issues.redhat.com/browse/RHDHBUGS-2793' ,
257+ test ( 'Verify dev preview badge in extensions' , async ( {
258+ browser : _browser ,
259+ } , testInfo ) => {
260+ // Below can be removed after bug https://redhat.atlassian.net/browse/RHDHBUGS-2821 is fixed
261+ test . fixme (
262+ testInfo . project . name === 'es' || testInfo . project . name === 'de' ,
263+ 'Skip Spanish and German tests' ,
263264 ) ;
264265 await extensions . selectSupportTypeFilter ( translations . badges . devPreview ) ;
265266 await extensionHelper . verifyHeading ( 'Extensions' ) ;
@@ -278,10 +279,10 @@ test.describe('Admin > Extensions', () => {
278279 test ( 'Verify community plugin badge in extensions' , async ( {
279280 browser : _browser ,
280281 } , testInfo ) => {
281- skipIfLocales (
282- testInfo ,
283- [ 'de' , 'es' ] ,
284- 'Missing badges in de/es - https://issues.redhat.com/browse/RHDHBUGS-2793 ' ,
282+ // Below can be removed after bug https://redhat.atlassian.net/browse/RHDHBUGS-2821 is fixed
283+ test . fixme (
284+ testInfo . project . name === 'es' || testInfo . project . name === 'de' ,
285+ 'Skip Spanish and German tests ' ,
285286 ) ;
286287 await extensions . selectSupportTypeFilter (
287288 translations . badges . communityPlugin ,
0 commit comments