feat(slice scrollbar): Integrate ViewportSliceProgressScrollbar with customizations and docs (#5960)
Co-authored-by: Dan Rukas <dan.rukas@gmail.com>
This commit is contained in:
1 parent
8a2fee4d8a
commit
8fc0dc16e9
46 files changed
+1730
-279
No files matched your search
+13
-1
@@ -1,4 +1,5 @@
|
||||
import { test as base } from 'playwright-test-coverage';
|
||||
import { addOHIFConfiguration } from './OHIFConfiguration';
|
||||
import {
|
||||
DOMOverlayPageObject,
|
||||
MainToolbarPageObject,
|
||||
@@ -17,7 +18,18 @@ type PageObjects = {
|
||||
notFoundStudyPageObject: NotFoundStudyPageObject;
|
||||
};
|
||||
|
||||
export const test = base.extend<PageObjects>({
|
||||
type TestFixtures = PageObjects & {
|
||||
_applyGlobalE2EOHIFBaseline: void;
|
||||
};
|
||||
|
||||
export const test = base.extend<TestFixtures>({
|
||||
_applyGlobalE2EOHIFBaseline: [
|
||||
async ({ page }, use) => {
|
||||
await addOHIFConfiguration(page, {});
|
||||
await use();
|
||||
},
|
||||
{ auto: true },
|
||||
],
|
||||
DOMOverlayPageObject: async ({ page }, use) => {
|
||||
await use(new DOMOverlayPageObject(page));
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user