File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { expect , test } from '@playwright/test' ;
2
2
// @ts -expect-error - required for playwright
3
- import { getDefaultScreenshotTest , runAriaSnapshotTest } from '../default.ts' ;
3
+ import {
4
+ getDefaultScreenshotTest ,
5
+ isAngular ,
6
+ isVue ,
7
+ runAriaSnapshotTest
8
+ } from '../default.ts' ;
4
9
5
10
const path = '04/tabs' ;
11
+ const showcase = process . env . showcase ;
6
12
7
13
test . describe ( 'DBTabs' , ( ) => {
8
14
getDefaultScreenshotTest ( {
@@ -14,11 +20,11 @@ test.describe('DBTabs', () => {
14
20
if (
15
21
( project . name === 'webkit' ||
16
22
project . name === 'mobile_safari' ) &&
17
- process . env . showcase . startsWith ( 'vue' )
23
+ ( isAngular ( showcase ) || isVue ( showcase ) )
18
24
) {
19
25
// There is a bug in webkit where the scroll buttons are not visible 50% of the time
20
26
// Probably due to the scrollWidth or clientWidth not being calculated correctly
21
- // Only in Vue
27
+ // Only in Vue and Angular
22
28
// TODO: Investigate further
23
29
test . skip ( ) ;
24
30
}
You can’t perform that action at this time.
0 commit comments