Skip to content

Commit

Permalink
patch: passing url e2e ?
Browse files Browse the repository at this point in the history
  • Loading branch information
aethernet committed Apr 27, 2024
1 parent 6ae6f5c commit 62d3df2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"package": "electron-forge package",
"start": "electron-forge start",
"make": "electron-forge make",
"wdio": "xvfb-maybe wdio run ./wdio.conf.ts --exclude e2e ",
"wdio": "xvfb-maybe wdio run ./wdio.conf.ts --suite gui --suite shared",
"wdio-e2e": "xvfb-maybe wdio run ./wdio.conf.ts --suite e2e"
},
"husky": {
Expand Down
28 changes: 14 additions & 14 deletions wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,24 @@ export const config: Options.Testrunner = {
// The path of the spec files will be resolved relative from the directory of
// of the config file unless it's absolute.
//
// specs: ['./tests/**/*.spec.ts'],
specs: ['./tests/**/*.spec.ts'],
// Patterns to exclude.
// FIXME: Remove the following exclusions once the tests are ported to WDIO
// exclude: [
// './tests/gui/modules/image-writer.spec.ts',
// './tests/gui/os/window-progress.spec.ts',
// './tests/gui/models/available-drives.spec.ts',
// './tests/gui/models/flash-state.spec.ts',
// './tests/gui/models/selection-state.spec.ts',
// './tests/gui/models/settings.spec.ts',
// './tests/shared/drive-constraints.spec.ts',
// './tests/shared/messages.spec.ts',
// './tests/gui/modules/progress-status.spec.ts',
// ],
exclude: [
'./tests/gui/modules/image-writer.spec.ts',
'./tests/gui/os/window-progress.spec.ts',
'./tests/gui/models/available-drives.spec.ts',
'./tests/gui/models/flash-state.spec.ts',
'./tests/gui/models/selection-state.spec.ts',
'./tests/gui/models/settings.spec.ts',
'./tests/shared/drive-constraints.spec.ts',
'./tests/shared/messages.spec.ts',
'./tests/gui/modules/progress-status.spec.ts',
],

suites: {
// 'gui': ['./tests/gui/**/*.spec.ts'],
// 'shared': ['./tests/shared/**/*.spec.ts'],
'gui': ['./tests/gui/**/*.spec.ts'],
'shared': ['./tests/shared/**/*.spec.ts'],
'e2e': [
// 'tests/e2e/e2e-flash-from-file.spec.ts',
'./tests/e2e/e2e-flash-from-url.spec.ts',
Expand Down

0 comments on commit 62d3df2

Please sign in to comment.