-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(browser): rename none provider to preview, make it default (#5826)
- Loading branch information
1 parent
fe3190d
commit 1831008
Showing
12 changed files
with
24 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ export default defineConfig({ | |
browser: { | ||
enabled: true, | ||
name: 'chrome', | ||
provider: 'webdriverio', | ||
}, | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import type { BrowserProvider } from 'vitest/node' | ||
import type { BrowserProviderModule } from 'vitest/node' | ||
|
||
declare const webdriverio: BrowserProvider | ||
declare const playwright: BrowserProvider | ||
declare const none: BrowserProvider | ||
declare const webdriverio: BrowserProviderModule | ||
declare const playwright: BrowserProviderModule | ||
declare const preview: BrowserProviderModule | ||
|
||
export { webdriverio, playwright, none } | ||
export { webdriverio, playwright, preview } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { PlaywrightBrowserProvider } from './playwright' | ||
import { WebdriverBrowserProvider } from './webdriver' | ||
import { NoneBrowserProvider } from './none' | ||
import { PreviewBrowserProvider } from './preview' | ||
|
||
export const webdriverio = WebdriverBrowserProvider | ||
export const playwright = PlaywrightBrowserProvider | ||
export const none = NoneBrowserProvider | ||
export const preview = PreviewBrowserProvider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,6 @@ export default defineConfig({ | |
provider, | ||
name, | ||
headless: true, | ||
fileParallelism: false, | ||
}, | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ export default defineConfig({ | |
browser: { | ||
headless: true, | ||
name: 'chrome', | ||
provider: 'webdriverio', | ||
}, | ||
}, | ||
}) |